[IMP] stock: clean duplicated key
Two key are used for the same purpose. Remove one and use its content directly in the report clean commit bef1765b197a9e9d510a7d20d0364333402473b0 Part-of: odoo/odoo#82312
This commit is contained in:
@@ -773,8 +773,7 @@ class StockMoveLine(models.Model):
|
||||
'description': description,
|
||||
'qty_done': move_line.qty_done,
|
||||
'qty_ordered': qty_ordered,
|
||||
'product_uom': uom.name,
|
||||
'product_uom_rec': uom,
|
||||
'product_uom': uom,
|
||||
'product': move_line.product_id}
|
||||
else:
|
||||
aggregated_move_lines[line_key]['qty_done'] += move_line.qty_done
|
||||
|
||||
@@ -240,13 +240,13 @@
|
||||
<td class="text-center" name="move_line_aggregated_qty_ordered">
|
||||
<span t-esc="aggregated_lines[line]['qty_ordered']"
|
||||
t-options="{'widget': 'float', 'decimal_precision': 'Product Unit of Measure'}"/>
|
||||
<span t-esc="aggregated_lines[line]['product_uom']"/>
|
||||
<span t-esc="aggregated_lines[line]['product_uom'].name"/>
|
||||
</td>
|
||||
<td class="text-center" name="move_line_aggregated_qty_done">
|
||||
<t t-if="aggregated_lines[line]['qty_done']">
|
||||
<span t-esc="aggregated_lines[line]['qty_done']"
|
||||
t-options="{'widget': 'float', 'decimal_precision': 'Product Unit of Measure'}"/>
|
||||
<span t-esc="aggregated_lines[line]['product_uom']"/>
|
||||
<span t-esc="aggregated_lines[line]['product_uom'].name"/>
|
||||
</t>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user