allow to return number of units (instead of colli) in orderdoc
fix rails4-ism on our rails 3
fix new order when schedule not set