Merge pull request #3489 from expsa/doamin-filter-incoming-transactions
fixing outgoing transaction
This commit is contained in:
commit
af1d7f85ea
|
|
@ -122,7 +122,8 @@ class Transaction(models.Model):
|
|||
def default_employee_id(self):
|
||||
user = self.env.user
|
||||
em = self.env['cm.entity'].search([('user_id', '=', user.id)], limit=1)
|
||||
return len(em) and em or self.env['cm.entity']
|
||||
#return len(em) and em or self.env['cm.entity']
|
||||
return em
|
||||
|
||||
def compute_receive_id(self):
|
||||
for rec in self:
|
||||
|
|
|
|||
Loading…
Reference in New Issue