Commit Graph

39 Commits

Author SHA1 Message Date
OCA-git-bot
d41c832a9f stock_packaging_calculator 14.0.1.1.0 2021-09-21 06:07:56 +00:00
oca-travis
7a50c1f10b [UPD] Update stock_packaging_calculator.pot 2021-09-21 05:51:07 +00:00
nguyen hoang hiep
da79f32ca5 [IMP] stock_packaging_calculator: black, isort, prettier 2021-09-14 05:57:42 +00:00
oca-travis
aa3bed30d7 [UPD] Update stock_packaging_calculator.pot 2021-09-14 05:54:42 +00:00
Simone Orsi
72997319a2 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.
2021-09-14 04:27:39 +00:00
Simone Orsi
6ce14df9c6 s_packaging_calculator: include units when units only on demand 2021-09-14 04:26:59 +00:00
Simone Orsi
df53d03f49 s_packaging_calculator: contained mapping depends on lang
Otherwise translations won't be taken into account.
2021-09-14 04:18:03 +00:00
Simone Orsi
6abf21292f s_packaging_calculator: add handy mixin
This mixin can be used to provide qty by packaging features
to any model.
2021-09-14 04:18:03 +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
7b7cacc7f6 s_packaging_calculator: ease override of packaging name 2021-09-14 04:18:03 +00:00
Simone Orsi
4f156d449e s_packaging_calculator: include barcode 2021-09-14 04:15:16 +00:00
OCA-git-bot
3e61c2bdeb stock_packaging_calculator 14.0.1.0.1 2021-02-05 10:01:09 +00:00
OCA-git-bot
bb61a62201 [UPD] README.rst 2021-02-05 10:01:08 +00:00
oca-travis
a5ee5da594 [UPD] Update stock_packaging_calculator.pot 2021-02-05 09:49:42 +00:00
Sébastien BEAU
38f3b3cbaa [MIG] stock_packaging_calculator: Migration to 14.0 2021-01-06 15:03:10 +01:00
Sébastien BEAU
02ba4eebfe [IMP] stock_packaging_calculator: black, isort, prettier 2021-01-06 15:03:10 +01:00
OCA-git-bot
5c2e751416 stock_packaging_calculator 13.0.1.6.0 2021-01-06 15:03:05 +01: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
Simone Orsi
5d0de4b143 packaging_calculator: fix sorting
Make sure unit is always the last element in the list.
2021-01-06 15:03:05 +01:00
Simone Orsi
50f2fd6880 stock_packaging_calculator 13.0.1.5.0 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
OCA-git-bot
06aa718841 stock_packaging_calculator 13.0.1.4.0 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
OCA-git-bot
9a4b3a6c46 stock_packaging_calculator 13.0.1.3.0 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
OCA-git-bot
e77326a25c stock_packaging_calculator 13.0.1.2.0 2021-01-06 15:03:05 +01:00
oca-travis
860555f498 [UPD] Update stock_packaging_calculator.pot 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
OCA-git-bot
a9beb26ed9 stock_packaging_calculator 13.0.1.1.0 2021-01-06 15:03:05 +01:00
OCA-git-bot
60ba21960f [UPD] README.rst 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
OCA-git-bot
0b76b06a0f [ADD] icon.png 2021-01-06 15:03:05 +01:00
OCA-git-bot
03a1d8ffc4 [UPD] README.rst 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
oca-travis
d411a3ac09 [UPD] Update stock_packaging_calculator.pot 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