diff --git a/l10n_es_facturae/README.rst b/l10n_es_facturae/README.rst index f6435fd751b..0ac6fd66d91 100644 --- a/l10n_es_facturae/README.rst +++ b/l10n_es_facturae/README.rst @@ -7,7 +7,7 @@ Creación de Facturae !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:64caf2dad5b4f4a526db6b82f45af5932f7e732d1889b1bdcda3060875f8ee12 + !! source digest: sha256:4be8141debc970a03ec4d3c9c2c3c9b625f53585fd4cc2c185a0f63a5393592e !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -160,6 +160,7 @@ Contributors * Enric Tobella * Adrián Gómez * Eduardo de Miguel (edu@moduon.team) +* Carolina Fernandez (http://www.tecnativa.com) Maintainers ~~~~~~~~~~~ diff --git a/l10n_es_facturae/__manifest__.py b/l10n_es_facturae/__manifest__.py index 158bdc2b77c..85f1a2276cf 100644 --- a/l10n_es_facturae/__manifest__.py +++ b/l10n_es_facturae/__manifest__.py @@ -8,7 +8,7 @@ { "name": "Creación de Facturae", - "version": "15.0.1.9.0", + "version": "15.0.1.10.0", "author": "ASR-OSS, " "FactorLibre, " "Tecon, " diff --git a/l10n_es_facturae/data/Facturaev3_2.xsd b/l10n_es_facturae/data/Facturaev3_2.xsd index 4cc8e49652b..0d180f79423 100644 --- a/l10n_es_facturae/data/Facturaev3_2.xsd +++ b/l10n_es_facturae/data/Facturaev3_2.xsd @@ -1670,8 +1670,7 @@ - - + diff --git a/l10n_es_facturae/data/Facturaev3_2_1.xsd b/l10n_es_facturae/data/Facturaev3_2_1.xsd index 5198d6642c9..19966a7c7a4 100644 --- a/l10n_es_facturae/data/Facturaev3_2_1.xsd +++ b/l10n_es_facturae/data/Facturaev3_2_1.xsd @@ -1670,8 +1670,7 @@ - - + diff --git a/l10n_es_facturae/data/Facturaev3_2_2.xsd b/l10n_es_facturae/data/Facturaev3_2_2.xsd index 8fdfdf7d059..b7d98cec377 100644 --- a/l10n_es_facturae/data/Facturaev3_2_2.xsd +++ b/l10n_es_facturae/data/Facturaev3_2_2.xsd @@ -1713,8 +1713,7 @@ - - + diff --git a/l10n_es_facturae/i18n/bg.po b/l10n_es_facturae/i18n/bg.po index 53c0a2d0bad..e46709efdeb 100644 --- a/l10n_es_facturae/i18n/bg.po +++ b/l10n_es_facturae/i18n/bg.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/ca.po b/l10n_es_facturae/i18n/ca.po index 8fd4372499c..5c590f7cd5a 100644 --- a/l10n_es_facturae/i18n/ca.po +++ b/l10n_es_facturae/i18n/ca.po @@ -686,6 +686,24 @@ msgstr "" msgid "Otro" msgstr "Altre" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/cs.po b/l10n_es_facturae/i18n/cs.po index 197ff8bfa1c..9eb37ccf33a 100644 --- a/l10n_es_facturae/i18n/cs.po +++ b/l10n_es_facturae/i18n/cs.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/de.po b/l10n_es_facturae/i18n/de.po index 5f907d193c0..ee1d4d60e91 100644 --- a/l10n_es_facturae/i18n/de.po +++ b/l10n_es_facturae/i18n/de.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/es.po b/l10n_es_facturae/i18n/es.po index 6cd907963d6..d88bcdb39d1 100644 --- a/l10n_es_facturae/i18n/es.po +++ b/l10n_es_facturae/i18n/es.po @@ -705,6 +705,24 @@ msgstr "Órgano Gestor" msgid "Otro" msgstr "Otro" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "La Oficina Contable es obligatorio" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "El Organo Gestor es obligatorio" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "La Unidad Tramitadora es obligatorio" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/es_CO.po b/l10n_es_facturae/i18n/es_CO.po index 1d556889577..1b26e73919d 100644 --- a/l10n_es_facturae/i18n/es_CO.po +++ b/l10n_es_facturae/i18n/es_CO.po @@ -678,6 +678,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "La Oficina Contable es obligatorio" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "El Organo Gestor es obligatorio" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "La Unidad Tramitadora es obligatorio" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/es_CR.po b/l10n_es_facturae/i18n/es_CR.po index 19a61baeefa..7968da59993 100644 --- a/l10n_es_facturae/i18n/es_CR.po +++ b/l10n_es_facturae/i18n/es_CR.po @@ -678,6 +678,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "La Oficina Contable es obligatorio" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "El Organo Gestor es obligatorio" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "La Unidad Tramitadora es obligatorio" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/eu.po b/l10n_es_facturae/i18n/eu.po index 9762f3d7fde..587c1a90e91 100644 --- a/l10n_es_facturae/i18n/eu.po +++ b/l10n_es_facturae/i18n/eu.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/fr.po b/l10n_es_facturae/i18n/fr.po index 10fd9f186e8..50aa85f5074 100644 --- a/l10n_es_facturae/i18n/fr.po +++ b/l10n_es_facturae/i18n/fr.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/gl.po b/l10n_es_facturae/i18n/gl.po index 04c9ff327fc..db3497734b9 100644 --- a/l10n_es_facturae/i18n/gl.po +++ b/l10n_es_facturae/i18n/gl.po @@ -679,6 +679,24 @@ msgstr "" msgid "Otro" msgstr "Outro" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/hr.po b/l10n_es_facturae/i18n/hr.po index 4817a6172cf..55debbf0c40 100644 --- a/l10n_es_facturae/i18n/hr.po +++ b/l10n_es_facturae/i18n/hr.po @@ -678,6 +678,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/l10n_es_facturae.pot b/l10n_es_facturae/i18n/l10n_es_facturae.pot index 14746c6b7c8..1104f7032e1 100644 --- a/l10n_es_facturae/i18n/l10n_es_facturae.pot +++ b/l10n_es_facturae/i18n/l10n_es_facturae.pot @@ -671,6 +671,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/nl.po b/l10n_es_facturae/i18n/nl.po index 4006a2de0fd..8126985215d 100644 --- a/l10n_es_facturae/i18n/nl.po +++ b/l10n_es_facturae/i18n/nl.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/pl.po b/l10n_es_facturae/i18n/pl.po index 7f7eae56aa4..c4ee47297d9 100644 --- a/l10n_es_facturae/i18n/pl.po +++ b/l10n_es_facturae/i18n/pl.po @@ -679,6 +679,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/pt.po b/l10n_es_facturae/i18n/pt.po index fb4aef2b046..e109bdaa89c 100644 --- a/l10n_es_facturae/i18n/pt.po +++ b/l10n_es_facturae/i18n/pt.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/pt_BR.po b/l10n_es_facturae/i18n/pt_BR.po index 0208a6a3969..ed0073047de 100644 --- a/l10n_es_facturae/i18n/pt_BR.po +++ b/l10n_es_facturae/i18n/pt_BR.po @@ -678,6 +678,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/ru.po b/l10n_es_facturae/i18n/ru.po index 272bf96f22b..9300be7680e 100644 --- a/l10n_es_facturae/i18n/ru.po +++ b/l10n_es_facturae/i18n/ru.po @@ -679,6 +679,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/sl.po b/l10n_es_facturae/i18n/sl.po index eeeaba68e12..eb403acaf74 100644 --- a/l10n_es_facturae/i18n/sl.po +++ b/l10n_es_facturae/i18n/sl.po @@ -678,6 +678,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/sv.po b/l10n_es_facturae/i18n/sv.po index 8e4be01d5fa..7f56a553816 100644 --- a/l10n_es_facturae/i18n/sv.po +++ b/l10n_es_facturae/i18n/sv.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/tr.po b/l10n_es_facturae/i18n/tr.po index 2024d40dd23..7697d2731d7 100644 --- a/l10n_es_facturae/i18n/tr.po +++ b/l10n_es_facturae/i18n/tr.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/i18n/vi.po b/l10n_es_facturae/i18n/vi.po index dfe6622a473..e408ccd98bb 100644 --- a/l10n_es_facturae/i18n/vi.po +++ b/l10n_es_facturae/i18n/vi.po @@ -677,6 +677,24 @@ msgstr "" msgid "Otro" msgstr "" +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Oficina Contable not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Organo Gestor not provided" +msgstr "" + +#. module: l10n_es_facturae +#: code:addons/l10n_es_facturae/models/account_move.py:0 +#, python-format +msgid "Unidad Tramitadora not provided" +msgstr "" + #. module: l10n_es_facturae #: code:addons/l10n_es_facturae/models/account_move.py:0 #, python-format diff --git a/l10n_es_facturae/migrations/15.0.1.10.0/pre-migration.py b/l10n_es_facturae/migrations/15.0.1.10.0/pre-migration.py new file mode 100644 index 00000000000..f3cfbfff995 --- /dev/null +++ b/l10n_es_facturae/migrations/15.0.1.10.0/pre-migration.py @@ -0,0 +1,8 @@ +# Copyright 2024 Tecnativa - Carolina Fernandez +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +def migrate(env): + childs = env["res.partner"].search([("parent_id", "!=", False)]) + for child in childs: + child.facturae = child.parent_id.facturae diff --git a/l10n_es_facturae/models/account_move.py b/l10n_es_facturae/models/account_move.py index 86e0962ab80..eba3a93b9e6 100644 --- a/l10n_es_facturae/models/account_move.py +++ b/l10n_es_facturae/models/account_move.py @@ -1,4 +1,5 @@ # Copyright 2017 Creu Blanca +# Copyright 2024 Tecnativa - Carolina Fernandez # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). import base64 @@ -147,6 +148,12 @@ def validate_facturae_fields(self): raise ValidationError(_("Partner vat is too small")) if not self.partner_id.state_id: raise ValidationError(_("Partner state not provided")) + if not self.partner_id.organo_gestor: + raise ValidationError(_("Organo Gestor not provided")) + if not self.partner_id.unidad_tramitadora: + raise ValidationError(_("Unidad Tramitadora not provided")) + if not self.partner_id.oficina_contable: + raise ValidationError(_("Oficina Contable not provided")) if not self.payment_mode_id: raise ValidationError(_("Payment mode is required")) if self.payment_mode_id.facturae_code: @@ -214,6 +221,12 @@ def get_facturae_version(self): or "3_2" ) + def _get_facturae_headers(self): + return 'xmlns:ds="http://www.w3.org/2000/09/xmldsig#"' + + def _facturae_has_extensions(self): + return False + def _get_facturae_tax_info(self): self.ensure_one() sign = -1 if self.move_type[:3] == "out" else 1 diff --git a/l10n_es_facturae/models/res_partner.py b/l10n_es_facturae/models/res_partner.py index 7f2d3b1a93f..59f425c3362 100644 --- a/l10n_es_facturae/models/res_partner.py +++ b/l10n_es_facturae/models/res_partner.py @@ -1,6 +1,7 @@ # Copyright 2015 Omar Castiñeira (Comunitea) # Copyright 2017 Creu Blanca # Copyright 2023 QubiQ - Jan Tugores (jan.tugores@qubiq.es) +# Copyright 2024 Tecnativa - Carolina Fernandez # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import _, api, fields, models @@ -51,3 +52,7 @@ def check_facturae(self): raise ValidationError( _("State must be defined for factura-e enabled partners.") ) + + @api.model + def _commercial_fields(self): + return super()._commercial_fields() + ["facturae"] diff --git a/l10n_es_facturae/readme/CONTRIBUTORS.rst b/l10n_es_facturae/readme/CONTRIBUTORS.rst index 8f505d75a94..d4d78746bf9 100644 --- a/l10n_es_facturae/readme/CONTRIBUTORS.rst +++ b/l10n_es_facturae/readme/CONTRIBUTORS.rst @@ -9,3 +9,4 @@ * Enric Tobella * Adrián Gómez * Eduardo de Miguel (edu@moduon.team) +* Carolina Fernandez (http://www.tecnativa.com) diff --git a/l10n_es_facturae/static/description/index.html b/l10n_es_facturae/static/description/index.html index 185417d9b9a..f3465923f2d 100644 --- a/l10n_es_facturae/static/description/index.html +++ b/l10n_es_facturae/static/description/index.html @@ -367,7 +367,7 @@

Creación de Facturae

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:64caf2dad5b4f4a526db6b82f45af5932f7e732d1889b1bdcda3060875f8ee12 +!! source digest: sha256:4be8141debc970a03ec4d3c9c2c3c9b625f53585fd4cc2c185a0f63a5393592e !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 OCA/l10n-spain Translate me on Weblate Try me on Runboat

En virtud de la Ley 25/2013, de 27 de diciembre, de impulso de la factura @@ -508,6 +508,7 @@

Contributors

  • Enric Tobella <enric.tobella@dixmit.com>
  • Adrián Gómez <adrian.gomez@pesol.es>
  • Eduardo de Miguel (edu@moduon.team)
  • +
  • Carolina Fernandez (http://www.tecnativa.com)
  • diff --git a/l10n_es_facturae/tests/common.py b/l10n_es_facturae/tests/common.py index 6dba3aeba46..c45f4de1a7d 100644 --- a/l10n_es_facturae/tests/common.py +++ b/l10n_es_facturae/tests/common.py @@ -734,3 +734,11 @@ def test_move_rounding_with_discount(self): def test_default_get_no_active_record(self): with self.assertRaises(exceptions.UserError): self.env["create.facturae"].create({}) + + def test_facturae_commercial_field(self): + child_partner = self.partner.copy() + child_partner.name = "Child partner" + child_partner.parent_id = self.partner.id + self.assertEqual(child_partner.facturae, self.partner.facturae) + self.partner.factura = False + self.assertEqual(child_partner.facturae, self.partner.facturae) diff --git a/l10n_es_facturae/views/report_facturae.xml b/l10n_es_facturae/views/report_facturae.xml index fd665efda55..7ae43d11677 100644 --- a/l10n_es_facturae/views/report_facturae.xml +++ b/l10n_es_facturae/views/report_facturae.xml @@ -15,26 +15,29 @@