transaction approve
This commit is contained in:
parent
f496ccdc03
commit
74c22c4930
|
|
@ -222,6 +222,9 @@ class InternalTransaction(models.Model):
|
||||||
employee = self.current_employee()
|
employee = self.current_employee()
|
||||||
|
|
||||||
to_id = self.to_ids.id
|
to_id = self.to_ids.id
|
||||||
|
if self.to_ids.type == 'employee':
|
||||||
|
self.forward_user_id = self.to_ids.user_id.id
|
||||||
|
|
||||||
if self.to_ids.type != 'employee':
|
if self.to_ids.type != 'employee':
|
||||||
to_id = self.to_ids.secretary_id.id
|
to_id = self.to_ids.secretary_id.id
|
||||||
self.forward_user_id = self.to_ids.manager_id.user_id
|
self.forward_user_id = self.to_ids.manager_id.user_id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue