nguyen hoang hiep
|
da79f32ca5
|
[IMP] stock_packaging_calculator: black, isort, prettier
|
2021-09-14 05:57:42 +00:00 |
|
Simone Orsi
|
5d44d558f6
|
s_packaging_calculator: add product_qty_by_packaging_as_str
Retrieve quickly packagin bty qty as a string.
|
2021-09-14 04:18:03 +00:00 |
|
Simone Orsi
|
4f156d449e
|
s_packaging_calculator: include barcode
|
2021-09-14 04:15:16 +00:00 |
|
Simone Orsi
|
e713b1d805
|
packaging_calculator: allow custom value handler
Use _packaging_values_handler ctx key to pass your own handler
for specific on demand overrides.
|
2021-01-06 15:03:05 +01:00 |
|
Akim Juillerat
|
bac56d52ae
|
stock_packaging_calculator: Add hook on packaging values
Fix tests
|
2021-01-06 15:03:05 +01:00 |
|
Tonow-c2c
|
37d44c72e6
|
[IMP][stock_packaging_calculator] Add key is_unit for in the packaging calculator return
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
181228f877
|
Re-license stock_packaging_calculator w/ LGPL
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
311c50025a
|
stock_packaging_calculator: add support for custom packaging name
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
423cd926c6
|
stock_packaging_calculator: add support for packaging filter
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
35d3eb7cc2
|
stock_packaging_calculator: make contained mapping computed
Allows to reuse the mapping every time is needed.
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
49d45b461c
|
stock_packaging_calculator: add contained packaging compute
Optionally include contained packaging qty.
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
3de5642d78
|
stock_packaging_calculator: return dict instead of tuple
Allows to ship more information with each element in the list.
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
b8ef0cbc75
|
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.
|
2021-01-06 15:03:05 +01:00 |
|
Simone Orsi
|
0655a516e2
|
Add stock_packaging_calculator
|
2021-01-06 15:03:05 +01:00 |
|