[FIX] lunch: write function is multi
OPW 1912897 closes odoo/odoo#29281
This commit is contained in:
@@ -198,7 +198,7 @@ class LunchOrderLine(models.Model):
|
||||
res.with_context(lunch_date=res.order_id.date)._check_supplier_availibility()
|
||||
return res
|
||||
|
||||
@api.model
|
||||
@api.multi
|
||||
def write(self, vals):
|
||||
""" Override as an onchange would not apply if using the history buttons """
|
||||
res = super(LunchOrderLine, self).write(vals)
|
||||
|
||||
Reference in New Issue
Block a user