diff options
| author | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-02-22 18:21:27 +0000 |
|---|---|---|
| committer | Swapnesh Shah <swapneshshah111@gmail.com> | 2020-02-22 18:21:37 +0000 |
| commit | 129ce92f2d00a65985d1df29bd0695da0da0c98c (patch) | |
| tree | bf378b3d98dac38a63fc3d04acb267289be2cc41 | |
| parent | 6edc77941f9b88ca979fff034ac6fe6692a0e5e3 (diff) | |
[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>
| -rw-r--r-- | addons/point_of_sale/models/pos_order.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/point_of_sale/models/pos_order.py b/addons/point_of_sale/models/pos_order.py index 42a304f9d76..9c45e5aa64a 100644 --- a/addons/point_of_sale/models/pos_order.py +++ b/addons/point_of_sale/models/pos_order.py @@ -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'): |
