[FIX] sale_layout: store=True is causing trouble when generating invoices from a pos order