Skip to content

Commit

Permalink
Merge PR OCA#1977 into 12.0
Browse files Browse the repository at this point in the history
Signed-off-by dreispt
  • Loading branch information
OCA-git-bot committed May 10, 2024
2 parents 220bc44 + 4780f6a commit 2170aa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sale_order_lot_selection/models/sale.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ class SaleOrderLine(models.Model):
@api.multi
@api.onchange('product_id')
def product_id_change(self):
super(SaleOrderLine, self).product_id_change()
result = super(SaleOrderLine, self).product_id_change()
self.lot_id = False
return result

@api.onchange('product_id')
def _onchange_product_id_set_lot_domain(self):
Expand Down

0 comments on commit 2170aa6

Please sign in to comment.