[FIX] point_of_sale: Remove wrong decorator
Follow-up on 118190f
Remove the wrong decorator from the write method.
closes odoo/odoo#45878
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
This commit is contained in:
@@ -647,7 +647,6 @@ class PosOrderLine(models.Model):
|
||||
values['name'] = self.env['ir.sequence'].next_by_code('pos.order.line')
|
||||
return super(PosOrderLine, self).create(values)
|
||||
|
||||
@api.model
|
||||
def write(self, values):
|
||||
if values.get('pack_lot_line_ids'):
|
||||
for pl in values.get('pack_lot_ids'):
|
||||
|
||||
Reference in New Issue
Block a user