diff --git a/base_exception/i18n/am.po b/base_exception/i18n/am.po
index f7f2943d2..a8a6c8962 100644
--- a/base_exception/i18n/am.po
+++ b/base_exception/i18n/am.po
@@ -19,102 +19,167 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+msgid "Exception"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +188,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +232,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +282,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/ar.po b/base_exception/i18n/ar.po
index 8e10991b9..340bf5076 100644
--- a/base_exception/i18n/ar.po
+++ b/base_exception/i18n/ar.po
@@ -21,43 +21,87 @@ msgstr ""
"X-Generator: Weblate 3.0.1\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "نشط"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr "التطبيق على"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "أنشئ بواسطة"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "أنشئ في"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "الوصف"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "اسم العرض"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
-#, python-format
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
+#, fuzzy, python-format
+#| msgid ""
+#| "Error when evaluating the exception.rule rule:\n"
+#| " %s \n"
+#| "(%s)"
+msgid ""
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
"يوجد خطأ عند تطبيق قانون الخلل:\n"
@@ -65,61 +109,92 @@ msgstr ""
"(%s)"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exceptions"
+msgid "Exception"
+msgstr "الخلل"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "اسم الخلل"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "قانون الخلل"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "Exception Rule"
+msgid "Exception Rule Confirm Wizard"
+msgstr "قانون الخلل"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr "اعداد قانون الخلل"
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr "قوانين الخلل"
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "اسم الخلل"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr "مدير قوانين الخلل"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr "الخلل"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr "قوانين الخلل"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr "خلل في انتظار التجاوز"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "المعرف"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -128,40 +203,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr "تجاهل الخلل"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "آخر تعديل في"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "آخر تحديث بواسطة"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "آخر تحديث في"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr "الخلل الرئيسي"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr "الحالة القادمة"
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -172,47 +247,48 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
msgid "Related Model"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -220,16 +296,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/bg.po b/base_exception/i18n/bg.po
index b8308b618..335f52a24 100644
--- a/base_exception/i18n/bg.po
+++ b/base_exception/i18n/bg.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Активен"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Създадено от"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Създадено на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Описание"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Име за Показване"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Описание"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Последно обновено на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Последно обновено от"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Последно обновено на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Създадено на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/bs.po b/base_exception/i18n/bs.po
index ca034124f..8ff802967 100644
--- a/base_exception/i18n/bs.po
+++ b/base_exception/i18n/bs.po
@@ -20,102 +20,169 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Opis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Prikaži naziv"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Opis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Zadnje mijenjano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Zadnje ažurirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Kreirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/ca.po b/base_exception/i18n/ca.po
index 052e20b01..41677d2be 100644
--- a/base_exception/i18n/ca.po
+++ b/base_exception/i18n/ca.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Actiu"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creat per"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creat el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripció"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Veure el nom"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripció"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Darrera modificació el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Darrera Actualització per"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Darrera Actualització el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creat el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/cs.po b/base_exception/i18n/cs.po
index d3f7f4caa..58e86fd32 100644
--- a/base_exception/i18n/cs.po
+++ b/base_exception/i18n/cs.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Vytvořil(a)"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Vytvořeno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Popis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Zobrazovaný název"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Popis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Naposled upraveno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Naposled upraveno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Naposled upraveno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Vytvořeno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/cs_CZ.po b/base_exception/i18n/cs_CZ.po
index 840a7de7b..7388ebb6f 100644
--- a/base_exception/i18n/cs_CZ.po
+++ b/base_exception/i18n/cs_CZ.po
@@ -20,102 +20,179 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktivní"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr "Použít na"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+#, fuzzy
+#| msgid "Python Code"
+msgid "By python code"
+msgstr "Python kód"
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Vytvořil"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Vytvořeno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Popis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Zobrazit název"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
-#, python-format
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
+#, fuzzy, python-format
+#| msgid ""
+#| "Error when evaluating the exception.rule rule:\n"
+#| " %s \n"
+#| "(%s)"
+msgid ""
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr "Chyba při vyhodnocování pravidla exception.rule: %s (%s)"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exceptions"
+msgid "Exception"
+msgstr "Výjimky"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "Název výjimky"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "Pravidlo výjimek"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "exception.rule.confirm"
+msgid "Exception Rule Confirm Wizard"
+msgstr "pravidlo.výjimky.potvrzení"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr "Nastavení výjimek"
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr "Pravidla výjimek"
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "Název výjimky"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr "Správce výjimek"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr "Výjimky"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr "Pravidla výjimek"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr "Výjimky k vyřešení"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr "Dává pořadí sekvence při použití testu"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -128,40 +205,40 @@ msgstr ""
"sekvence"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr "Ignorovat výjimky"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Poslední změna dne"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Naposledy aktualizováno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Poslední aktualizace dne"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr "Hlavní výjimka"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr "Další stav"
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr "Pouze 1 ID přijato, dostal %r."
@@ -172,17 +249,18 @@ msgid "Outstanding exceptions to manage"
msgstr "Vynikající výjimky pro správu"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr "Nesprávné výjimky pro správce"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr "Python kód"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
@@ -191,18 +269,18 @@ msgstr ""
"Použití selhaní = pravda pro zablokování výjimky"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
msgid "Related Model"
msgstr "Související model"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr "Skupina pravidel"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
@@ -212,12 +290,12 @@ msgstr ""
"pravidly objednávky prodeje."
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Sekvence"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -227,16 +305,21 @@ msgstr ""
"nesprávná. Hodnota musí být v tomto seznamu %s"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
-msgstr "_Zavřít"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
-msgstr "základní.výjimka"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
-msgstr "pravidlo.výjimky.potvrzení"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
+msgstr "_Zavřít"
+
+#~ msgid "base.exception"
+#~ msgstr "základní.výjimka"
diff --git a/base_exception/i18n/da.po b/base_exception/i18n/da.po
index 160c51200..2d3d15a3e 100644
--- a/base_exception/i18n/da.po
+++ b/base_exception/i18n/da.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktiv"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Oprettet af"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Oprettet den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Beskrivelse"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Vist navn"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Beskrivelse"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "Id"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Sidst ændret den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Sidst opdateret af"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Sidst opdateret den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Oprettet den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/de.po b/base_exception/i18n/de.po
index 7c252e8dd..559c921df 100644
--- a/base_exception/i18n/de.po
+++ b/base_exception/i18n/de.po
@@ -20,43 +20,89 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktiv"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr "Anwenden auf"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+#, fuzzy
+#| msgid "Python Code"
+msgid "By python code"
+msgstr "Python Code"
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Erstellt durch"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Erstellt am"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Beschreibung"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Anzeigename"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
-#, python-format
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
+#, fuzzy, python-format
+#| msgid ""
+#| "Error when evaluating the exception.rule rule:\n"
+#| " %s \n"
+#| "(%s)"
+msgid ""
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
"Fehler bei Auswertung der exception.rule Regel:\n"
@@ -64,61 +110,92 @@ msgstr ""
"(%s)"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exceptions"
+msgid "Exception"
+msgstr "Ausnahmen"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "Ausnahmebezeichnung"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "Ausnahmeregel"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "exception.rule.confirm"
+msgid "Exception Rule Confirm Wizard"
+msgstr "exception.rule.confirm"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr "Einstellungen zu Ausnahmeregeln"
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr "Ausnahmeregeln"
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "Ausnahmebezeichnung"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr "Ausnahmeverwaltung"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr "Ausnahmen"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr "Ausnahmenregeln"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr "Aufzulösende Ausnahmen"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr "Gibt die Reihenfolge der Test-Ausführungen vor"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -131,40 +208,40 @@ msgstr ""
"den mit kleinstem Reihenfolgewert heran."
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr "Ausnahmen ignorieren"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Zuletzt geändert am"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Zuletzt aktualisiert durch"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Zuletzt aktualisiert am"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr "Haupt-Ausnahme"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr "Nächster Status"
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr "Nur 1 ID zugelassen, erhielt %r."
@@ -175,35 +252,36 @@ msgid "Outstanding exceptions to manage"
msgstr "Ausstehende zu verarbeitende Ausnahmen"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr "Ausstehende Ausnahmen an Manager"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr "Python Code"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr "Zur Prüfung ausgeführter Python Code, ob Ausnahme zutrifft oder nicht."
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
msgid "Related Model"
msgstr "Zugehöriges Modell"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr "Regelgruppe"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
@@ -213,12 +291,12 @@ msgstr ""
"mit Regeln zu sale.order."
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Reihenfolge"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -228,16 +306,21 @@ msgstr ""
"falsch. Der Wert muss einer aus Liste %s sein."
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
-msgstr "_Schliessen"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
-msgstr "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
-msgstr "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
+msgstr "_Schliessen"
+
+#~ msgid "base.exception"
+#~ msgstr "base.exception"
diff --git a/base_exception/i18n/el_GR.po b/base_exception/i18n/el_GR.po
index 8a09cdde2..e1184d06f 100644
--- a/base_exception/i18n/el_GR.po
+++ b/base_exception/i18n/el_GR.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Δημιουργήθηκε από "
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Δημιουργήθηκε στις"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Περιγραφή"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Περιγραφή"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "Κωδικός"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Τελευταία ενημέρωση από"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Τελευταία ενημέρωση στις"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Δημιουργήθηκε στις"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/en_GB.po b/base_exception/i18n/en_GB.po
index c99a96b91..78dc109c9 100644
--- a/base_exception/i18n/en_GB.po
+++ b/base_exception/i18n/en_GB.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Created by"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Created on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Description"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Display Name"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Description"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Last Modified on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Last Updated by"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Last Updated on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Created on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es.po b/base_exception/i18n/es.po
index 5af690c30..3f30b97d8 100644
--- a/base_exception/i18n/es.po
+++ b/base_exception/i18n/es.po
@@ -20,43 +20,89 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Activo"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr "Aplicar en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+#, fuzzy
+#| msgid "Python Code"
+msgid "By python code"
+msgstr "Código python"
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre a mostrar"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
-#, python-format
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
+#, fuzzy, python-format
+#| msgid ""
+#| "Error when evaluating the exception.rule rule:\n"
+#| " %s \n"
+#| "(%s)"
+msgid ""
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
"Error al evaluar la regla exception.rule:\n"
@@ -64,61 +110,92 @@ msgstr ""
"(%s)"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exceptions"
+msgid "Exception"
+msgstr "Excepciones"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "Nombre de la excepción"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "Regla de excepción"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "exception.rule.confirm"
+msgid "Exception Rule Confirm Wizard"
+msgstr "exception.rule.confirm"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr "Configuración de regla de excepción"
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr "Reglas de excepción"
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "Nombre de la excepción"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr "Administrador de excepciones"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr "Excepciones"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr "Reglas de excepción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr "Excepciones por resolver"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -127,40 +204,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr "Ignorar excepciones"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última actualización por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr "Excepción principal"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr "Estado siguiente"
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -171,47 +248,48 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr "Código python"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
msgid "Related Model"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr "Grupo de reglas"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Secuencia"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -219,16 +297,21 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
-msgstr "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
-msgstr "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
+msgstr ""
+
+#~ msgid "base.exception"
+#~ msgstr "base.exception"
diff --git a/base_exception/i18n/es_AR.po b/base_exception/i18n/es_AR.po
index 637d4ef46..f9eaa74cc 100644
--- a/base_exception/i18n/es_AR.po
+++ b/base_exception/i18n/es_AR.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Mostrar Nombre"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última modificación en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización realizada por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_CL.po b/base_exception/i18n/es_CL.po
index 648219fbb..c8a3e5607 100644
--- a/base_exception/i18n/es_CL.po
+++ b/base_exception/i18n/es_CL.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre mostrado"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID (identificación)"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última modificación en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización de"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_CO.po b/base_exception/i18n/es_CO.po
index 0b5bece17..144186d57 100644
--- a/base_exception/i18n/es_CO.po
+++ b/base_exception/i18n/es_CO.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre Público"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Actualizado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Actualizado"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_CR.po b/base_exception/i18n/es_CR.po
index 1da4b8c74..1cf734821 100644
--- a/base_exception/i18n/es_CR.po
+++ b/base_exception/i18n/es_CR.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Ultima actualización por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Ultima actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_DO.po b/base_exception/i18n/es_DO.po
index 6c062620c..9df7d92e7 100644
--- a/base_exception/i18n/es_DO.po
+++ b/base_exception/i18n/es_DO.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre mostrado"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última modificación en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización de"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_EC.po b/base_exception/i18n/es_EC.po
index 6c8192742..5dfec07f0 100644
--- a/base_exception/i18n/es_EC.po
+++ b/base_exception/i18n/es_EC.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre mostrado"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID (identificación)"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última modificación en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización de"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_ES.po b/base_exception/i18n/es_ES.po
index 8257f1000..7c8b8bba3 100644
--- a/base_exception/i18n/es_ES.po
+++ b/base_exception/i18n/es_ES.po
@@ -20,102 +20,167 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre para mostrar"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+msgid "Exception"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +189,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última modificación en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +233,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +283,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_MX.po b/base_exception/i18n/es_MX.po
index 1af7e528b..d10166937 100644
--- a/base_exception/i18n/es_MX.po
+++ b/base_exception/i18n/es_MX.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre desplegado"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Ultima modificacion realizada"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Ultima actualizacion por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Ultima actualización realizada"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_PE.po b/base_exception/i18n/es_PE.po
index d85586633..c5ff5eb35 100644
--- a/base_exception/i18n/es_PE.po
+++ b/base_exception/i18n/es_PE.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nombre a Mostrar"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Ultima Modificación en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Actualizado última vez por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Ultima Actualización"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_PY.po b/base_exception/i18n/es_PY.po
index d8d81ce24..547c84921 100644
--- a/base_exception/i18n/es_PY.po
+++ b/base_exception/i18n/es_PY.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Ultima actualización por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Ultima actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/es_VE.po b/base_exception/i18n/es_VE.po
index 1bddb763c..11a700b11 100644
--- a/base_exception/i18n/es_VE.po
+++ b/base_exception/i18n/es_VE.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descripción"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Mostrar nombre"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descripción"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Modificada por última vez"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última actualización realizada por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Ultima actualizacion en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/et.po b/base_exception/i18n/et.po
index 49110aeb0..3d0afea8d 100644
--- a/base_exception/i18n/et.po
+++ b/base_exception/i18n/et.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Loonud"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Loodud"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Kirjeldus"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Näidatav nimi"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Kirjeldus"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Viimati muudetud"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Viimati uuendatud"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Viimati uuendatud"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Loodud"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/eu.po b/base_exception/i18n/eu.po
index ba0fb69e9..f9429d1ea 100644
--- a/base_exception/i18n/eu.po
+++ b/base_exception/i18n/eu.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Nork sortua"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Created on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Deskribapena"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Izena erakutsi"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Deskribapena"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Last Updated by"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Last Updated on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Created on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/fa.po b/base_exception/i18n/fa.po
index dc44e4db9..ae69e95d0 100644
--- a/base_exception/i18n/fa.po
+++ b/base_exception/i18n/fa.po
@@ -20,102 +20,173 @@ msgstr ""
"X-Generator: Weblate 3.0.1\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "فعال"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr "اعمال بر"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "ایجاد شده توسط"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "ایجاد شده در"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "توصیف"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "نام نمایشی"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception"
+msgstr "نام استثنا"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "نام استثنا"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "قاعده استثنا"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "Exception Rule"
+msgid "Exception Rule Confirm Wizard"
+msgstr "قاعده استثنا"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "نام استثنا"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "شناسه"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +195,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "تاریخ آخرین بهروزرسانی"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "آخرین به روز رسانی توسط"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "آخرین به روز رسانی در"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +239,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "ایجاد شده در"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +289,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/fi.po b/base_exception/i18n/fi.po
index 7b049f0db..50e620588 100644
--- a/base_exception/i18n/fi.po
+++ b/base_exception/i18n/fi.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktiivinen"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Luonut"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Luotu"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Kuvaus"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nimi"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Kuvaus"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Viimeksi muokattu"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Viimeksi päivittänyt"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Viimeksi päivitetty"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Luotu"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/fr.po b/base_exception/i18n/fr.po
index b2a8b432a..946c76b27 100644
--- a/base_exception/i18n/fr.po
+++ b/base_exception/i18n/fr.po
@@ -20,43 +20,89 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Actif"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr "Appliquer sur"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+#, fuzzy
+#| msgid "Python Code"
+msgid "By python code"
+msgstr "Code Python"
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Créé par"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Créé le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Description"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nom à afficher"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
-#, python-format
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
+#, fuzzy, python-format
+#| msgid ""
+#| "Error when evaluating the exception.rule rule:\n"
+#| " %s \n"
+#| "(%s)"
+msgid ""
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
"L'evaluatino de la règle d'exception a généré une erreur :\n"
@@ -64,61 +110,92 @@ msgstr ""
"(%s)"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exceptions"
+msgid "Exception"
+msgstr "Exceptions"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "Nom de l'exception"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "Règle de l'exception"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "exception.rule.confirm"
+msgid "Exception Rule Confirm Wizard"
+msgstr "exception.rule.confirm"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr "Paramètre de la règle de l'exception"
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr "Règles de restriction"
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "Nom de l'exception"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr "Gestionnaire d'exception"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr "Exceptions"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr "Règles d'exceptions"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr "Exceptions à resoudre"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr "Donner l'order d'application des règles"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -131,40 +208,40 @@ msgstr ""
"la plus petite valeur de séquence"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr "Ignorer les exceptions"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Dernière Modification le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Dernière mise à jour par"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Dernière mise à jour le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr "Exception principale"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr "Etat suivant"
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr "Seulement 1 ID est accepté, reçu %r."
@@ -175,17 +252,18 @@ msgid "Outstanding exceptions to manage"
msgstr "Exceptions en attente à gérer"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr "Exceptions en attente à gérer"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr "Code Python"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
@@ -194,18 +272,18 @@ msgstr ""
"Utilisation failed = True pour bloquer l'exception"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
msgid "Related Model"
msgstr "Model associé"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr "Règle de groupe"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
@@ -215,12 +293,12 @@ msgstr ""
"avec les règles de sale order."
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Séquence"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -230,16 +308,21 @@ msgstr ""
"\" est incorrecte. La valeur doit être dans cette liste %s"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
-msgstr "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
-msgstr "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
-msgstr "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
+msgstr "_Close"
+
+#~ msgid "base.exception"
+#~ msgstr "base.exception"
diff --git a/base_exception/i18n/fr_CA.po b/base_exception/i18n/fr_CA.po
index a62cbbc63..b7b87bda5 100644
--- a/base_exception/i18n/fr_CA.po
+++ b/base_exception/i18n/fr_CA.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Créé par"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Créé le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Description"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Afficher le nom"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Description"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "Identifiant"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Dernière mise à jour par"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Dernière mise à jour le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Créé le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/fr_CH.po b/base_exception/i18n/fr_CH.po
index 915853107..0d8f82a7b 100644
--- a/base_exception/i18n/fr_CH.po
+++ b/base_exception/i18n/fr_CH.po
@@ -20,102 +20,167 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Actif"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Créé par"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Créé le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nom affiché"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+msgid "Exception"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +189,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Dernière modification le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Modifié par"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Modifié le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +233,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Créé le"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +283,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/gl.po b/base_exception/i18n/gl.po
index 517055527..7bbfd55cc 100644
--- a/base_exception/i18n/gl.po
+++ b/base_exception/i18n/gl.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descrición"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descrición"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última modificación"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "ültima actualización por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última actualización en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creado en"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/gl_ES.po b/base_exception/i18n/gl_ES.po
index 92a4338df..26e55ae43 100644
--- a/base_exception/i18n/gl_ES.po
+++ b/base_exception/i18n/gl_ES.po
@@ -20,102 +20,167 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+msgid "Exception"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +189,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,47 +233,48 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
msgid "Related Model"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +282,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/he.po b/base_exception/i18n/he.po
index 4861c9404..1323c9622 100644
--- a/base_exception/i18n/he.po
+++ b/base_exception/i18n/he.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "נוצר על ידי"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "נוצר ב-"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "תיאור"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "השם המוצג"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "תיאור"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "מזהה"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "תאריך שינוי אחרון"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "עודכן לאחרונה על ידי"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "עודכן לאחרונה על"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "נוצר ב-"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/hr.po b/base_exception/i18n/hr.po
index aa3543a8d..b8232948a 100644
--- a/base_exception/i18n/hr.po
+++ b/base_exception/i18n/hr.po
@@ -21,102 +21,171 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktivan"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Opis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Naziv "
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "base.exception"
+msgid "Exception"
+msgstr "base.exception"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "exception.rule.confirm"
+msgid "Exception Rule Confirm Wizard"
+msgstr "exception.rule.confirm"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -125,40 +194,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Zadnje modificirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Zadnje ažuriranje"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,48 +238,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Kreirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Sekvenca"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -218,16 +288,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
-msgstr "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
-msgstr "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
+msgstr ""
diff --git a/base_exception/i18n/hr_HR.po b/base_exception/i18n/hr_HR.po
index a970f5095..fc2f70018 100644
--- a/base_exception/i18n/hr_HR.po
+++ b/base_exception/i18n/hr_HR.po
@@ -21,102 +21,169 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktivan"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Kreirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Opis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Naziv"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Opis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -125,40 +192,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Zadnje modificirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Zadnji ažurirao"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Zadnje ažurirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,48 +236,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Kreirano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -218,16 +286,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/hu.po b/base_exception/i18n/hu.po
index 298900b84..714580866 100644
--- a/base_exception/i18n/hu.po
+++ b/base_exception/i18n/hu.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Készítette"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Létrehozás dátuma"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Leírás"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Név megjelenítése"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Leírás"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Utolsó frissítés dátuma"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Utoljára frissítve, által"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Utoljára frissítve "
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Létrehozás dátuma"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/id.po b/base_exception/i18n/id.po
index 4d39b924d..02ed8ecfb 100644
--- a/base_exception/i18n/id.po
+++ b/base_exception/i18n/id.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Dibuat oleh"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Dibuat pada"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Keterangan"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nama Tampilan"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Keterangan"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Terakhir Dimodifikasi pada"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Diperbaharui oleh"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Diperbaharui pada"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Dibuat pada"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/it.po b/base_exception/i18n/it.po
index 13223f578..4dd77844a 100644
--- a/base_exception/i18n/it.po
+++ b/base_exception/i18n/it.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Attivo"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Created by"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Created on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descrizione"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nome da visualizzare"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descrizione"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Last Updated by"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Last Updated on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Created on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Sequenza"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/ja.po b/base_exception/i18n/ja.po
index e117b2fe4..fb3e09e22 100644
--- a/base_exception/i18n/ja.po
+++ b/base_exception/i18n/ja.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "作成者"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "作成日"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "説明"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "表示名"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "説明"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "最終更新日"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "最終更新者"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "最終更新日"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "作成日"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/ko.po b/base_exception/i18n/ko.po
index 6e6a257a7..1911d5cd1 100644
--- a/base_exception/i18n/ko.po
+++ b/base_exception/i18n/ko.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "작성자"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "작성일"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "설명"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "표시 이름"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "설명"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "최근 수정"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "최근 갱신한 사람"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "최근 갱신 날짜"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "작성일"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/lt.po b/base_exception/i18n/lt.po
index af02d79d5..e8e125c72 100644
--- a/base_exception/i18n/lt.po
+++ b/base_exception/i18n/lt.po
@@ -20,102 +20,169 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Sukūrė"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Sukurta"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Aprašymas"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Vaizduojamas pavadinimas"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Aprašymas"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Paskutinį kartą keista"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Paskutinį kartą atnaujino"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Paskutinį kartą atnaujinta"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Sukurta"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/lt_LT.po b/base_exception/i18n/lt_LT.po
index 643c398e5..91e0eeb06 100644
--- a/base_exception/i18n/lt_LT.po
+++ b/base_exception/i18n/lt_LT.po
@@ -21,102 +21,167 @@ msgstr ""
"%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Sukūrė"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Sukurta"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+msgid "Exception"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -125,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Paskutinį kartą atnaujino"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Paskutinį kartą atnaujinta"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Sukurta"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -218,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/lv.po b/base_exception/i18n/lv.po
index 29b16d33c..224c62cc2 100644
--- a/base_exception/i18n/lv.po
+++ b/base_exception/i18n/lv.po
@@ -20,102 +20,169 @@ msgstr ""
"2);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Izveidoja"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Izveidots"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Apraksts"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Apraksts"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Pēdējo reizi atjaunoja"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Pēdējās izmaiņas"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Izveidots"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/mk.po b/base_exception/i18n/mk.po
index 49509665a..1c61f91ab 100644
--- a/base_exception/i18n/mk.po
+++ b/base_exception/i18n/mk.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Креирано од"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Креирано на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Опис"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Прикажи име"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Опис"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Последна промена на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Последно ажурирање од"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Последно ажурирање на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Креирано на"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/mn.po b/base_exception/i18n/mn.po
index f2ef90a62..d77c0f7a0 100644
--- a/base_exception/i18n/mn.po
+++ b/base_exception/i18n/mn.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Үүсгэгч"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Үүсгэсэн"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Тодорхойлолт"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Дэлгэцийн Нэр"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Тодорхойлолт"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Сүүлийн засвар хийсэн огноо"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Сүүлийн засвар хийсэн"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Сүүлийн засвар хийсэн огноо"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Үүсгэсэн"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/nb.po b/base_exception/i18n/nb.po
index 4aa4487be..0ca734822 100644
--- a/base_exception/i18n/nb.po
+++ b/base_exception/i18n/nb.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Opprettet av"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Opprettet den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Beskrivelse"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Visnings navn"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Beskrivelse"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Sist oppdatert "
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Sist oppdatert av"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Sist oppdatert"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Opprettet den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/nb_NO.po b/base_exception/i18n/nb_NO.po
index 10be0c132..76e96b8f1 100644
--- a/base_exception/i18n/nb_NO.po
+++ b/base_exception/i18n/nb_NO.po
@@ -20,102 +20,167 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Laget av"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Laget den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Vis navn"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+msgid "Exception"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +189,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Sist endret den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Sist oppdatert av"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Sist oppdatert den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +233,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Laget den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +283,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/nl.po b/base_exception/i18n/nl.po
index 208313132..dd475743a 100644
--- a/base_exception/i18n/nl.po
+++ b/base_exception/i18n/nl.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Actief"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Aangemaakt door"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Aangemaakt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Omschrijving"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Te tonen naam"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Omschrijving"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Laatst bijgewerkt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Laatst bijgewerkt door"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Laatst bijgewerkt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Aangemaakt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/nl_BE.po b/base_exception/i18n/nl_BE.po
index f0b8e24ec..31776c96b 100644
--- a/base_exception/i18n/nl_BE.po
+++ b/base_exception/i18n/nl_BE.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Gemaakt door"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Gemaakt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Omschrijving"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Schermnaam"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Omschrijving"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Laatst Aangepast op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Laatst bijgewerkt door"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Laatst bijgewerkt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Gemaakt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/nl_NL.po b/base_exception/i18n/nl_NL.po
index e343b9c41..dfa5fc10c 100644
--- a/base_exception/i18n/nl_NL.po
+++ b/base_exception/i18n/nl_NL.po
@@ -20,102 +20,173 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Actief"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Aangemaakt door"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Aangemaakt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Omschrijving"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "weergavenaam"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exceptions"
+msgid "Exception"
+msgstr "Uitzonderingen"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "Uitzonderingsnaam"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "Uitzonderingsregel"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "exception.rule.confirm"
+msgid "Exception Rule Confirm Wizard"
+msgstr "exception.rule.confirm"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr "Uitzonderingsregels-instellingen"
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr "Uitzonderingsregels"
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "Uitzonderingsnaam"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr "Uitzonderingsmanager"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr "Uitzonderingen"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr "Uitzonderingsregels"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr "Op te lossen uitzonderingen"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +195,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Laatst gewijzigd op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Laatst bijgewerkt door"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Laatst bijgewerkt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,49 +240,50 @@ msgid "Outstanding exceptions to manage"
msgstr "Uitzonderingsmanager"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
#, fuzzy
msgid "Outstanding exceptions to manager"
msgstr "Uitzonderingsmanager"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Aangemaakt op"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -219,16 +291,21 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
-msgstr "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
-msgstr "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
+msgstr ""
+
+#~ msgid "base.exception"
+#~ msgstr "base.exception"
diff --git a/base_exception/i18n/pl.po b/base_exception/i18n/pl.po
index bec767dc2..97943afea 100644
--- a/base_exception/i18n/pl.po
+++ b/base_exception/i18n/pl.po
@@ -21,102 +21,169 @@ msgstr ""
"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Utworzone przez"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Utworzono"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Opis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Wyświetlana nazwa "
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Opis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -125,40 +192,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Ostatnio modyfikowano"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Ostatnio modyfikowane przez"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Ostatnia zmiana"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,48 +236,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Utworzono"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -218,16 +286,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/pt.po b/base_exception/i18n/pt.po
index 65e94e5d3..0901ba486 100644
--- a/base_exception/i18n/pt.po
+++ b/base_exception/i18n/pt.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Ativo"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Criado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Criado em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descrição"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nome"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descrição"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última Modificação Em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última Modificação Por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última Atualização Em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Criado em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/pt_BR.po b/base_exception/i18n/pt_BR.po
index d83dc4963..abac124f8 100644
--- a/base_exception/i18n/pt_BR.po
+++ b/base_exception/i18n/pt_BR.po
@@ -22,43 +22,89 @@ msgstr ""
"X-Generator: Weblate 3.1.1\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Ativo"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr "Aplicar no"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+#, fuzzy
+#| msgid "Python Code"
+msgid "By python code"
+msgstr "Código Python"
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Criado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Criado em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descrição"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Mostrar Nome"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
-#, python-format
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
+#, fuzzy, python-format
+#| msgid ""
+#| "Error when evaluating the exception.rule rule:\n"
+#| " %s \n"
+#| "(%s)"
+msgid ""
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
"Erro ao avaliar a regra exception.rule:\n"
@@ -66,61 +112,92 @@ msgstr ""
"(%s)"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Exceptions"
+msgid "Exception"
+msgstr "Exceções"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr "Nome da exceção"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr "Regra de exceção"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+#, fuzzy
+#| msgid "Exception Rule"
+msgid "Exception Rule Confirm Wizard"
+msgstr "Regra de exceção"
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr "Configuração da regra da execeção"
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr "Regras de exceção"
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+#, fuzzy
+#| msgid "Exception Name"
+msgid "Exception Type"
+msgstr "Nome da exceção"
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr "Gerenciar Exceção"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr "Exceções"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr "Regras de exceção"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr "Exceções para resolver"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr "Dá a ordem de sequência ao aplicar o teste"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "Identificação"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -133,40 +210,40 @@ msgstr ""
"de sequência"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr "Ignorar Exceções"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última Modificação em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última Atualização por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última Atualização em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr "Exceção Principal"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr "Próximo estado"
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr "Apenas 1 ID aceito, tenho %r."
@@ -177,17 +254,18 @@ msgid "Outstanding exceptions to manage"
msgstr "Excepções excepcionais para gerir"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr "Exceções proeminentes para o gerente"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr "Código Python"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
@@ -196,18 +274,18 @@ msgstr ""
"failed = True para bloquear a exceção"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
msgid "Related Model"
msgstr "Modelo Relatado"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr "Regra de grupo"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
@@ -217,12 +295,12 @@ msgstr ""
"line com regras de ordem de venda."
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Sequência"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -232,16 +310,18 @@ msgstr ""
"está errado. O valor deve estar nesta lista %s"
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
-msgstr "_Fechar"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
+msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
-msgstr ""
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
+msgstr "_Fechar"
diff --git a/base_exception/i18n/pt_PT.po b/base_exception/i18n/pt_PT.po
index 55985bbef..a098e7822 100644
--- a/base_exception/i18n/pt_PT.po
+++ b/base_exception/i18n/pt_PT.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Ativo"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Criado por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Criado em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descrição"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nome a Apresentar"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descrição"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Última Modificação Em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Última Atualização Por"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Última Atualização Em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Criado em"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/ro.po b/base_exception/i18n/ro.po
index baaac68d7..2576cdc95 100644
--- a/base_exception/i18n/ro.po
+++ b/base_exception/i18n/ro.po
@@ -21,102 +21,169 @@ msgstr ""
"2:1));\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Creat de"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Creat la"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Descriere"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Nume Afişat"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Descriere"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -125,40 +192,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Ultima actualizare în"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Ultima actualizare făcută de"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Ultima actualizare la"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,48 +236,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Creat la"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -218,16 +286,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/ru.po b/base_exception/i18n/ru.po
index 92fa9d024..78aa4e100 100644
--- a/base_exception/i18n/ru.po
+++ b/base_exception/i18n/ru.po
@@ -21,102 +21,169 @@ msgstr ""
"%100>=11 && n%100<=14)? 2 : 3);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Создано"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Создан"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Описание"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Описание"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -125,40 +192,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Последний раз обновлено"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Последний раз обновлено"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,48 +236,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Создан"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -218,16 +286,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/sk.po b/base_exception/i18n/sk.po
index 3e9395756..52b800404 100644
--- a/base_exception/i18n/sk.po
+++ b/base_exception/i18n/sk.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktívne"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Vytvoril"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Vytvorené"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Popis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Zobraziť meno"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Popis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Posledná modifikácia"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Naposledy upravoval"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Naposledy upravované"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Vytvorené"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/sl.po b/base_exception/i18n/sl.po
index 7dba9bcc6..626e36f1c 100644
--- a/base_exception/i18n/sl.po
+++ b/base_exception/i18n/sl.po
@@ -20,102 +20,169 @@ msgstr ""
"%100==4 ? 2 : 3);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktivno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Ustvaril"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Ustvarjeno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Opis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Prikazni naziv"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Opis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Zadnjič spremenjeno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Zadnji posodobil"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Zadnjič posodobljeno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Ustvarjeno"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Zaporedje"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/sr.po b/base_exception/i18n/sr.po
index dc106cbcd..d06baa3fa 100644
--- a/base_exception/i18n/sr.po
+++ b/base_exception/i18n/sr.po
@@ -20,102 +20,169 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Kreiran"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Opis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Opis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Kreiran"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/sr@latin.po b/base_exception/i18n/sr@latin.po
index 366a07148..2b3253b8f 100644
--- a/base_exception/i18n/sr@latin.po
+++ b/base_exception/i18n/sr@latin.po
@@ -21,102 +21,169 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Kreirao"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Kreiran"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Opis"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Ime za prikaz"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Opis"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -125,40 +192,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Zadnja izmjena"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Zadnja izmjena"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Zadnja izmjena"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -169,48 +236,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Kreiran"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -218,16 +286,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/sv.po b/base_exception/i18n/sv.po
index a1ff207b3..9993c979f 100644
--- a/base_exception/i18n/sv.po
+++ b/base_exception/i18n/sv.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Skapad av"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Skapad den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Beskrivning"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Visa namn"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Beskrivning"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Senast redigerad"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Senast uppdaterad av"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Senast uppdaterad"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Skapad den"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/th.po b/base_exception/i18n/th.po
index f3a2c97cd..fbfb37a14 100644
--- a/base_exception/i18n/th.po
+++ b/base_exception/i18n/th.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "สร้างโดย"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "สร้างเมื่อ"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "รายละเอียด"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "ชื่อที่ใช้แสดง"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "รายละเอียด"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "รหัส"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "แก้ไขครั้งสุดท้ายเมื่อ"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "อัพเดทครั้งสุดท้ายโดย"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "อัพเดทครั้งสุดท้ายเมื่อ"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "สร้างเมื่อ"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/tr.po b/base_exception/i18n/tr.po
index 356a600ef..d677e6042 100644
--- a/base_exception/i18n/tr.po
+++ b/base_exception/i18n/tr.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Aktif"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Oluşturan"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Oluşturuldu"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Açıklama"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Görünen İsim"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Açıklama"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Son değişiklik"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Son güncelleyen"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Son güncellenme"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Oluşturuldu"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr "Sıra"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/tr_TR.po b/base_exception/i18n/tr_TR.po
index c8447ba09..d418584d7 100644
--- a/base_exception/i18n/tr_TR.po
+++ b/base_exception/i18n/tr_TR.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "Etkin"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Oluşturan"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Oluşturulma tarihi"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Açıklama"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Görünen ad"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Açıklama"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "Kimlik"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "En son güncelleme tarihi"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "En son güncelleyen "
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "En son güncelleme tarihi"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Oluşturulma tarihi"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/uk.po b/base_exception/i18n/uk.po
index 417087935..56cba1a9b 100644
--- a/base_exception/i18n/uk.po
+++ b/base_exception/i18n/uk.po
@@ -20,102 +20,169 @@ msgstr ""
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Створив"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Дата створення"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Опис"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Назва для відображення"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Опис"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Остання модифікація"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Востаннє оновив"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Останнє оновлення"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Дата створення"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/vi.po b/base_exception/i18n/vi.po
index 92e7f0220..9907507fe 100644
--- a/base_exception/i18n/vi.po
+++ b/base_exception/i18n/vi.po
@@ -19,102 +19,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Được tạo bởi"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Được tạo vào"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Miêu tả"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Tên hiển thị"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Miêu tả"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -123,40 +190,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Sửa lần cuối vào"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Last Updated by"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Cập nhật lần cuối vào"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -167,48 +234,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Được tạo vào"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -216,16 +284,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/vi_VN.po b/base_exception/i18n/vi_VN.po
index 0d6180653..e82dd9f52 100644
--- a/base_exception/i18n/vi_VN.po
+++ b/base_exception/i18n/vi_VN.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "Tạo bởi"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "Tạo vào"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Mô tả"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Mô tả"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "Cập nhật lần cuối bởi"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "Cập nhật lần cuối vào"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "Tạo vào"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/zh_CN.po b/base_exception/i18n/zh_CN.po
index a564159f3..4310b2a28 100644
--- a/base_exception/i18n/zh_CN.po
+++ b/base_exception/i18n/zh_CN.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr "有效"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "创建者"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "创建时间"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "Description"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "Display Name"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "Description"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "ID"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "Last Modified on"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "最后更新者"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "上次更新日期"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "创建时间"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""
diff --git a/base_exception/i18n/zh_TW.po b/base_exception/i18n/zh_TW.po
index ff0679860..9cba56f29 100644
--- a/base_exception/i18n/zh_TW.po
+++ b/base_exception/i18n/zh_TW.po
@@ -20,102 +20,169 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_active
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "self
: Record on which the rule is evaluated."
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "time
: useful Python libraries"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__active
msgid "Active"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_model
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__model
msgid "Apply on"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_uid
+#: selection:exception.rule,exception_type:0
+msgid "By domain"
+msgstr ""
+
+#. module: base_exception
+#: selection:exception.rule,exception_type:0
+msgid "By python code"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,help:base_exception.field_exception_rule__exception_type
+msgid ""
+"By python code: allow to define any arbitrary check\n"
+"By domain: limited to a selection by an odoo domain:\n"
+" performance can be better when exceptions are "
+"evaluated with several records"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_uid
msgid "Created by"
msgstr "建立者"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_create_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__create_date
msgid "Created on"
msgstr "建立於"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_description
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__description
msgid "Description"
msgstr "說明"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_display_name
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_display_name
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__display_name
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__display_name
msgid "Display Name"
msgstr "顯示名稱"
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:217
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain
+msgid "Domain"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Enter Python code here. Help about Python expression is available in the "
+"help tab of this document."
+msgstr ""
+
+#. module: base_exception
+#: code:addons/base_exception/models/base_exception.py:260
#, python-format
msgid ""
-"Error when evaluating the exception.rule rule:\n"
-" %s \n"
+"Error when evaluating the exception.rule: %s\n"
"(%s)"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_name
+#: model:ir.model,name:base_exception.model_base_exception
+#, fuzzy
+#| msgid "Description"
+msgid "Exception"
+msgstr "說明"
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name
msgid "Exception Name"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
+#: model:ir.model,name:base_exception.model_exception_rule
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_tree
msgid "Exception Rule"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+#: model:ir.model,name:base_exception.model_exception_rule_confirm
+msgid "Exception Rule Confirm Wizard"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Exception Rule Setup"
msgstr ""
#. module: base_exception
#: model:ir.actions.act_window,name:base_exception.action_exception_rule_tree
-#: model:ir.model,name:base_exception.model_exception_rule
#: model:ir.ui.menu,name:base_exception.menu_action_exception
msgid "Exception Rules"
msgstr ""
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type
+msgid "Exception Type"
+msgstr ""
+
#. module: base_exception
#: model:res.groups,name:base_exception.group_exception_rule_manager
msgid "Exception manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__exception_ids
msgid "Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Exceptions Rules"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_exception_ids
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__exception_ids
msgid "Exceptions to resolve"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,help:base_exception.field_exception_rule__sequence
msgid "Gives the sequence order when applying the test"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_id
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_id
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help"
+msgstr ""
+
+#. module: base_exception
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "Help with Python expressions"
+msgstr ""
+
+#. module: base_exception
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__id
msgid "ID"
msgstr "編號"
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,help:base_exception.field_exception_rule__next_state
msgid ""
"If we detect exception we set the state of object (ex purchase) to the "
"next_state (ex 'to approve'). If there are more than one exception detected "
@@ -124,40 +191,40 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_ignore_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_ignore
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__ignore_exception
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__ignore
msgid "Ignore Exceptions"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule___last_update
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm___last_update
+#: model:ir.model.fields,field_description:base_exception.field_base_exception____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule____last_update
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm____last_update
msgid "Last Modified on"
msgstr "最後修改:"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_uid
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_uid
msgid "Last Updated by"
msgstr "最後更新:"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_write_date
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__write_date
msgid "Last Updated on"
msgstr "最後更新於"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_main_exception_id
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__main_exception_id
msgid "Main Exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_next_state
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__next_state
msgid "Next state"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/wizard/base_exception_confirm.py:28
+#: code:addons/base_exception/wizard/base_exception_confirm.py:29
#, python-format
msgid "Only 1 ID accepted, got %r."
msgstr ""
@@ -168,48 +235,49 @@ msgid "Outstanding exceptions to manage"
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
msgid "Outstanding exceptions to manager"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_code
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__code
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
msgid "Python Code"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_code
+#: model:ir.model.fields,help:base_exception.field_exception_rule__code
msgid ""
"Python code executed to check if the exception apply or not. Use failed = "
"True to block the exception"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id
#, fuzzy
msgid "Related Model"
msgstr "建立於"
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_base_exception_rule_group
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,field_description:base_exception.field_base_exception__rule_group
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__rule_group
msgid "Rule Group"
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,help:base_exception.field_exception_rule_rule_group
+#: model:ir.model.fields,help:base_exception.field_exception_rule__rule_group
msgid ""
"Rule group is used to group the rules that must validated at same time for a "
"target object. Ex: validate sale.order.line rules with sale order rules."
msgstr ""
#. module: base_exception
-#: model:ir.model.fields,field_description:base_exception.field_exception_rule_sequence
+#: model:ir.model.fields,field_description:base_exception.field_exception_rule__sequence
msgid "Sequence"
msgstr ""
#. module: base_exception
-#: code:addons/base_exception/models/base_exception.py:88
+#: code:addons/base_exception/models/base_exception.py:80
#, python-format
msgid ""
"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is "
@@ -217,16 +285,18 @@ msgid ""
msgstr ""
#. module: base_exception
-#: model:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
-msgid "_Close"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid "To block the exception use: failed = True
"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_base_exception
-msgid "base.exception"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
+msgid ""
+"Various fields may use Python code or Python expressions. The following "
+"variables can be used:"
msgstr ""
#. module: base_exception
-#: model:ir.model,name:base_exception.model_exception_rule_confirm
-msgid "exception.rule.confirm"
+#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm
+msgid "_Close"
msgstr ""