Commit Graph

8 Commits

Author SHA1 Message Date
OCA-git-bot
c282fb3518 stock_helper 16.0.1.1.0 2023-04-26 07:39:53 +00:00
OCA-git-bot
ce936f7b85 stock_helper 16.0.1.0.1 2022-11-14 09:34:24 +00:00
Laurent Mignon (ACSONE)
3332bd22db [MIG] stock_helper: Migration to 16.0 2022-11-07 15:03:02 +01:00
Christopher Ormaza
e677438505 [15.0][MIG] stock_helper 2022-11-07 13:35:50 +01:00
davidborromeo
5d30c32f79 [MIG] stock_helper: Migration to 14.0 2022-11-07 13:35:50 +01:00
OCA-git-bot
91507c2a52 stock_helper 13.0.1.1.0 2022-11-07 13:35:50 +01:00
Guewen Baconnier
773529b6d1 Apply suggestions from code review
Co-authored-by: Simone Orsi <simahawk@users.noreply.github.com>
2022-11-07 13:35:50 +01:00
Guewen Baconnier
1e6f433922 Add stock_helper: share common code used by stock modules
The first method is: StockLocation.is_sublocation_of()

This method is currently used in:

* wms/stock_dynamic_routing
* wms/shopfloor
* wms/stock_move_source_relocate
* stock-logistics-warehouse/stock_reserve_rule
* ddmrp/ddmrp

The goal will be to use this module as dependency instead of
reimplementing the method in each.

Other methods should follow in "stock_helper".

Note: I opened https://github.com/odoo/odoo/pull/53866 to propose a
generic version of this method, expecting odoo's opinion, but got no
answer.
2022-11-07 13:35:50 +01:00