Christopher Ormaza
|
acb6344463
|
[IMP] stock_packaging_calculator: black, isort, prettier
|
2022-10-10 13:55:27 +02:00 |
|
nguyen hoang hiep
|
f669dcd98c
|
[IMP] stock_packaging_calculator: black, isort, prettier
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
99246b3a00
|
s_packaging_calculator: include units when units only on demand
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
a2134f26ac
|
s_packaging_calculator: contained mapping depends on lang
Otherwise translations won't be taken into account.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
45e3e2e137
|
s_packaging_calculator: add handy mixin
This mixin can be used to provide qty by packaging features
to any model.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
051911e884
|
s_packaging_calculator: add product_qty_by_packaging_as_str
Retrieve quickly packagin bty qty as a string.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
38baba3a6e
|
s_packaging_calculator: ease override of packaging name
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
f14a906c36
|
s_packaging_calculator: include barcode
|
2022-10-10 13:55:27 +02:00 |
|
Sébastien BEAU
|
af15012c12
|
[IMP] stock_packaging_calculator: black, isort, prettier
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
c0e5e4babc
|
packaging_calculator: allow custom value handler
Use _packaging_values_handler ctx key to pass your own handler
for specific on demand overrides.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
7be28d9f2f
|
packaging_calculator: fix sorting
Make sure unit is always the last element in the list.
|
2022-10-10 13:55:27 +02:00 |
|
Akim Juillerat
|
050c658ab1
|
stock_packaging_calculator: Add hook on packaging values
Fix tests
|
2022-10-10 13:55:27 +02:00 |
|
Tonow-c2c
|
8e27481ac6
|
[IMP][stock_packaging_calculator] Add key is_unit for in the packaging calculator return
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
e4b3ec7690
|
Re-license stock_packaging_calculator w/ LGPL
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
4cc5819bed
|
stock_packaging_calculator: add support for custom packaging name
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
b0e9819320
|
stock_packaging_calculator: add support for packaging filter
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
0636167004
|
stock_packaging_calculator: make contained mapping computed
Allows to reuse the mapping every time is needed.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
359d599713
|
stock_packaging_calculator: add contained packaging compute
Optionally include contained packaging qty.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
4c997b882d
|
stock_packaging_calculator: return dict instead of tuple
Allows to ship more information with each element in the list.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
0715a5ae3d
|
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.
|
2022-10-10 13:55:27 +02:00 |
|
Simone Orsi
|
29c30b9dfc
|
Add stock_packaging_calculator
|
2022-10-10 13:55:27 +02:00 |
|