Commit Graph
3 Commits
Author SHA1 Message Date
Yosua Nicolaus 1a6127e26b [REF] l10n_es, l10n_es_edi_sii: refactor for Libros export
The new Libros Registro de IVA export from l10n_es_reports is very similar to l10n_es_edi_sii

We want to reuse things in l10n_es_edi_sii but it will require l10n_es_reports to depend on it first, which is not a good thing since the Libros export are used mainly by SME that does not have l10n_es_edi_sii installed yet

This commit refactor some part from l10n_es_edi_sii to l10n_es so that l10n_es_reports can reuse things from l10n_es_edi_sii while not depending on it

closes odoo/odoo#136983

Community-pr: https://github.com/odoo/odoo/pull/136983
Enterprise-pr: https://github.com/odoo/enterprise/pull/47578
Task-id: 3394451
Related: odoo/enterprise#47578
Related: odoo/upgrade#5304
Signed-off-by: Josse Colpaert <jco@odoo.com>
2023-10-20 19:12:44 +00:00
Josse Colpaert 7756811110 [IMP] l10n_es: add simplified checkbox on invoice
In order to allow in the PoS to put a partner, but
still do a simplified invoice, we added this field
l10n_es_is_simplified so you can force a ticket
instead of having to download the invoice.

This could also be used to only do the check for
a NIF when the invoice is not simplified.

Related to task 3413182

Part-of: odoo/odoo#136164
2023-10-06 07:12:08 +00:00
Maximilien (malb) 832c271197 [FIX] account,l10n_es: Adding company registry
For the l10n_es localisation, we needed to print on the invoice the company id
of the partner we send the invoice to. To do that, I had to add some id to make
the xpath work.

Task-3281337

closes odoo/odoo#125596

X-original-commit: 845b275846e49a923a9e181ad37cee3c691f16d0
Signed-off-by: William André (wan) <wan@odoo.com>
Signed-off-by: Maximilien La Barre (malb) <malb@odoo.com>
2023-06-19 16:40:09 +02:00