Skip to content

Commit

Permalink
[IMP] stock_replenishment_kits_qty: Improve depends
Browse files Browse the repository at this point in the history
  • Loading branch information
unaiberis authored and anajuaristi committed Nov 6, 2024
1 parent b13cc73 commit 5a9d95c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def _compute_qty_in_kits(self):
product = orderpoint.product_id
qty_in_kits = 0.0

product.product_tmpl_id._compute_basket_lines()
product.product_tmpl_id._compute_count_component_kit()

for bom_line in product.basket_lines:
parent_product_tmpl = bom_line.bom_id.product_tmpl_id

Expand Down

0 comments on commit 5a9d95c

Please sign in to comment.