Skip to content

Commit

Permalink
[FIX] pos_product_pack: pack_parent_line_id is not necessary on the p…
Browse files Browse the repository at this point in the history
…os.order.line
  • Loading branch information
apineux committed Jan 24, 2023
1 parent 2daffe9 commit fe4148c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pos_product_pack/models/pos_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)

0 comments on commit fe4148c

Please sign in to comment.