Merge lp:~numerigraphe-team/stock-logistic-warehouse/7.0-add-stock-available into lp:stock-logistic-warehouse
Status: | Rejected |
---|---|
Rejected by: | Pedro Manuel Baeza |
Proposed branch: | lp:~numerigraphe-team/stock-logistic-warehouse/7.0-add-stock-available |
Merge into: | lp:stock-logistic-warehouse |
Diff against target: |
549 lines (+299/-129) 10 files modified
configurable_stock_level/product.py (+1/-1) stock_available/__init__.py (+24/-0) stock_available/__openerp__.py (+42/-0) stock_available/product.py (+125/-0) stock_available/product_view.xml (+15/-13) stock_available/res_config.py (+34/-0) stock_available/res_config_view.xml (+25/-0) stock_available_immediately/__openerp__.py (+18/-13) stock_available_immediately/product.py (+14/-101) stock_inventory_existing_lines/stock.py (+1/-1) |
To merge this branch: | bzr merge lp:~numerigraphe-team/stock-logistic-warehouse/7.0-add-stock-available |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexandre Fayolle - camptocamp | Needs Resubmitting | ||
Sébastien BEAU - http://www.akretion.com | Pending | ||
Guewen Baconnier @ Camptocamp | Pending | ||
Laurent Mignon (Acsone) | Pending | ||
Review via email: mp+220758@code.launchpad.net |
Description of the change
Add a generic module to compute the stock quantity available to promise using several implementations and make stock_available
stock_available
The field name "immediately_
By default function fields are not very modular (you need to redefine the whole field to override the method). stock_available takes care of this by making the function fields call the pool instead, so that stock_available
The new module also has a context trick that lets it return the value of the stock available to promise in the field "virtual stock". This lets future sub-modules change the behavior of modules that were written to use the virtual stock, to use the new value instead with minimal impact.
Module Co-authored by Loïc Bellier and your humble servant.
Unmerged revisions
- 37. By Numérigraphe
-
[MERGE] merge an unrelated fix regarding the UoM precision, to avoid conflicts
- 36. By Numérigraphe
-
[IMP] Change category to 'warehouse'
- 35. By Numérigraphe
-
[ADD] stock_available: generic module to compute the stock quantity available to promise using several implementations. Make stock_available
_immediatly the first configurable implementation
The source code management for this project has been moved to https:/ /github. com/OCA/ stock-logistics -warehouse
Could you resubmit this MP on the new site?