Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] l10n_it_fatturapa_out_rc #3515

Closed
wants to merge 23 commits into from

Conversation

SirTakobi
Copy link
Contributor

eLBati and others added 21 commits August 3, 2023 15:19
Co-authored-by: Sergio Corato <sergiocorato@users.noreply.github.com>
Currently translated at 100.0% (16 of 16 strings)

Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_fatturapa_out_rc
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_fatturapa_out_rc/it/
…doo/odoo@ab1d7ca

Otherwise tests fail raising the following errors:

2022-10-21 07:38:51,491 253 ERROR odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ERROR: TestFatturaPAXMLValidation.test_extra_EU
Traceback (most recent call last):
  File "/opt/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/opt/odoo/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f81573e0158>, 'product.product_product_4d')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 213, in test_extra_EU
    taxes=self.tax_22ae,
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 71, in _create_invoice
    line_form.product_id = cls.env.ref("product.product_product_4d")
  File "/opt/odoo/odoo/api.py", line 514, in ref
    return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1954, in xmlid_to_object
    t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1938, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-35>", line 2, in xmlid_lookup
  File "/opt/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1931, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: product.product_product_4d

2022-10-21 07:38:51,495 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: Starting TestFatturaPAXMLValidation.test_intra_EU ...
2022-10-21 07:38:53,109 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ======================================================================
2022-10-21 07:38:53,109 253 ERROR odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ERROR: TestFatturaPAXMLValidation.test_intra_EU
Traceback (most recent call last):
  File "/opt/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/opt/odoo/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f81573e0158>, 'product.product_product_4d')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 91, in test_intra_EU
    taxes=self.tax_22ai,
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 71, in _create_invoice
    line_form.product_id = cls.env.ref("product.product_product_4d")
  File "/opt/odoo/odoo/api.py", line 514, in ref
    return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1954, in xmlid_to_object
    t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1938, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-35>", line 2, in xmlid_lookup
  File "/opt/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1931, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: product.product_product_4d

2022-10-21 07:38:53,111 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: Starting TestFatturaPAXMLValidation.test_intra_EU_customer ...
2022-10-21 07:38:54,674 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ======================================================================
2022-10-21 07:38:54,674 253 ERROR odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ERROR: TestFatturaPAXMLValidation.test_intra_EU_customer
Traceback (most recent call last):
  File "/opt/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/opt/odoo/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f81573e0158>, 'product.product_product_4d')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 132, in test_intra_EU_customer
    taxes=self.tax_22vi,
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 71, in _create_invoice
    line_form.product_id = cls.env.ref("product.product_product_4d")
  File "/opt/odoo/odoo/api.py", line 514, in ref
    return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1954, in xmlid_to_object
    t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1938, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-35>", line 2, in xmlid_lookup
  File "/opt/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1931, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: product.product_product_4d

2022-10-21 07:38:54,676 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: Starting TestFatturaPAXMLValidation.test_intra_EU_draft ...
2022-10-21 07:38:56,177 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ======================================================================
2022-10-21 07:38:56,178 253 ERROR odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ERROR: TestFatturaPAXMLValidation.test_intra_EU_draft
Traceback (most recent call last):
  File "/opt/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/opt/odoo/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f81573e0158>, 'product.product_product_4d')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 151, in test_intra_EU_draft
    taxes=self.tax_22ai,
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 71, in _create_invoice
    line_form.product_id = cls.env.ref("product.product_product_4d")
  File "/opt/odoo/odoo/api.py", line 514, in ref
    return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1954, in xmlid_to_object
    t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1938, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-35>", line 2, in xmlid_lookup
  File "/opt/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1931, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: product.product_product_4d

2022-10-21 07:38:56,179 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: Starting TestFatturaPAXMLValidation.test_intra_EU_supplier_refund ...
2022-10-21 07:38:57,722 253 INFO odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ======================================================================
2022-10-21 07:38:57,723 253 ERROR odoo odoo.addons.l10n_it_fatturapa_out_rc.tests.test_fatturapa_xml_validation: ERROR: TestFatturaPAXMLValidation.test_intra_EU_supplier_refund
Traceback (most recent call last):
  File "/opt/odoo/odoo/tools/cache.py", line 85, in lookup
    r = d[key]
  File "/opt/odoo/odoo/tools/func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "/opt/odoo/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f81573e0158>, 'product.product_product_4d')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 175, in test_intra_EU_supplier_refund
    taxes=self.tax_22ai,
  File "/__w/l10n-italy/l10n-italy/l10n_it_fatturapa_out_rc/tests/test_fatturapa_xml_validation.py", line 71, in _create_invoice
    line_form.product_id = cls.env.ref("product.product_product_4d")
  File "/opt/odoo/odoo/api.py", line 514, in ref
    return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1954, in xmlid_to_object
    t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1938, in xmlid_to_res_model_res_id
    return self.xmlid_lookup(xmlid)[1:3]
  File "<decorator-gen-35>", line 2, in xmlid_lookup
  File "/opt/odoo/odoo/tools/cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/opt/odoo/odoo/addons/base/models/ir_model.py", line 1931, in xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
ValueError: External ID not found in the system: product.product_product_4d
Currently translated at 100.0% (19 of 19 strings)

Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_fatturapa_out_rc
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_fatturapa_out_rc/it/
@SirTakobi SirTakobi force-pushed the 16.0-mig-l10n_it_fatturapa_out_rc branch from 8adc63c to 83d453c Compare August 3, 2023 15:22
@SirTakobi SirTakobi marked this pull request as ready for review August 3, 2023 15:30
Avoid replace in views
Sequence logic changed since odoo/odoo@d8d47f9
Rename method signature clashing with parent method
Remove unused common tests
@tafaRU
Copy link
Member

tafaRU commented Sep 7, 2023

/ocabot migration l10n_it_fatturapa_out_rc

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Sep 7, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 7, 2023
79 tasks
@SirAionTech
Copy link
Contributor

Sostituita da #3571 perché @SirTakobi non è più attivo e #3566 (fu #3514) è stata mergiata.

@tafaRU tafaRU closed this Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants