Manage payment mode when invoicing a sale from picking
Adds the analytic account to the production order