Merge PR #106 into 11.0

Signed-off-by dreispt
This commit is contained in:
OCA-git-bot
2020-07-19 08:15:49 +00:00
2 changed files with 4 additions and 3 deletions

View File

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

View File

@@ -55,15 +55,15 @@ class StockInventoryValuationReport(models.TransientModel):
for product in products:
line = {
'display_name': product.display_name,
'qty_at_date': product.qty_at_date,
'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,
}
if product.qty_at_date != 0:
if product.qty_available != 0:
self.results += ReportLine.new(line)
@api.multi