summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorTiffany Chang (tic) <tic@odoo.com>2020-04-21 08:35:30 +0000
committerTiffany Chang (tic) <tic@odoo.com>2020-07-03 11:54:08 +0000
commitd20467bb6a2e1e6b07a2db86ee4be199eeeed0e2 (patch)
tree0ab13c8e22f640f52d8f8949fb3a88f1be326aef /addons/web
parent0accbd6e69937011ea9bac141dd186c3757b1a8a (diff)
[IMP] delivery, stock: group delivery slip packages
This commit makes it so if a delivery slip contains 1 or more packages then move lines will be split by package (and non-package) groups with a "section line" between them. This only applies to when a stock.picking is 'State=Done'. In order to accomodate complexity of splitting by package + grouping by product unless printing serial numbers/lots + template inheritance, reoccurring parts of the template are split into their own templates and called. Relevant inheritance has been updated to match. Additionally, picking.shipping_weight calculation has been updated so if a pack.weight = 0 then calculation will default to the calculated product weight. This prevents inconsistency between the "Total Weight" at the top of the Delivery Slip and the package sections' displayed weights. To distinguish which value is being used, package sections that use the total product weight rather than the pack.weight have "(estimated)" after it. This completes subsection 3 of overall Improve delivery slip task. Task: 2039720
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions