diff --git a/partner_identification/i18n/am.po b/partner_identification/i18n/am.po
index 0928bc64d..39ddf9c14 100644
--- a/partner_identification/i18n/am.po
+++ b/partner_identification/i18n/am.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/ar.po b/partner_identification/i18n/ar.po
index e30f4e0a2..5568a509e 100644
--- a/partner_identification/i18n/ar.po
+++ b/partner_identification/i18n/ar.po
@@ -20,15 +20,24 @@ msgstr ""
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "أنشئ في"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/bg.po b/partner_identification/i18n/bg.po
index d89509424..1144adc20 100644
--- a/partner_identification/i18n/bg.po
+++ b/partner_identification/i18n/bg.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Създадено на"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/bs.po b/partner_identification/i18n/bs.po
index 63cec1af7..0550bec1a 100644
--- a/partner_identification/i18n/bs.po
+++ b/partner_identification/i18n/bs.po
@@ -20,15 +20,24 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Kreirano"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/ca.po b/partner_identification/i18n/ca.po
index 4233cbccd..f73563f91 100644
--- a/partner_identification/i18n/ca.po
+++ b/partner_identification/i18n/ca.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Creat el"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/cs.po b/partner_identification/i18n/cs.po
index 51906c548..b3df33bc4 100644
--- a/partner_identification/i18n/cs.po
+++ b/partner_identification/i18n/cs.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Vytvořeno"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/da.po b/partner_identification/i18n/da.po
index eaf214d42..9ce4039f8 100644
--- a/partner_identification/i18n/da.po
+++ b/partner_identification/i18n/da.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Oprettet den"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/de.po b/partner_identification/i18n/de.po
index 267c10d69..766baaf3b 100644
--- a/partner_identification/i18n/de.po
+++ b/partner_identification/i18n/de.po
@@ -19,22 +19,25 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
"\n"
-"# Python code. Verwende failed = True, um anzuzeigen, dass die ID ungültig "
-"ist.\n"
-"# Sie können die folgenden Variablen nutzen:\n"
-"# - self: browse_record des aktuellen Kategorie-ID browse_record\n"
-"# - id_number: browse_record der zu prüfenden ID"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -72,6 +75,11 @@ msgstr "Kategorie"
msgid "Code"
msgstr "Schlüssel"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -90,6 +98,7 @@ msgid "Created on"
msgstr "erstellt am"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -123,6 +132,7 @@ msgid "Expired"
msgstr "Abgelaufen"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -174,6 +184,7 @@ msgid "Issued on"
msgstr "Ausgestellt am"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -249,6 +260,11 @@ msgstr "Partnerausweiskategorien"
msgid "Place of Issuance"
msgstr "Ort der Ausstellung"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -310,3 +326,18 @@ msgstr "Gültig bis"
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_number__valid_from
msgid "Validation period stating date."
msgstr "Anfangsdatum der Prüfperiode."
+
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Python code. Verwende failed = True, um anzuzeigen, dass die ID "
+#~ "ungültig ist.\n"
+#~ "# Sie können die folgenden Variablen nutzen:\n"
+#~ "# - self: browse_record des aktuellen Kategorie-ID browse_record\n"
+#~ "# - id_number: browse_record der zu prüfenden ID"
diff --git a/partner_identification/i18n/el_GR.po b/partner_identification/i18n/el_GR.po
index da55636eb..5375e8af1 100644
--- a/partner_identification/i18n/el_GR.po
+++ b/partner_identification/i18n/el_GR.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Δημιουργήθηκε στις"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/en_GB.po b/partner_identification/i18n/en_GB.po
index 3e8436eab..621e06b58 100644
--- a/partner_identification/i18n/en_GB.po
+++ b/partner_identification/i18n/en_GB.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Created on"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es.po b/partner_identification/i18n/es.po
index 41340e0dc..d29051363 100644
--- a/partner_identification/i18n/es.po
+++ b/partner_identification/i18n/es.po
@@ -21,22 +21,25 @@ msgstr ""
"X-Generator: Weblate 3.4\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
"\n"
-"# Código Python. Utilice failed = True para especificar que el identificador "
-"no es válido.\n"
-"# Puede usar las siguientes variables:\n"
-"# - self: registro ORM de la categoría de identificación\n"
-"# - id_number: registro ORM del nº de identificación a validar"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -75,6 +78,11 @@ msgstr "Categoría"
msgid "Code"
msgstr "Código"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -93,6 +101,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -125,6 +134,7 @@ msgid "Expired"
msgstr "Expirado"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -178,6 +188,7 @@ msgid "Issued on"
msgstr "Emitido en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -252,6 +263,11 @@ msgstr "Tipos de identificadores"
msgid "Place of Issuance"
msgstr "Lugar de emisión"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -316,6 +332,21 @@ msgstr "Válido hasta"
msgid "Validation period stating date."
msgstr "Fecha de inicio del período de validación."
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Código Python. Utilice failed = True para especificar que el "
+#~ "identificador no es válido.\n"
+#~ "# Puede usar las siguientes variables:\n"
+#~ "# - self: registro ORM de la categoría de identificación\n"
+#~ "# - id_number: registro ORM del nº de identificación a validar"
+
#~ msgid "res.partner.id_category"
#~ msgstr "res.partner.id_category"
diff --git a/partner_identification/i18n/es_AR.po b/partner_identification/i18n/es_AR.po
index a66db880b..4e7d0c549 100644
--- a/partner_identification/i18n/es_AR.po
+++ b/partner_identification/i18n/es_AR.po
@@ -11,8 +11,8 @@ msgstr ""
"POT-Creation-Date: 2017-06-10 01:50+0000\n"
"PO-Revision-Date: 2020-12-08 20:36+0000\n"
"Last-Translator: Ignacio Buioli \n"
-"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/teams/"
-"23907/es_AR/)\n"
+"Language-Team: Spanish (Argentina) (https://www.transifex.com/oca/"
+"teams/23907/es_AR/)\n"
"Language: es_AR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -21,22 +21,25 @@ msgstr ""
"X-Generator: Weblate 3.10\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
"\n"
-"# Código Python. Utilice fail = True para especificar que el número de "
-"identificación no es válido.\n"
-"# Puede utilizar las siguientes variables:\n"
-"# - self: browse_record de la categoría de ID actual browse_record\n"
-"# - id_number: navegar_record del número de identificación para validar"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -76,6 +79,11 @@ msgstr "Categoría"
msgid "Code"
msgstr "Código"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -94,6 +102,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -126,6 +135,7 @@ msgid "Expired"
msgstr "Expirado"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -178,6 +188,7 @@ msgid "Issued on"
msgstr "Emitido el"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -252,6 +263,11 @@ msgstr "Categorías de Identificación de Socios"
msgid "Place of Issuance"
msgstr "Lugar de Emisión"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -317,3 +333,18 @@ msgstr "Válido hasta"
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_number__valid_from
msgid "Validation period stating date."
msgstr "Fecha de inicio del período de validación."
+
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Código Python. Utilice fail = True para especificar que el número de "
+#~ "identificación no es válido.\n"
+#~ "# Puede utilizar las siguientes variables:\n"
+#~ "# - self: browse_record de la categoría de ID actual browse_record\n"
+#~ "# - id_number: navegar_record del número de identificación para validar"
diff --git a/partner_identification/i18n/es_CL.po b/partner_identification/i18n/es_CL.po
index fe1f662f2..d87532e9a 100644
--- a/partner_identification/i18n/es_CL.po
+++ b/partner_identification/i18n/es_CL.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_CO.po b/partner_identification/i18n/es_CO.po
index 5c8bcbdb1..a66c26223 100644
--- a/partner_identification/i18n/es_CO.po
+++ b/partner_identification/i18n/es_CO.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_CR.po b/partner_identification/i18n/es_CR.po
index 46332212a..8a6dfd639 100644
--- a/partner_identification/i18n/es_CR.po
+++ b/partner_identification/i18n/es_CR.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_DO.po b/partner_identification/i18n/es_DO.po
index 0f7ec4c7e..1c2ce30d2 100644
--- a/partner_identification/i18n/es_DO.po
+++ b/partner_identification/i18n/es_DO.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_EC.po b/partner_identification/i18n/es_EC.po
index 6ed21606a..fcbd3f182 100644
--- a/partner_identification/i18n/es_EC.po
+++ b/partner_identification/i18n/es_EC.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_ES.po b/partner_identification/i18n/es_ES.po
index 1b0733bca..83bb0da0f 100644
--- a/partner_identification/i18n/es_ES.po
+++ b/partner_identification/i18n/es_ES.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_MX.po b/partner_identification/i18n/es_MX.po
index 22ddcca9a..f39df1b22 100644
--- a/partner_identification/i18n/es_MX.po
+++ b/partner_identification/i18n/es_MX.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_PE.po b/partner_identification/i18n/es_PE.po
index 196bc312d..ca041a5a1 100644
--- a/partner_identification/i18n/es_PE.po
+++ b/partner_identification/i18n/es_PE.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_PY.po b/partner_identification/i18n/es_PY.po
index 887068b83..2030204a2 100644
--- a/partner_identification/i18n/es_PY.po
+++ b/partner_identification/i18n/es_PY.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/es_VE.po b/partner_identification/i18n/es_VE.po
index f10b39748..7b11b79b8 100644
--- a/partner_identification/i18n/es_VE.po
+++ b/partner_identification/i18n/es_VE.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/et.po b/partner_identification/i18n/et.po
index dd1f7d440..4d184dc0f 100644
--- a/partner_identification/i18n/et.po
+++ b/partner_identification/i18n/et.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Loodud"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/eu.po b/partner_identification/i18n/eu.po
index 212b9e029..26aa56a9f 100644
--- a/partner_identification/i18n/eu.po
+++ b/partner_identification/i18n/eu.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Created on"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/fa.po b/partner_identification/i18n/fa.po
index aea46a791..77c9802cb 100644
--- a/partner_identification/i18n/fa.po
+++ b/partner_identification/i18n/fa.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "ایجاد شده در"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/fi.po b/partner_identification/i18n/fi.po
index 99211075b..577dbc768 100644
--- a/partner_identification/i18n/fi.po
+++ b/partner_identification/i18n/fi.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Luotu"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/fr.po b/partner_identification/i18n/fr.po
index 30d72d635..40e92e424 100644
--- a/partner_identification/i18n/fr.po
+++ b/partner_identification/i18n/fr.po
@@ -20,22 +20,25 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
-"# You can use the following variables :\n"
-"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -75,6 +78,11 @@ msgstr "Catégorie"
msgid "Code"
msgstr "Code"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -93,6 +101,7 @@ msgid "Created on"
msgstr "Créé le"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -125,6 +134,7 @@ msgid "Expired"
msgstr "Expiré"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -176,6 +186,7 @@ msgid "Issued on"
msgstr "Délivré le"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -251,6 +262,11 @@ msgstr "Catégories d'identifiant"
msgid "Place of Issuance"
msgstr "Lieu de délivrance"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -314,6 +330,21 @@ msgstr "Valide jusqu'à"
msgid "Validation period stating date."
msgstr "Date de début de la période de validité de l'identifiant."
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+
#~ msgid "res.partner.id_category"
#~ msgstr "Catégorie d'identifiant"
diff --git a/partner_identification/i18n/fr_CA.po b/partner_identification/i18n/fr_CA.po
index 65ec2c48e..9d884dbaa 100644
--- a/partner_identification/i18n/fr_CA.po
+++ b/partner_identification/i18n/fr_CA.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Créé le"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/fr_CH.po b/partner_identification/i18n/fr_CH.po
index 843c22d91..928a235d9 100644
--- a/partner_identification/i18n/fr_CH.po
+++ b/partner_identification/i18n/fr_CH.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Créé le"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/gl.po b/partner_identification/i18n/gl.po
index 061809012..75d22ce2a 100644
--- a/partner_identification/i18n/gl.po
+++ b/partner_identification/i18n/gl.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Creado en"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/gl_ES.po b/partner_identification/i18n/gl_ES.po
index 9b422fdf0..1e36da96f 100644
--- a/partner_identification/i18n/gl_ES.po
+++ b/partner_identification/i18n/gl_ES.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/he.po b/partner_identification/i18n/he.po
index 9357f7537..bc15d0f30 100644
--- a/partner_identification/i18n/he.po
+++ b/partner_identification/i18n/he.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "נוצר ב-"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/hr.po b/partner_identification/i18n/hr.po
index 656e9625e..40eeeb95a 100644
--- a/partner_identification/i18n/hr.po
+++ b/partner_identification/i18n/hr.po
@@ -20,15 +20,24 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Datum kreiranja"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/hr_HR.po b/partner_identification/i18n/hr_HR.po
index 5bbca44a5..072d47bc0 100644
--- a/partner_identification/i18n/hr_HR.po
+++ b/partner_identification/i18n/hr_HR.po
@@ -22,15 +22,24 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -67,6 +76,11 @@ msgstr "Kategorija"
msgid "Code"
msgstr "Šifra"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -85,6 +99,7 @@ msgid "Created on"
msgstr "Kreirano"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -114,6 +129,7 @@ msgid "Expired"
msgstr "Isteklo"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -164,6 +180,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -239,6 +256,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/hu.po b/partner_identification/i18n/hu.po
index 1142dcfcf..f3ef885ab 100644
--- a/partner_identification/i18n/hu.po
+++ b/partner_identification/i18n/hu.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Létrehozás dátuma"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/id.po b/partner_identification/i18n/id.po
index 7a085fa29..2a4a4aa69 100644
--- a/partner_identification/i18n/id.po
+++ b/partner_identification/i18n/id.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Dibuat pada"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/it.po b/partner_identification/i18n/it.po
index 928281a20..fc4b79795 100644
--- a/partner_identification/i18n/it.po
+++ b/partner_identification/i18n/it.po
@@ -21,22 +21,25 @@ msgstr ""
"X-Generator: Weblate 3.3\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
"\n"
-"# Codice Python. Usare failed = True per specificare che il numero "
-"documento non è valido.\n"
-"# È possibile utilizzare le seguenti variabili :\n"
-"# - self: browse_record della categoria documento corrente browse_record\n"
-"# - id_number: browse_record del numero documento da validare"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -76,6 +79,11 @@ msgstr "Categoria"
msgid "Code"
msgstr "Codice"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -94,6 +102,7 @@ msgid "Created on"
msgstr "Creato il"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -126,6 +135,7 @@ msgid "Expired"
msgstr "Scaduto"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -179,6 +189,7 @@ msgid "Issued on"
msgstr "Emesso il"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -254,6 +265,11 @@ msgstr "Categorie di identificazione del partner"
msgid "Place of Issuance"
msgstr "Luogo di emissione"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -318,6 +334,22 @@ msgstr "Valido fino a"
msgid "Validation period stating date."
msgstr "Data di inizio periodo di validità."
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Codice Python. Usare failed = True per specificare che il numero "
+#~ "documento non è valido.\n"
+#~ "# È possibile utilizzare le seguenti variabili :\n"
+#~ "# - self: browse_record della categoria documento corrente "
+#~ "browse_record\n"
+#~ "# - id_number: browse_record del numero documento da validare"
+
#~ msgid "res.partner.id_category"
#~ msgstr "res.partner.id_category"
diff --git a/partner_identification/i18n/ja.po b/partner_identification/i18n/ja.po
index 90ae760bf..504741b8e 100644
--- a/partner_identification/i18n/ja.po
+++ b/partner_identification/i18n/ja.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "作成日"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/ko.po b/partner_identification/i18n/ko.po
index 63b34ddd0..cd8aa8015 100644
--- a/partner_identification/i18n/ko.po
+++ b/partner_identification/i18n/ko.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "작성일"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/lt.po b/partner_identification/i18n/lt.po
index 8f0944698..1b6ef9ffc 100644
--- a/partner_identification/i18n/lt.po
+++ b/partner_identification/i18n/lt.po
@@ -20,15 +20,24 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Sukurta"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/lt_LT.po b/partner_identification/i18n/lt_LT.po
index 940e92d6e..ec389e3a6 100644
--- a/partner_identification/i18n/lt_LT.po
+++ b/partner_identification/i18n/lt_LT.po
@@ -21,15 +21,24 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -66,6 +75,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -84,6 +98,7 @@ msgid "Created on"
msgstr "Sukurta"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -111,6 +126,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -160,6 +176,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -233,6 +250,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/lv.po b/partner_identification/i18n/lv.po
index 1193eb268..8b37bb360 100644
--- a/partner_identification/i18n/lv.po
+++ b/partner_identification/i18n/lv.po
@@ -20,15 +20,24 @@ msgstr ""
"2);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Izveidots"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/mk.po b/partner_identification/i18n/mk.po
index ca1cfc982..a412f09d5 100644
--- a/partner_identification/i18n/mk.po
+++ b/partner_identification/i18n/mk.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Креирано на"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/mn.po b/partner_identification/i18n/mn.po
index 24bbab9d4..968af4e0d 100644
--- a/partner_identification/i18n/mn.po
+++ b/partner_identification/i18n/mn.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Үүсгэсэн"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/nb.po b/partner_identification/i18n/nb.po
index c7da332c3..6504f7679 100644
--- a/partner_identification/i18n/nb.po
+++ b/partner_identification/i18n/nb.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Opprettet den"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/nb_NO.po b/partner_identification/i18n/nb_NO.po
index 24d68e5d4..77c178573 100644
--- a/partner_identification/i18n/nb_NO.po
+++ b/partner_identification/i18n/nb_NO.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Laget den"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/nl.po b/partner_identification/i18n/nl.po
index 15e7852f5..74b165d60 100644
--- a/partner_identification/i18n/nl.po
+++ b/partner_identification/i18n/nl.po
@@ -23,15 +23,24 @@ msgstr ""
"X-Generator: Weblate 3.10\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -68,6 +77,11 @@ msgstr ""
msgid "Code"
msgstr "Code"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -86,6 +100,7 @@ msgid "Created on"
msgstr "Aangemaakt op"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -113,6 +128,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -162,6 +178,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -235,6 +252,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/nl_BE.po b/partner_identification/i18n/nl_BE.po
index 48bb11534..6116d442f 100644
--- a/partner_identification/i18n/nl_BE.po
+++ b/partner_identification/i18n/nl_BE.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Gemaakt op"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/nl_NL.po b/partner_identification/i18n/nl_NL.po
index 9ddd38e74..8ae496935 100644
--- a/partner_identification/i18n/nl_NL.po
+++ b/partner_identification/i18n/nl_NL.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr "Categorie"
msgid "Code"
msgstr "Code"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Aangemaakt op"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr "Verlopen"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr "Uitgegeven op"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -233,6 +250,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/pl.po b/partner_identification/i18n/pl.po
index 0b674fe79..ab5d2888b 100644
--- a/partner_identification/i18n/pl.po
+++ b/partner_identification/i18n/pl.po
@@ -21,15 +21,24 @@ msgstr ""
"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -66,6 +75,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -84,6 +98,7 @@ msgid "Created on"
msgstr "Utworzono"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -111,6 +126,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -160,6 +176,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -233,6 +250,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/pt.po b/partner_identification/i18n/pt.po
index 1db145ce3..ae1e4e14c 100644
--- a/partner_identification/i18n/pt.po
+++ b/partner_identification/i18n/pt.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Criado em"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/pt_BR.po b/partner_identification/i18n/pt_BR.po
index 3edc0fa06..cd957982d 100644
--- a/partner_identification/i18n/pt_BR.po
+++ b/partner_identification/i18n/pt_BR.po
@@ -21,15 +21,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -66,6 +75,11 @@ msgstr "Categoria"
msgid "Code"
msgstr "Codigo"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -84,6 +98,7 @@ msgid "Created on"
msgstr "Criado em"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -113,6 +128,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -162,6 +178,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -236,6 +253,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/pt_PT.po b/partner_identification/i18n/pt_PT.po
index e24563569..ac80bf948 100644
--- a/partner_identification/i18n/pt_PT.po
+++ b/partner_identification/i18n/pt_PT.po
@@ -12,8 +12,8 @@ msgstr ""
"POT-Creation-Date: 2017-11-21 01:49+0000\n"
"PO-Revision-Date: 2021-10-26 17:35+0000\n"
"Last-Translator: educasilva \n"
-"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/"
-"23907/pt_PT/)\n"
+"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/"
+"teams/23907/pt_PT/)\n"
"Language: pt_PT\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -22,22 +22,25 @@ msgstr ""
"X-Generator: Weblate 4.3.2\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
"\n"
-"# Código Python. Utilização falhada = Verdadeiro para especificar que o "
-"número de identificação não é válido.\n"
-"# Pode utilizar as seguintes variáveis :\n"
-"# - self: browse_record da Categoria ID actual browse_record\n"
-"# - id_number: navegar_registo de número de identificação para validar"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -75,6 +78,11 @@ msgstr "Categoria"
msgid "Code"
msgstr "Código"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -93,6 +101,7 @@ msgid "Created on"
msgstr "Criado em"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -125,6 +134,7 @@ msgid "Expired"
msgstr "Expirado"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -178,6 +188,7 @@ msgid "Issued on"
msgstr "Emitido em"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -251,6 +262,11 @@ msgstr "Categorias de identificação de parceiros"
msgid "Place of Issuance"
msgstr "Local de Emissão"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -315,3 +331,18 @@ msgstr "Válido até"
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_number__valid_from
msgid "Validation period stating date."
msgstr "Período de validação indicando a data."
+
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Código Python. Utilização falhada = Verdadeiro para especificar que o "
+#~ "número de identificação não é válido.\n"
+#~ "# Pode utilizar as seguintes variáveis :\n"
+#~ "# - self: browse_record da Categoria ID actual browse_record\n"
+#~ "# - id_number: navegar_registo de número de identificação para validar"
diff --git a/partner_identification/i18n/ro.po b/partner_identification/i18n/ro.po
index 97cc7affe..b58acd830 100644
--- a/partner_identification/i18n/ro.po
+++ b/partner_identification/i18n/ro.po
@@ -20,15 +20,24 @@ msgstr ""
"2:1));\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Creat la"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/ru.po b/partner_identification/i18n/ru.po
index c176ace92..404ed67c0 100644
--- a/partner_identification/i18n/ru.po
+++ b/partner_identification/i18n/ru.po
@@ -21,15 +21,24 @@ msgstr ""
"%100>=11 && n%100<=14)? 2 : 3);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -66,6 +75,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -84,6 +98,7 @@ msgid "Created on"
msgstr "Создан"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -111,6 +126,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -160,6 +176,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -233,6 +250,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/sk.po b/partner_identification/i18n/sk.po
index 41f3cb8d3..f545497ea 100644
--- a/partner_identification/i18n/sk.po
+++ b/partner_identification/i18n/sk.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Vytvorené"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/sl.po b/partner_identification/i18n/sl.po
index 075630736..0a091185d 100644
--- a/partner_identification/i18n/sl.po
+++ b/partner_identification/i18n/sl.po
@@ -20,22 +20,25 @@ msgstr ""
"%100==4 ? 2 : 3);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
"\n"
-"# Python koda. Uporabi failed = True za določitev neveljavnosti ID "
-"številke.\n"
-"# Lahko uporabite naslednje spremenljivke:\n"
-"# - self: dostop do zpisa trenutne ID kategorije\n"
-"# - id_number: dostop do zapisa ID številke za validacojo"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -71,6 +74,11 @@ msgstr "Kategorija"
msgid "Code"
msgstr "Koda"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -89,6 +97,7 @@ msgid "Created on"
msgstr "Ustvarjeno"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -121,6 +130,7 @@ msgid "Expired"
msgstr "Potekel"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -172,6 +182,7 @@ msgid "Issued on"
msgstr "Izdano"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -247,6 +258,11 @@ msgstr "Partnerjeve identifikacijske kategorije"
msgid "Place of Issuance"
msgstr "Kraj zavarovanja"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -306,3 +322,18 @@ msgstr "Veljavno do"
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_number__valid_from
msgid "Validation period stating date."
msgstr "Datum pričetka obdobja validacije."
+
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Python koda. Uporabi failed = True za določitev neveljavnosti ID "
+#~ "številke.\n"
+#~ "# Lahko uporabite naslednje spremenljivke:\n"
+#~ "# - self: dostop do zpisa trenutne ID kategorije\n"
+#~ "# - id_number: dostop do zapisa ID številke za validacojo"
diff --git a/partner_identification/i18n/sr.po b/partner_identification/i18n/sr.po
index 0f4146d3f..f3d198664 100644
--- a/partner_identification/i18n/sr.po
+++ b/partner_identification/i18n/sr.po
@@ -20,15 +20,24 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Kreiran"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/sr@latin.po b/partner_identification/i18n/sr@latin.po
index 46121f454..9621adf46 100644
--- a/partner_identification/i18n/sr@latin.po
+++ b/partner_identification/i18n/sr@latin.po
@@ -21,15 +21,24 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -66,6 +75,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -84,6 +98,7 @@ msgid "Created on"
msgstr "Kreiran"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -111,6 +126,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -160,6 +176,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -233,6 +250,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/sv.po b/partner_identification/i18n/sv.po
index 2cf06e231..d18b698fc 100644
--- a/partner_identification/i18n/sv.po
+++ b/partner_identification/i18n/sv.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Skapad den"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/th.po b/partner_identification/i18n/th.po
index 3400221c2..14e050839 100644
--- a/partner_identification/i18n/th.po
+++ b/partner_identification/i18n/th.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "สร้างเมื่อ"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/tr.po b/partner_identification/i18n/tr.po
index c5e43d597..53a8b5d45 100644
--- a/partner_identification/i18n/tr.po
+++ b/partner_identification/i18n/tr.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Oluşturuldu"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/tr_TR.po b/partner_identification/i18n/tr_TR.po
index 86e349673..e2bd3a6d9 100644
--- a/partner_identification/i18n/tr_TR.po
+++ b/partner_identification/i18n/tr_TR.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Oluşturulma tarihi"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/uk.po b/partner_identification/i18n/uk.po
index df11f998c..f3bb89400 100644
--- a/partner_identification/i18n/uk.po
+++ b/partner_identification/i18n/uk.po
@@ -20,15 +20,24 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Дата створення"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/vi.po b/partner_identification/i18n/vi.po
index 4779da5f2..d8c014581 100644
--- a/partner_identification/i18n/vi.po
+++ b/partner_identification/i18n/vi.po
@@ -19,15 +19,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -64,6 +73,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -82,6 +96,7 @@ msgid "Created on"
msgstr "Được tạo vào"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -109,6 +124,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -158,6 +174,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -231,6 +248,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/vi_VN.po b/partner_identification/i18n/vi_VN.po
index abe0f1bac..a88e83dbe 100644
--- a/partner_identification/i18n/vi_VN.po
+++ b/partner_identification/i18n/vi_VN.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "Tạo vào"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
diff --git a/partner_identification/i18n/zh_CN.po b/partner_identification/i18n/zh_CN.po
index 412264dd4..519c56f26 100644
--- a/partner_identification/i18n/zh_CN.po
+++ b/partner_identification/i18n/zh_CN.po
@@ -21,21 +21,25 @@ msgstr ""
"X-Generator: Weblate 3.10\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
-msgstr ""
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
"\n"
-"# Python 代码. 通过 failed = True 来判定证件号码无效。\n"
-"# 你可以使用以下变量:\n"
-"# - self: 当前证件类型的记录集\n"
-"# - id_number: 待验证证件号码记录集"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
+msgstr ""
#. module: partner_identification
#: code:addons/partner_identification/models/res_partner_id_category.py:0
@@ -71,6 +75,11 @@ msgstr "证件类型"
msgid "Code"
msgstr "代码"
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -89,6 +98,7 @@ msgid "Created on"
msgstr "创建时间"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -119,6 +129,7 @@ msgid "Expired"
msgstr "已过期"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -168,6 +179,7 @@ msgid "Issued on"
msgstr "签发日期"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -241,6 +253,11 @@ msgstr "业务伙伴证件类型"
msgid "Place of Issuance"
msgstr "签发地点"
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."
@@ -302,3 +319,17 @@ msgstr "有效期至"
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_number__valid_from
msgid "Validation period stating date."
msgstr "有效期开始日期。"
+
+#~ msgid ""
+#~ "\n"
+#~ "# Python code. Use failed = True to specify that the id number is not "
+#~ "valid.\n"
+#~ "# You can use the following variables :\n"
+#~ "# - self: browse_record of the current ID Category browse_record\n"
+#~ "# - id_number: browse_record of ID number to validate"
+#~ msgstr ""
+#~ "\n"
+#~ "# Python 代码. 通过 failed = True 来判定证件号码无效。\n"
+#~ "# 你可以使用以下变量:\n"
+#~ "# - self: 当前证件类型的记录集\n"
+#~ "# - id_number: 待验证证件号码记录集"
diff --git a/partner_identification/i18n/zh_TW.po b/partner_identification/i18n/zh_TW.po
index 33a62dfef..56733d268 100644
--- a/partner_identification/i18n/zh_TW.po
+++ b/partner_identification/i18n/zh_TW.po
@@ -20,15 +20,24 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: partner_identification
-#: code:addons/partner_identification/models/res_partner_id_category.py:0
-#, python-format
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
msgid ""
-"\n"
-"# Python code. Use failed = True to specify that the id number is not "
-"valid.\n"
+"# Use failed = True to specify that the id number is not valid.\n"
"# You can use the following variables :\n"
"# - self: browse_record of the current ID Category browse_record\n"
-"# - id_number: browse_record of ID number to validate"
+"# - id_number: browse_record of ID number to validate\n"
+"\n"
+"# Sample 1: ID number only contains digits\n"
+"if not id_number.name.isdigit():\n"
+" failed = True\n"
+"else:\n"
+" failed = False\n"
+"\n"
+"# Sample 2: Length of ID number cannot exceed 10 chars\n"
+"failed = len(id_number.name) > 10 and True or False\n"
+"\n"
+"# Sample 3: ID number must start with the category code\n"
+"failed = not id_number.name.startswith(self.code) and True or False"
msgstr ""
#. module: partner_identification
@@ -65,6 +74,11 @@ msgstr ""
msgid "Code"
msgstr ""
+#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__color
+msgid "Color Index"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model,name:partner_identification.model_res_partner
msgid "Contact"
@@ -83,6 +97,7 @@ msgid "Created on"
msgstr "建立於"
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__display_name
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__display_name
msgid "Display Name"
@@ -110,6 +125,7 @@ msgid "Expired"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category__id
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number__id
msgid "ID"
@@ -159,6 +175,7 @@ msgid "Issued on"
msgstr ""
#. module: partner_identification
+#: model:ir.model.fields,field_description:partner_identification.field_res_partner____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_category____last_update
#: model:ir.model.fields,field_description:partner_identification.field_res_partner_id_number____last_update
msgid "Last Modified on"
@@ -232,6 +249,11 @@ msgstr ""
msgid "Place of Issuance"
msgstr ""
+#. module: partner_identification
+#: model_terms:ir.ui.view,arch_db:partner_identification.view_partner_id_category_form
+msgid "Python Validation Code:"
+msgstr ""
+
#. module: partner_identification
#: model:ir.model.fields,help:partner_identification.field_res_partner_id_category__validation_code
msgid "Python code called to validate an id number."