minor fix

This commit is contained in:
wilson gomez 2021-12-02 14:50:17 -05:00
parent de0665bc97
commit 21dbd046f1
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ class Booking(Workflow, ModelSQL, ModelView):
('type', '=', 'revenue'),
], limit=1)
address = Party.address_get(party, type='invoice')
address = party.address_get(type='invoice')
payment_term = data.get('payment_term', None)
if not payment_term:
payment_terms = PaymentTerm.search([])