Commit Graph

8 Commits

Author SHA1 Message Date
Simone Orsi
73ed9451f5 Re-license stock_packaging_calculator w/ LGPL 2020-07-15 17:29:44 +02:00
Simone Orsi
77107d519a stock_packaging_calculator: add support for custom packaging name 2020-06-30 14:29:58 +02:00
Simone Orsi
7cb7e9dcb4 stock_packaging_calculator: add support for packaging filter 2020-06-30 14:20:33 +02:00
Simone Orsi
7ba93db768 stock_packaging_calculator: make contained mapping computed
Allows to reuse the mapping every time is needed.
2020-06-09 13:15:00 +02:00
Simone Orsi
e3a1d8910d stock_packaging_calculator: add contained packaging compute
Optionally include contained packaging qty.
2020-06-08 12:04:07 +02:00
Simone Orsi
cad2ae29f5 stock_packaging_calculator: return dict instead of tuple
Allows to ship more information with each element in the list.
2020-06-08 10:18:02 +02:00
Simone Orsi
cf9bc42bd9 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.
2020-06-08 09:56:12 +02:00
Simone Orsi
a99d23e0c2 Add stock_packaging_calculator 2020-05-27 10:30:54 +02:00