minor fix
This commit is contained in:
parent
a89a2ba030
commit
9f4a7ed9f8
|
@ -408,8 +408,7 @@ class ShipmentDetailedReport(Report):
|
||||||
'cost_price': cost_price,
|
'cost_price': cost_price,
|
||||||
'category': category,
|
'category': category,
|
||||||
'cost_base': float(cost_price) * quantity,
|
'cost_base': float(cost_price) * quantity,
|
||||||
'section': getattr(product_, 'section', ''),
|
|
||||||
'conservation': getattr(product_, 'conservation', '')
|
|
||||||
}
|
}
|
||||||
if hasattr(product_, 'cost_price_taxed'):
|
if hasattr(product_, 'cost_price_taxed'):
|
||||||
value['cost_w_tax'] = float(product_.cost_price_taxed) * quantity
|
value['cost_w_tax'] = float(product_.cost_price_taxed) * quantity
|
||||||
|
|
Loading…
Reference in New Issue