From 986d0089373b5558538e109ffddc641674282949 Mon Sep 17 00:00:00 2001 From: Abdou Nasser Date: Fri, 17 Apr 2020 14:33:22 +0100 Subject: [PATCH] [11.0][FIX] AttributeError: object has no attribute 'cost_currency_id' --- stock_inventory_valuation_report/readme/CONTRIBUTORS.rst | 1 + .../reports/stock_inventory_valuation_report.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stock_inventory_valuation_report/readme/CONTRIBUTORS.rst b/stock_inventory_valuation_report/readme/CONTRIBUTORS.rst index 0ef1f84..ccdaa15 100644 --- a/stock_inventory_valuation_report/readme/CONTRIBUTORS.rst +++ b/stock_inventory_valuation_report/readme/CONTRIBUTORS.rst @@ -1 +1,2 @@ * Pimolnat Suntian +* Abdou Nasser diff --git a/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py b/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py index 9cfd027..031fb17 100644 --- a/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py +++ b/stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py @@ -58,7 +58,7 @@ class StockInventoryValuationReport(models.TransientModel): 'qty_at_date': product.qty_available, 'uom_id': product.uom_id, 'currency_id': product.currency_id, - 'cost_currency_id': product.cost_currency_id, + 'cost_currency_id': product.currency_id, 'standard_price': product.standard_price, 'stock_value': product.stock_value, 'cost_method': product.cost_method,