Skip to content

Commit

Permalink
Merge e74f7a1 into da5b224
Browse files Browse the repository at this point in the history
  • Loading branch information
marinaGD committed Feb 6, 2019
2 parents da5b224 + e74f7a1 commit bce0807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion account_group_invoices/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def _get_fpos_journal(self, inv):
company = inv['company']
fpos_id = journal_id = False

if 'fpos' in inv:
if 'fpos' in inv and inv['fpos']:
fpos_id = afp.browse(inv['fpos'])
else:
fpos_id = inv['partner'].with_context(
Expand Down

0 comments on commit bce0807

Please sign in to comment.