diff --git a/l10n_ro_edi_check/README.rst b/l10n_ro_edi_check/README.rst index 3041265e..0d7f759a 100644 --- a/l10n_ro_edi_check/README.rst +++ b/l10n_ro_edi_check/README.rst @@ -7,7 +7,7 @@ Romania - EDI data check and queue !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:2670c0de37d5788be945fc1e758bacefbe751da939ce0d106cf680fb5013779d + !! source digest: sha256:567d8a867738841397769cb264a077e2abb0851f1e7478afe27edb36653d65eb !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -25,6 +25,7 @@ Romania - EDI data check and queue - Verificare date pentru trimitere ANAF la validarea facturii - Implementare cu coada job-uri - Dezactivare recalculare pret unitar la facuri furnizor cu ID eFactura + - Camp nr. caractere descriere in linie factura **Table of contents** diff --git a/l10n_ro_edi_check/__manifest__.py b/l10n_ro_edi_check/__manifest__.py index 111e7b3f..97989707 100644 --- a/l10n_ro_edi_check/__manifest__.py +++ b/l10n_ro_edi_check/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Romania - EDI data check and queue", "license": "AGPL-3", - "version": "15.0.0.0.2", + "version": "15.0.0.0.3", "author": "Terrabit," "Odoo Community Association (OCA)", "website": "https://github.com/OCA/l10n-romania", "category": "Tools", @@ -12,8 +12,6 @@ "queue_job", "queue_job_cron_jobrunner", ], - "data": [ - "data/cron.xml", - ], + "data": ["data/cron.xml", "views/account_move.xml"], "installable": True, } diff --git a/l10n_ro_edi_check/i18n/ro.po b/l10n_ro_edi_check/i18n/ro.po new file mode 100644 index 00000000..5b55c76a --- /dev/null +++ b/l10n_ro_edi_check/i18n/ro.po @@ -0,0 +1,89 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * l10n_ro_edi_check +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-01-13 05:33+0000\n" +"PO-Revision-Date: 2024-01-13 05:33+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: l10n_ro_edi_check +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_move_line__l10n_ro_label_length +msgid "Desc. length" +msgstr "Ln" + +#. module: l10n_ro_edi_check +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_edi_document__display_name +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_edi_format__display_name +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_move__display_name +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_move_line__display_name +msgid "Display Name" +msgstr "Nume afișat" + +#. module: l10n_ro_edi_check +#: model:ir.model,name:l10n_ro_edi_check.model_account_edi_format +msgid "EDI format" +msgstr "Format EDI" + +#. module: l10n_ro_edi_check +#: model:ir.model,name:l10n_ro_edi_check.model_account_edi_document +msgid "Electronic Document for an account.move" +msgstr "Document electronic pentru account.move" + +#. module: l10n_ro_edi_check +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_edi_document__id +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_edi_format__id +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_move__id +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_move_line__id +msgid "ID" +msgstr "" + +#. module: l10n_ro_edi_check +#: model:ir.model,name:l10n_ro_edi_check.model_account_move +msgid "Journal Entry" +msgstr "Notă contabilă" + +#. module: l10n_ro_edi_check +#: model:ir.model,name:l10n_ro_edi_check.model_account_move_line +msgid "Journal Item" +msgstr "Element jurnal" + +#. module: l10n_ro_edi_check +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_edi_document____last_update +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_edi_format____last_update +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_move____last_update +#: model:ir.model.fields,field_description:l10n_ro_edi_check.field_account_move_line____last_update +msgid "Last Modified on" +msgstr "Ultima modificare la" + +#. module: l10n_ro_edi_check +#: code:addons/l10n_ro_edi_check/models/account_move.py:0 +#, python-format +msgid "Partenerul %s nu are completata localitatea" +msgstr "" + +#. module: l10n_ro_edi_check +#: code:addons/l10n_ro_edi_check/models/account_move.py:0 +#, python-format +msgid "Partenerul %s nu are completata strada" +msgstr "" + +#. module: l10n_ro_edi_check +#: code:addons/l10n_ro_edi_check/models/account_move.py:0 +#, python-format +msgid "Partenerul %s nu are completata tara" +msgstr "" + +#. module: l10n_ro_edi_check +#: code:addons/l10n_ro_edi_check/models/account_move.py:0 +#, python-format +msgid "localitatea pertenerului %s trebuie sa fie de forma SectorX " +msgstr "" \ No newline at end of file diff --git a/l10n_ro_edi_check/models/__init__.py b/l10n_ro_edi_check/models/__init__.py index c694e6fe..3ebed906 100644 --- a/l10n_ro_edi_check/models/__init__.py +++ b/l10n_ro_edi_check/models/__init__.py @@ -4,4 +4,3 @@ from . import account_move from . import account_edi_document from . import account_edi_format - diff --git a/l10n_ro_edi_check/models/account_edi_format.py b/l10n_ro_edi_check/models/account_edi_format.py index 00be93b3..e3d494d6 100644 --- a/l10n_ro_edi_check/models/account_edi_format.py +++ b/l10n_ro_edi_check/models/account_edi_format.py @@ -4,11 +4,8 @@ import logging - - from odoo import models - _logger = logging.getLogger(__name__) @@ -19,15 +16,17 @@ def _find_value(self, xpath, xml_element, namespaces=None): if namespaces is None: namespaces = {} - namespaces.update({ - "qdt": "urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2", - "ccts": "urn:un:unece:uncefact:documentation:2", - "udt": "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2", - "cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", # noqa: B950 - "cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", - "xsi": "http://www.w3.org/2001/XMLSchema-instance", - }) - - res = super(AccountEdiXmlCIUSRO, self)._find_value(xpath, xml_element, namespaces=namespaces) + namespaces.update( + { + "qdt": "urn:oasis:names:specification:ubl:schema:xsd:QualifiedDataTypes-2", + "ccts": "urn:un:unece:uncefact:documentation:2", + "udt": "urn:oasis:names:specification:ubl:schema:xsd:UnqualifiedDataTypes-2", + "cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2", # noqa: B950 + "cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", + "xsi": "http://www.w3.org/2001/XMLSchema-instance", + } + ) + + res = super()._find_value(xpath, xml_element, namespaces=namespaces) return res diff --git a/l10n_ro_edi_check/models/account_move.py b/l10n_ro_edi_check/models/account_move.py index 75c25148..1bc2ba36 100644 --- a/l10n_ro_edi_check/models/account_move.py +++ b/l10n_ro_edi_check/models/account_move.py @@ -1,7 +1,7 @@ # © 2024-now Dan Stoica Romania - EDI data check and queue !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:2670c0de37d5788be945fc1e758bacefbe751da939ce0d106cf680fb5013779d +!! source digest: sha256:567d8a867738841397769cb264a077e2abb0851f1e7478afe27edb36653d65eb !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Beta License: AGPL-3 dhongu/l10n-romania

@@ -375,6 +375,7 @@

Romania - EDI data check and queue

  • Verificare date pentru trimitere ANAF la validarea facturii
  • Implementare cu coada job-uri
  • Dezactivare recalculare pret unitar la facuri furnizor cu ID eFactura
  • +
  • Camp nr. caractere descriere in linie factura
  • Table of contents

    diff --git a/l10n_ro_edi_check/views/account_move.xml b/l10n_ro_edi_check/views/account_move.xml new file mode 100644 index 00000000..37b91bac --- /dev/null +++ b/l10n_ro_edi_check/views/account_move.xml @@ -0,0 +1,27 @@ + + + + + l10n_ro.account.invoice.form + account.move + form + + + + + + + + + l10n_ro.account.invoice.tree + account.move + tree + + + + + + + + +