minor fix

This commit is contained in:
santiago mendez 2021-10-20 16:17:51 -05:00
parent a89a2ba030
commit 9f4a7ed9f8
1 changed files with 1 additions and 2 deletions

View File

@ -408,8 +408,7 @@ class ShipmentDetailedReport(Report):
'cost_price': cost_price,
'category': category,
'cost_base': float(cost_price) * quantity,
'section': getattr(product_, 'section', ''),
'conservation': getattr(product_, 'conservation', '')
}
if hasattr(product_, 'cost_price_taxed'):
value['cost_w_tax'] = float(product_.cost_price_taxed) * quantity