Commit Graph

16 Commits

Author SHA1 Message Date
OCA-git-bot
ce936f7b85 stock_helper 16.0.1.0.1 2022-11-14 09:34:24 +00:00
OCA-git-bot
06fb1797ae [UPD] README.rst 2022-11-14 09:34:23 +00:00
oca-ci
cc8914d268 [UPD] Update stock_helper.pot 2022-11-14 09:31:47 +00:00
Laurent Mignon (ACSONE)
3332bd22db [MIG] stock_helper: Migration to 16.0 2022-11-07 15:03:02 +01:00
OCA-git-bot
7284b0a432 [UPD] README.rst 2022-11-07 13:35:50 +01:00
oca-ci
b2084e9504 [UPD] Update stock_helper.pot 2022-11-07 13:35:50 +01:00
Christopher Ormaza
e677438505 [15.0][MIG] stock_helper 2022-11-07 13:35:50 +01:00
OCA-git-bot
0a1cb2cb37 [UPD] README.rst 2022-11-07 13:35:50 +01:00
oca-travis
74bfef9f12 [UPD] Update stock_helper.pot 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
OCA-git-bot
2beec07044 [ADD] icon.png 2022-11-07 13:35:50 +01:00
OCA-git-bot
933ccbcc22 [UPD] README.rst 2022-11-07 13:35:50 +01:00
oca-travis
e20f8e544d [UPD] Update stock_helper.pot 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