Commit e616cfc1 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_core: fix Null unit price

0/0
parent e1ee216f
......@@ -17,7 +17,7 @@ select
(@total_asset_price:=
@total_asset_price +
incoming_total_price +
outgoing_total_quantity * @unit_price) as total_asset_price,
outgoing_total_quantity * IFNULL(@unit_price, 0)) as total_asset_price,
(@total_quantity:=@total_quantity+quantity_diff) as total_quantity
from
(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment