Commit Graph

1913 Commits

Author SHA1 Message Date
sebalix
7126853d88 [FIX] stock_move_location: fix the 'group_lines()' method
A recordset object is not reliable enough to use as a key for the
built-in 'sorted' and 'itertools.groupby' functions (sometimes it works,
sometimes not).
Using the ID of the record (here the product ID) can fix the problem, but the
'group_lines()' has been totally rewritten for a simpler implementation without
any use of 'sorted' or 'itertools.groupby' functions to group the wizard lines
by product: an iteration on lines to fill a dictionary does the job.
2022-11-13 20:54:44 -05:00
sebalix
c2da01f104 [11.0][MIG] stock_move_location: fixing/improving code + add a roadmap
for further improvements
2022-11-13 20:54:44 -05:00
mpanarin
9468aafada prevent user from creating lots from the wizard 2022-11-13 20:54:44 -05:00
mpanarin
3b93ab98be [IMP] refactor to use pickings instead of inventories 2022-11-13 20:54:44 -05:00
mpanarin
5ddc5ad5b9 [MIG] 11.0 stock_move_location 2022-11-13 20:54:44 -05:00
Mathieu Vatel
bc165ae2fb [ADD] stock_move_location 2022-11-13 20:54:44 -05:00
Pierrick Brun
305ab9e641 [MIG] scrap_reason_code: Migration to 16.0 2022-11-09 12:09:44 +01:00
Pierrick Brun
329c8bc854 [IMP] scrap_reason_code: black, isort, prettier 2022-11-09 10:51:37 +01:00
OCA-git-bot
e311e0f35c scrap_reason_code 15.0.1.0.1 2022-11-09 10:51:37 +01:00
OCA-git-bot
aa2e730730 [UPD] README.rst 2022-11-09 10:51:37 +01:00
oca-ci
2e8512f23e [UPD] Update scrap_reason_code.pot 2022-11-09 10:51:37 +01:00
hda
fb0deb2069 [MIG] scrap_reason_code: Migration to 15.0 2022-11-09 10:51:37 +01:00
OCA-git-bot
37faa36880 scrap_reason_code 14.0.1.0.1 2022-11-09 10:51:37 +01:00
Patrick Wilson
0ee1f13ece [IMP] scrap_reason_code: Moved common code to own method 2022-11-09 10:51:37 +01:00
Patrick Wilson
2932637c38 [IMP] scrap_reason_code: Added Test Coverage 2022-11-09 10:51:37 +01:00
Bhavesh Odedra
b73ab16bdf [IMP] reason code location set as a scrap location if set 2022-11-09 10:51:37 +01:00
David Alonso (Solvos)
17200e336f Added translation using Weblate (Spanish) 2022-11-09 10:51:37 +01:00
Rémi
0127063188 Added translation using Weblate (French) 2022-11-09 10:51:37 +01:00
OCA-git-bot
6f445812ad [UPD] README.rst 2022-11-09 10:47:18 +01:00
oca-travis
a35f43fd8b [UPD] Update scrap_reason_code.pot 2022-11-09 10:47:18 +01:00
Chandresh Thakkar
3617b636c7 [MIG] Module migrated in v14. 2022-11-09 10:47:18 +01:00
OCA-git-bot
5919646101 [UPD] README.rst 2022-11-09 10:47:18 +01:00
oca-travis
e02163d5f2 [UPD] Update scrap_reason_code.pot 2022-11-09 10:47:18 +01:00
Bhavesh Odedra
fb0b08c270 [ADD] migration script, change model name from reason.code to scrap.reason.code 2022-11-09 10:47:18 +01:00
OCA-git-bot
d869699f1c pre-commit update 2022-11-09 10:47:18 +01:00
OCA-git-bot
593d340afc [UPD] README.rst 2022-11-09 10:47:18 +01:00
oca-travis
eac9276cad [UPD] Update scrap_reason_code.pot 2022-11-09 10:47:18 +01:00
Khalid
573d589efd [MIG] scrap_reason_code from v11 to v13 2022-11-09 10:47:18 +01:00
Bhavesh Odedra
8b173e868f Scrap reason code module 2022-11-09 10:47:18 +01:00
Thierry Ducrest
7a62f663ee [MIG] stock_packaging_calculator: Migration to 16.0 2022-11-08 11:22:32 +01: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
Weblate
e661818253 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_warehouse_calendar
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_warehouse_calendar/
2022-11-04 16:20:31 +00:00
Weblate
5365338c93 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_location_product_restriction
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_location_product_restriction/
2022-11-04 16:20:31 +00:00
OCA-git-bot
cf9e54aeb8 [ADD] setup.py 2022-11-04 16:12:50 +00:00
OCA-git-bot
80f02e5ab5 [UPD] README.rst 2022-11-04 16:12:50 +00:00
OCA-git-bot
ab7c01a49d [UPD] addons table in README.md 2022-11-04 16:12:49 +00:00
oca-ci
3f0f63fdcd [UPD] Update stock_warehouse_calendar.pot 2022-11-04 16:10:30 +00:00
OCA-git-bot
cc69926ff5 Merge PR #1501 into 16.0
Signed-off-by sebalix
2022-11-04 16:08:27 +00:00