Skip to content
Snippets Groups Projects
Commit 0594c045 authored by Habib (ayh)'s avatar Habib (ayh)
Browse files

[IMP] stock: include UOM object in aggregated product quantities


with l10n_mx_edi_stock being introduced in enterprise - we require the unit of measure object in the aggregated lines so that it can be used on the delivery report.

odoo/enterprise#21591
Task-2585661

closes odoo/odoo#82086

Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
parent 23ebcca9
No related branches found
No related tags found
No related merge requests found
......@@ -680,6 +680,7 @@ class StockMoveLine(models.Model):
'description': description,
'qty_done': move_line.qty_done,
'product_uom': uom.name,
'product_uom_rec': uom,
'product': move_line.product_id}
else:
aggregated_move_lines[line_key]['qty_done'] += move_line.qty_done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment