[IMP][sale_order_customized] modified write and create of sale_order to ...

...writing sequence in roder line depending of order by producto category