Commit Graph

404 Commits

Author SHA1 Message Date
Simone Orsi
35cfc4c6ef s_packaging_calculator: improve test util
This way no matter who's changing the behavior of the name getter
we'll get the right name.
2024-06-10 14:50:49 +07:00
Simone Orsi
6134dd47fb s_packaging_calculator: include units when units only on demand 2024-06-10 14:50:49 +07:00
Simone Orsi
d9dce661ed s_packaging_calculator: contained mapping depends on lang
Otherwise translations won't be taken into account.
2024-06-10 14:50:49 +07:00
Simone Orsi
9f0984f354 s_packaging_calculator: add handy mixin
This mixin can be used to provide qty by packaging features
to any model.
2024-06-10 14:50:49 +07:00
Simone Orsi
d883283b28 s_packaging_calculator: add product_qty_by_packaging_as_str
Retrieve quickly packagin bty qty as a string.
2024-06-10 14:50:49 +07:00
Simone Orsi
20c1fc9099 s_packaging_calculator: ease override of packaging name 2024-06-10 14:50:49 +07:00
Simone Orsi
9976cabe5b s_packaging_calculator: include barcode 2024-06-10 14:50:49 +07:00
OCA-git-bot
1580d8e78f stock_packaging_calculator 14.0.1.0.1 2024-06-10 14:50:49 +07:00
Sébastien BEAU
9c3c1bd108 [MIG] stock_packaging_calculator: Migration to 14.0 2024-06-10 14:50:49 +07:00
Sébastien BEAU
a989a1e429 [IMP] stock_packaging_calculator: black, isort, prettier 2024-06-10 14:50:49 +07:00
OCA-git-bot
7f2bb55151 stock_packaging_calculator 13.0.1.6.0 2024-06-10 14:50:49 +07:00
Simone Orsi
90bab81864 packaging_calculator: allow custom value handler
Use _packaging_values_handler ctx key to pass your own handler
for specific on demand overrides.
2024-06-10 14:50:49 +07:00
Simone Orsi
062ddecf59 packaging_calculator: fix sorting
Make sure unit is always the last element in the list.
2024-06-10 14:50:49 +07:00
Simone Orsi
fee7246913 stock_packaging_calculator 13.0.1.5.0 2024-06-10 14:50:49 +07:00
Akim Juillerat
06f4cbc06f stock_packaging_calculator: Add hook on packaging values
Fix tests
2024-06-10 14:50:49 +07:00
Tonow-c2c
9b00109e5c [IMP][stock_packaging_calculator] Add key is_unit for in the packaging calculator return 2024-06-10 14:50:49 +07:00
OCA-git-bot
ed50ffbcbc stock_packaging_calculator 13.0.1.4.0 2024-06-10 14:50:49 +07:00
Simone Orsi
aa4d9b348d Re-license stock_packaging_calculator w/ LGPL 2024-06-10 14:50:49 +07:00
OCA-git-bot
0a0fa94d28 stock_packaging_calculator 13.0.1.3.0 2024-06-10 14:50:49 +07:00
Simone Orsi
f989e720de stock_packaging_calculator: add support for custom packaging name 2024-06-10 14:50:49 +07:00
Simone Orsi
d60d56b300 stock_packaging_calculator: add support for packaging filter 2024-06-10 14:50:49 +07:00
OCA-git-bot
ecbc07b0b6 stock_packaging_calculator 13.0.1.2.0 2024-06-10 14:50:49 +07:00
Simone Orsi
d4683ba764 stock_packaging_calculator: make contained mapping computed
Allows to reuse the mapping every time is needed.
2024-06-10 14:50:49 +07:00
OCA-git-bot
b2812f668d stock_packaging_calculator 13.0.1.1.0 2024-06-10 14:50:49 +07:00
Simone Orsi
dfb9ccc4fc stock_packaging_calculator: add contained packaging compute
Optionally include contained packaging qty.
2024-06-10 14:50:49 +07:00
Simone Orsi
7f3e3239e9 stock_packaging_calculator: return dict instead of tuple
Allows to ship more information with each element in the list.
2024-06-10 14:50:49 +07:00
oca-travis
86ba203ea3 [UPD] Update stock_packaging_calculator.pot 2024-06-10 14:48:05 +07:00
Simone Orsi
57761fcd37 stock_packaging_calculator: make product uom the minimal unit
Customizing the minimal unit was not needed at all.
This way we always assume the precision is the on of the UoM.
2024-06-10 14:48:05 +07:00
Simone Orsi
e821063920 Add stock_packaging_calculator 2024-06-10 14:48:05 +07:00
Weblate
37662535ca Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-17.0/stock-logistics-warehouse-17.0-stock_inventory_discrepancy
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-17-0/stock-logistics-warehouse-17-0-stock_inventory_discrepancy/
2024-06-07 15:15:43 +00:00
OCA-git-bot
4848cb0e02 [BOT] post-merge updates 2024-06-07 14:33:43 +00:00
oca-ci
8576b115f0 [UPD] Update stock_inventory_discrepancy.pot 2024-06-07 14:31:08 +00:00
OCA-git-bot
d0b54f12a1 Merge PR #2064 into 17.0
Signed-off-by LoisRForgeFlow
2024-06-07 14:28:59 +00:00
OCA-git-bot
fe9f4aa84f [BOT] post-merge updates 2024-06-07 14:19:14 +00:00
oca-ci
bb61fe9937 [UPD] Update stock_removal_location_by_priority.pot 2024-06-07 14:16:51 +00:00
OCA-git-bot
40d99eb2e2 Merge PR #2065 into 17.0
Signed-off-by LoisRForgeFlow
2024-06-07 14:14:10 +00:00
JasminSForgeFlow
bb585c91d1 [MIG] stock_removal_location_by_priority: Migration to 17.0 2024-06-07 17:36:29 +05:30
JasminSForgeFlow
ca3d954990 [IMP] stock_removal_location_by_priority: black, isort, prettier 2024-06-07 14:02:40 +05:30
Rodrigo Macedo
ecb4f21798 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8 of 8 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_removal_location_by_priority
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_removal_location_by_priority/pt_BR/
2024-06-07 14:02:32 +05:30
mymage
6c19d8af29 Translated using Weblate (Italian)
Currently translated at 100.0% (8 of 8 strings)

Translation: stock-logistics-warehouse-16.0/stock-logistics-warehouse-16.0-stock_removal_location_by_priority
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_removal_location_by_priority/it/
2024-06-07 14:02:32 +05:30
Weblate
0952814007 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_removal_location_by_priority
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-16-0/stock-logistics-warehouse-16-0-stock_removal_location_by_priority/
2024-06-07 14:02:32 +05:30
oca-ci
cb778454df [UPD] Update stock_removal_location_by_priority.pot 2024-06-07 14:02:32 +05:30
Aritz Olea
9c604b0678 [MIG] stock_removal_location_by_priority: Migration to 16.0 2024-06-07 14:02:32 +05:30
mymage
8aab6c4d5e Translated using Weblate (Italian)
Currently translated at 9.0% (1 of 11 strings)

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_removal_location_by_priority
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_removal_location_by_priority/it/
2024-06-07 14:02:32 +05:30
Weblate
1ee2316c09 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-warehouse-14.0/stock-logistics-warehouse-14.0-stock_removal_location_by_priority
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-14-0/stock-logistics-warehouse-14-0-stock_removal_location_by_priority/
2024-06-07 14:02:32 +05:30
OCA-git-bot
8063a66deb [UPD] README.rst 2024-06-07 14:02:32 +05:30
OCA-git-bot
61955718b8 [UPD] README.rst 2024-06-07 14:02:32 +05:30
oca-ci
fa560d9cd7 [UPD] Update stock_removal_location_by_priority.pot 2024-06-07 14:02:32 +05:30
SergiCForgeFlow
633ac44754 [MIG] stock_removal_location_by_priority: Migration to 14.0 2024-06-07 14:02:32 +05:30
OCA-git-bot
c0df6132b1 [UPD] README.rst 2024-06-07 14:02:32 +05:30