Fix setup.py

This commit is contained in:
?ngel ?lvarez 2019-02-19 08:37:38 +00:00
commit e1ec91c741
1 changed files with 2 additions and 2 deletions

View File

@ -152,9 +152,9 @@ class Invoice:
_check_access=False):
party = Party(self.company.party)
if self.type == 'out':
return party.account_payable
return party.account_payable_used
else:
return party.account_receivable
return party.account_receivable_used
@property
def intercompany_type(self):