mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
[MIG] stock_picking_product_kit_helper: Migration to 14.0
This commit is contained in:
@@ -34,6 +34,8 @@ class StockPicking(models.Model):
|
||||
for line in picking.move_lines.mapped("sale_line_id")
|
||||
):
|
||||
picking.has_product_kit = True
|
||||
else:
|
||||
picking.has_product_kit = False
|
||||
|
||||
def show_product_kit(self):
|
||||
"""Find move_lines with product kit to create helper line."""
|
||||
|
||||
Reference in New Issue
Block a user