OCA / stock-logistics-availability

This repository contains modules to provide more information about product stock availability in terms of quantities (immediately usable, potential, unreserved ones, ...).
GNU Affero General Public License v3.0
7 stars 38 forks source link

[16.0][FIX] stock_available_mrp: variant BoMs #17

Open danielduqma opened 10 months ago

danielduqma commented 10 months ago

When a BoM is linked just to one variant through field product_id, it is taken in account when computing stock of the rest of variants of the same template.

AFAIK, there are two ways to link a BoM to a specific variant:

The first one works right, but the second one can make a variant take in account a BoM that is linked to another variant of its template, so stock computations are not right.

github-actions[bot] commented 2 weeks ago

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.