From 446e5ce88306e9aafe7e16f732ad29abf6f7b8b7 Mon Sep 17 00:00:00 2001 From: Swapnesh Date: Thu, 2 Jan 2020 12:20:55 +0530 Subject: [PATCH] [FIX] FIXUP --- contract_line_invoice_by_average/models/contract_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract_line_invoice_by_average/models/contract_line.py b/contract_line_invoice_by_average/models/contract_line.py index ad270678..fb62f712 100644 --- a/contract_line_invoice_by_average/models/contract_line.py +++ b/contract_line_invoice_by_average/models/contract_line.py @@ -12,7 +12,7 @@ class ContractContract(models.Model): for contract_to_invoice in self: product_avg_qty_dict = {} for each_contract_line in contract_to_invoice.contract_line_ids.\ - filtered(lambda l: l.products_invoiced_by_avg_ids): + filtered(lambda l: l.products_invoiced_by_avg_ids): for each_avg_product in each_contract_line.products_invoiced_by_avg_ids: product_avg_qty_dict.update( {each_avg_product.id: each_contract_line.quantity})