[14.0]fix stack trace when running module upgrade on 14.0.1.6.0

[UPD] Update intrastat_product.pot

intrastat_product 14.0.1.6.1

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: intrastat-extrastat-14.0/intrastat-extrastat-14.0-intrastat_product
Translate-URL: https://translation.odoo-community.org/projects/intrastat-extrastat-14-0/intrastat-extrastat-14-0-intrastat_product/
This commit is contained in:
Luc De Meyer
2022-05-16 12:14:02 +02:00
committed by Víctor Martínez
parent 00e70f01a2
commit 6a1e3c0e2b
4 changed files with 16 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
{
"name": "Intrastat Product",
"version": "14.0.1.6.0",
"version": "14.0.1.6.1",
"category": "Intrastat",
"license": "AGPL-3",
"summary": "Base module for Intrastat Product",

View File

@@ -94,13 +94,19 @@ msgid ""
msgstr ""
#. module: intrastat_product
#: model:ir.model.fields,help:intrastat_product.field_intrastat_product_computation_line__src_dest_country_code
#: model:ir.model.fields,help:intrastat_product.field_intrastat_product_declaration_line__src_dest_country_code
msgid ""
"2 digit code of country of origin/destination.\n"
"Specify 'XI' for UK Northern Ireland and 'XU' for rest of the UK."
msgstr ""
#. module: intrastat_product
#: model:ir.model.fields,help:intrastat_product.field_intrastat_product_computation_line__src_dest_country_code
msgid ""
"2 digit code of country of origin/destination.\n"
"Specify 'XI' for UK Northern Ireland."
msgstr ""
#. module: intrastat_product
#: model_terms:ir.ui.view,arch_db:intrastat_product.intrastat_product_declaration_view_form
msgid "<span>Intrastat Product Declaration </span>"

View File

@@ -90,13 +90,19 @@ msgid ""
msgstr ""
#. module: intrastat_product
#: model:ir.model.fields,help:intrastat_product.field_intrastat_product_computation_line__src_dest_country_code
#: model:ir.model.fields,help:intrastat_product.field_intrastat_product_declaration_line__src_dest_country_code
msgid ""
"2 digit code of country of origin/destination.\n"
"Specify 'XI' for UK Northern Ireland and 'XU' for rest of the UK."
msgstr ""
#. module: intrastat_product
#: model:ir.model.fields,help:intrastat_product.field_intrastat_product_computation_line__src_dest_country_code
msgid ""
"2 digit code of country of origin/destination.\n"
"Specify 'XI' for UK Northern Ireland."
msgstr ""
#. module: intrastat_product
#: model_terms:ir.ui.view,arch_db:intrastat_product.intrastat_product_declaration_view_form
msgid "<span>Intrastat Product Declaration </span>"

View File

@@ -1085,12 +1085,10 @@ class IntrastatProductComputationLine(models.Model):
)
src_dest_country_code = fields.Char(
string="Country Code",
compute="_compute_src_dest_country_code",
store=True,
required=True,
readonly=False,
help="2 digit code of country of origin/destination.\n"
"Specify 'XI' for UK Northern Ireland and 'XU' for rest of the UK.",
"Specify 'XI' for UK Northern Ireland.",
)
product_id = fields.Many2one(
"product.product", related="invoice_line_id.product_id"