When generating an efaktur, an error is raised
To reproduce the error:
(Use empty DB)
1. Set the company's country to Indonesia
2. Install Accounting (account_accountant)
3. Accounting > Customers > e-Faktur
4. Create & Save
5. Accounting > Customers > Customers
6. Create a customer
- Set country to Indonesia
- Add a TVA number
7. Accounting > Customers > Invoices
8. Create one for this customer
- Add a product
9. Save & Confirm
10. In Action, "Download e-faktur"
=> An error is raised.
OPW-2387843
closesodoo/odoo#62544
X-original-commit: 978e1168dddabebc31076eaebb5e20739bed4147
Signed-off-by: adwid <adwid@users.noreply.github.com>