mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
[13.0][FIX] E741 ambiguous variable name 'l'
This commit is contained in:
committed by
Ernesto Tejeda
parent
263ed8f47e
commit
9720969bcf
@@ -8,7 +8,7 @@
|
||||
{
|
||||
"name": "Valued Picking Report",
|
||||
"summary": "Adding Valued Picking on Delivery Slip report",
|
||||
"version": "13.0.1.0.0",
|
||||
"version": "13.0.1.0.1",
|
||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/stock-logistics-reporting",
|
||||
"category": "Warehouse Management",
|
||||
|
||||
@@ -39,7 +39,9 @@ class StockPicking(models.Model):
|
||||
amount_tax = 0.0
|
||||
for tax_group in pick.get_taxes_values().values():
|
||||
amount_tax += round_curr(tax_group["amount"])
|
||||
amount_untaxed = sum(l.sale_price_subtotal for l in pick.move_line_ids)
|
||||
amount_untaxed = sum(
|
||||
line.sale_price_subtotal for line in pick.move_line_ids
|
||||
)
|
||||
pick.update(
|
||||
{
|
||||
"amount_untaxed": amount_untaxed,
|
||||
|
||||
Reference in New Issue
Block a user