Christopher Ormaza
|
e067ec70e8
|
[15.0][MIG] stock_packaging_calculator
|
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
|
dd77e4240f
|
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.
|
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
|
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
|
f14a906c36
|
s_packaging_calculator: include barcode
|
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 |
|
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 |
|