Skip to content

Commit

Permalink
fixup! Merge branch '10.0-add-sale_order_type_trigger' of github.com:…
Browse files Browse the repository at this point in the history
…SimoRubi/sale-workflow into 10.0-add-sale_order_type_trigger
  • Loading branch information
SimoRubi committed Nov 27, 2018
1 parent 00844c7 commit 1d1076f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_order_type/models/account_invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _onchange_partner_id(self):
@api.onchange('sale_type_id')
def onchange_sale_type_id(self):
if self.sale_type_id.payment_term_id:
self.payment_term = self.sale_type_id.payment_term_id.id
self.payment_term_id = self.sale_type_id.payment_term_id.id
if self.sale_type_id.journal_id:
self.journal_id = self.sale_type_id.journal_id.id

Expand Down

0 comments on commit 1d1076f

Please sign in to comment.