allocations only have ItemLine since contract_line reafactoring
renaming order to contract
renaming order to contract
renaming and moving order to contract
[FIX] self blocking alocating problem