REPORT_INTRASTAT: set price to 0 if no SO or PO found
bzr revid: ced-58fb25322435eb8da9e19e8834c2baaeffa96657
This commit is contained in:
parent
bd8533b609
commit
a9d229d66f
|
@ -83,7 +83,7 @@ class report_intrastat(osv.osv):
|
|||
else
|
||||
case when sol.price_unit is not null
|
||||
then sol.price_unit * m.product_qty
|
||||
else pt.standard_price * m.product_qty
|
||||
else 0
|
||||
end
|
||||
end) as value,
|
||||
sum(pt.weight_net * m.product_qty) as weight,
|
||||
|
|
Loading…
Reference in New Issue