8.0 wmsstaging8 jco

if ...
else ...

can be replaced by return move_line.price_unit since you know store the price_unit for all cases in action_confirm()