Skip to content

Commit

Permalink
Merge pull request #355 from adhoc-dev/9.0-fix-sale-order-type
Browse files Browse the repository at this point in the history
FIX onchange_type_id
  • Loading branch information
pedrobaeza authored Nov 21, 2016
2 parents e637ecf + fe5867a commit 6854dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sale_order_type/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def onchange_type_id(self):
self.warehouse_id = self.type_id.warehouse_id
self.picking_policy = self.type_id.picking_policy
if self.type_id.payment_term_id:
self.payment_term = self.type_id.payment_term_id.id
self.payment_term_id = self.type_id.payment_term_id.id
if self.type_id.pricelist_id:
self.pricelist_id = self.type_id.pricelist_id.id
if self.type_id.incoterm_id:
Expand Down

0 comments on commit 6854dae

Please sign in to comment.