[11.0][FIX] AttributeError: object has no attribute 'cost_currency_id'

This commit is contained in:
Abdou Nasser
2020-04-17 14:33:22 +01:00
parent a82b19bfbb
commit 986d008937
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +1,2 @@
* Pimolnat Suntian <pimolnats@ecosoft.co.th>
* Abdou Nasser <nasser.abdou@proxima.cm>

View File

@@ -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,