Issue 11214

Title
Add volume dimensions to package
Priority
feature
Status
resolved
Nosy list
ced, mrichez, reviewbot, roundup-bot
Assigned to
ced
Keywords
review

Created on 2022-02-03.18:30:01 by ced, last changed 3 months ago by roundup-bot.

Messages

New changeset da3d3cbdba2c by Cédric Krier in branch 'default':
Add volume dimensions to package
https://hg.tryton.org/tryton-env/rev/da3d3cbdba2c
New changeset 78a98bdfedee by Cédric Krier in branch 'default':
Add volume dimensions to package
https://hg.tryton.org/modules/stock_shipment_measurements/rev/78a98bdfedee
New changeset 18e7528fb716 by Cédric Krier in branch 'default':
Add volume dimensions to package
https://hg.tryton.org/modules/stock_package/rev/18e7528fb716
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-02-07.11:56:46
On 2022-02-07 11:46, Maxime Richez wrote:
> It's "Packages Weight", sorry.
> It was done is this issue: https://bugs.tryton.org/issue11123

Indeed I did not see the second conditional class extension.

> Total volume is useful for customs purposes. (but it could be a custom dev for us if you think it not should be in core).

If we have done it for weight, I guess we should also do it for volume.
Author: [hidden] (mrichez)
Date: 2022-02-07.11:46:16

It's "Packages Weight", sorry.
It was done is this issue: https://bugs.tryton.org/issue11123
Total volume is useful for customs purposes. (but it could be a custom dev for us if you think it not should be in core).

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-02-07.11:39:31

Would be also useful to have "Volume Package" (like "Weight Package" in "Other
Info" Tab) which is a function field equals to the sum of volumes of all root
packages.

As far as I can see, we do not have "Weight Package" on shipment (it must be a custom development).
Indeed for me it makes sense to compute the weight and volume for the shipment as done in stock_shipment_measurement which is based only on the sum of the moves.
But once the shipment is packages the total of packages has no real interest for me.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-02-03.18:30:01

Package may have its own volume (which is often defined by WxLxH). So in this case it must replace the total volume of the package based on the content.
Also a common case is the pallet for which we know the ground surface from the type but the height only when packaging. So we could store on the package type some dimensions and copy them on the package (like for the weight). Then when we have all three dimension we can compute the volume.

History
Date User Action Args
2022-03-07 00:31:20roundup-botsetmessages: + msg74459
2022-03-07 00:31:13roundup-botsetmessages: + msg74458
2022-03-07 00:31:09roundup-botsetmessages: + msg74457
nosy: + roundup-bot
status: testing -> resolved
2022-02-10 19:11:42reviewbotsetmessages: + msg74006
2022-02-07 11:58:47reviewbotsetmessages: + msg73912
2022-02-07 11:56:46cedsetmessages: + msg73911
2022-02-07 11:46:16mrichezsetmessages: + msg73910
2022-02-07 11:39:31cedsetmessages: + msg73909
nosy: + mrichez
2022-02-03 18:41:20reviewbotsetmessages: + msg73755
nosy: + reviewbot
2022-02-03 18:30:47cedsetkeyword: + review
reviews: 397221003
status: in-progress -> testing

Showing 10 items. Show all history (warning: this could be VERY long)