FIX invoice creation from contract, add related fields on moves, add constraint on poinf of sale and more