[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:
Swapnesh Shah
2020-02-22 18:21:37 +00:00
parent 6edc77941f
commit 129ce92f2d
-1
View File
@@ -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'):