[FIX] account: fix self.id.origin in get_last_sequence()
When trying to customize Swiss invoice report with QR-Bill through Studio an error was thrown because it tries to _compute_name() on a dummy 'account.move' record with self.id=0. This is part of a more general task in master around report customization but it make sense to backport the fix in all stable versions. task-id:3492033 closes odoo/odoo#135627 X-original-commit: 7b58a288 Signed-off-by:Laurent Smet (las) <las@odoo.com> Signed-off-by:
Claire Bretton (clbr) <clbr@odoo.com>