From fe4148cd0f70b8c8bfe05ada47391971b241b0a1 Mon Sep 17 00:00:00 2001 From: Arnaud Pineux Date: Tue, 24 Jan 2023 17:47:17 +0100 Subject: [PATCH] [FIX] pos_product_pack: pack_parent_line_id is not necessary on the pos.order.line --- pos_product_pack/models/pos_order_line.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pos_product_pack/models/pos_order_line.py b/pos_product_pack/models/pos_order_line.py index 7ebfa830..053544f9 100644 --- a/pos_product_pack/models/pos_order_line.py +++ b/pos_product_pack/models/pos_order_line.py @@ -7,14 +7,6 @@ class PosOrderLine(models.Model): _inherit = "pos.order.line" - pack_parent_line_id = fields.Many2one( - "pos.order.line", - "Pack", - help="The pack that contains this product.", - ) - pack_child_line_ids = fields.One2many( - "pos.order.line", "pack_parent_line_id", "Lines in pack" - ) pack_line_id = fields.Many2one( comodel_name="product.pack.line", )