diff --git a/base_exception/README.rst b/base_exception/README.rst index 480047307..af86936b6 100644 --- a/base_exception/README.rst +++ b/base_exception/README.rst @@ -42,6 +42,8 @@ Known issues / Roadmap Terms used in old api like `pool`, `cr`, `uid` must be removed porting this module in version 12. +This module execute user provided code though a safe_eval, it's unsecure? How mitigate risks should be adressed in future versions of this module. + Bug Tracker =========== @@ -72,6 +74,7 @@ Contributors * Yannick Vaucher * SodexisTeam * Mourad EL HADJ MIMOUNE +* Raphaël Reverdy * Iván Todorovich Maintainers diff --git a/base_exception/__manifest__.py b/base_exception/__manifest__.py index ad9c55106..579801eef 100644 --- a/base_exception/__manifest__.py +++ b/base_exception/__manifest__.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { 'name': 'Exception Rule', - 'version': '12.0.1.0.0', + 'version': '12.0.2.0.3', 'category': 'Generic Modules', 'summary': """ This module provide an abstract model to manage customizable diff --git a/base_exception/i18n/am.po b/base_exception/i18n/am.po index f7f2943d2..51183ad6a 100644 --- a/base_exception/i18n/am.po +++ b/base_exception/i18n/am.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,121 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +227,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/ar.po b/base_exception/i18n/ar.po index 8e10991b9..2369003a6 100644 --- a/base_exception/i18n/ar.po +++ b/base_exception/i18n/ar.po @@ -21,40 +21,86 @@ 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_base_exception_method__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 "" +"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:138 +#, fuzzy, python-format +#| msgid "" +#| "Error when evaluating the exception.rule rule:\n" +#| " %s \n" +#| "(%s)" msgid "" "Error when evaluating the exception.rule rule:\n" " %s \n" @@ -65,103 +111,129 @@ 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "Exception Rules" +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,64 +244,57 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" +#~ msgid "Next state" +#~ msgstr "الحالة القادمة" diff --git a/base_exception/i18n/base_exception.pot b/base_exception/i18n/base_exception.pot index d00d3356b..d4e013d01 100644 --- a/base_exception/i18n/base_exception.pot +++ b/base_exception/i18n/base_exception.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,39 +14,77 @@ msgstr "" "Plural-Forms: \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_base_exception_method__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:138 #, python-format msgid "Error when evaluating the exception.rule rule:\n" " %s \n" @@ -54,99 +92,121 @@ msgid "Error when evaluating the exception.rule rule:\n" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 and all have a value for next_state, we usethe exception having the smallest sequence value" -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_base_exception_method____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 -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 "" @@ -157,59 +217,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 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format -msgid "The value \"%s\" you choose for the \"next state\" field state of \"%s\" is wrong. Value must be in this list %s" +msgid "There is a problem of configuration, python code or domain is missing to match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" - diff --git a/base_exception/i18n/bg.po b/base_exception/i18n/bg.po index b8308b618..db8ca17b0 100644 --- a/base_exception/i18n/bg.po +++ b/base_exception/i18n/bg.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/bs.po b/base_exception/i18n/bs.po index ca034124f..8c7a05ad7 100644 --- a/base_exception/i18n/bs.po +++ b/base_exception/i18n/bs.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/ca.po b/base_exception/i18n/ca.po index 052e20b01..ea0c970d7 100644 --- a/base_exception/i18n/ca.po +++ b/base_exception/i18n/ca.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/cs.po b/base_exception/i18n/cs.po index d3f7f4caa..4878abd2c 100644 --- a/base_exception/i18n/cs.po +++ b/base_exception/i18n/cs.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/cs_CZ.po b/base_exception/i18n/cs_CZ.po index 840a7de7b..b4b6762c1 100644 --- a/base_exception/i18n/cs_CZ.po +++ b/base_exception/i18n/cs_CZ.po @@ -20,40 +20,88 @@ 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_base_exception_method__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 "" +"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:138 +#, fuzzy, python-format +#| msgid "" +#| "Error when evaluating the exception.rule rule:\n" +#| " %s \n" +#| "(%s)" msgid "" "Error when evaluating the exception.rule rule:\n" " %s \n" @@ -61,107 +109,129 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "Exception Rules" +msgid "Exception Rule Methods" +msgstr "Pravidla výjimek" + +#. 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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -msgstr "" -"Pokud zjistíme výjimku, nastavíme stav objektu (ex nákupu) na status " -"next_state (ex 'to approve). Pokud je zjištěno více než jedna výjimka a " -"všechny mají hodnotu pro next_statec, použijeme výjimku s nejmenší hodnotou " -"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_base_exception_method____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 -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 +242,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,52 +262,72 @@ 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 -msgid "Rule Group" -msgstr "Skupina pravidel" - -#. module: base_exception -#: 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 "" -"Skupina pravidel se používá k seskupení pravidel, která musí být pro cílový " -"objekt současně ověřena. Příklad: ověřte pravidla sales.order.line s " -"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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." msgstr "" -"Hodnota \"%s\" kterou zvolíte pro stav pole \"další stát\" \"%s\" je " -"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 +#: 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_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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "_Zavřít" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "základní.výjimka" +#~ 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 and all have a value for next_state, we usethe exception having " +#~ "the smallest sequence value" +#~ msgstr "" +#~ "Pokud zjistíme výjimku, nastavíme stav objektu (ex nákupu) na status " +#~ "next_state (ex 'to approve). Pokud je zjištěno více než jedna výjimka a " +#~ "všechny mají hodnotu pro next_statec, použijeme výjimku s nejmenší " +#~ "hodnotou sekvence" -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "pravidlo.výjimky.potvrzení" +#~ msgid "Next state" +#~ msgstr "Další stav" + +#~ msgid "Rule Group" +#~ msgstr "Skupina pravidel" + +#~ 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 "" +#~ "Skupina pravidel se používá k seskupení pravidel, která musí být pro " +#~ "cílový objekt současně ověřena. Příklad: ověřte pravidla sales.order.line " +#~ "s pravidly objednávky prodeje." + +#~ msgid "" +#~ "The value \"%s\" you choose for the \"next state\" field state of \"%s\" " +#~ "is wrong. Value must be in this list %s" +#~ msgstr "" +#~ "Hodnota \"%s\" kterou zvolíte pro stav pole \"další stát\" \"%s\" je " +#~ "nesprávná. Hodnota musí být v tomto seznamu %s" + +#~ msgid "base.exception" +#~ msgstr "základní.výjimka" diff --git a/base_exception/i18n/da.po b/base_exception/i18n/da.po index 160c51200..aa42f4258 100644 --- a/base_exception/i18n/da.po +++ b/base_exception/i18n/da.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/de.po b/base_exception/i18n/de.po index 7c252e8dd..16fa57c52 100644 --- a/base_exception/i18n/de.po +++ b/base_exception/i18n/de.po @@ -20,40 +20,88 @@ 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_base_exception_method__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 "" +"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:138 +#, fuzzy, python-format +#| msgid "" +#| "Error when evaluating the exception.rule rule:\n" +#| " %s \n" +#| "(%s)" msgid "" "Error when evaluating the exception.rule rule:\n" " %s \n" @@ -64,107 +112,129 @@ 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "Exception Rules" +msgid "Exception Rule Methods" +msgstr "Ausnahmeregeln" + +#. 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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -msgstr "" -"Wenn wir eine Ausnahme feststellen, setzen wir den Status des Objekts (z.B. " -"Bestellung) auf den next_state (z.B. Freizugeben). Wenn mehrere Ausnahmen " -"festgestellt wurden und alle haben einen Wert next_state, dann ziehen wir " -"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_base_exception_method____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 -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,69 +245,90 @@ 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 -msgid "Rule Group" -msgstr "Regelgruppe" - -#. module: base_exception -#: 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 "" -"Regelgruppen werden verwendet, um Regeln zusammenzufassen, die gleichzeitig " -"auf ein Zielobject angewendet werden müssen, z.B. Regeln zu sale.order.line " -"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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." msgstr "" -"Der Wert \"%s\" den Sie als \"nächsten Status\" mit Feldstatus \"%s\" ist " -"falsch. Der Wert muss einer aus Liste %s sein." #. 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "_Schliessen" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "base.exception" +#~ 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 and all have a value for next_state, we usethe exception having " +#~ "the smallest sequence value" +#~ msgstr "" +#~ "Wenn wir eine Ausnahme feststellen, setzen wir den Status des Objekts (z." +#~ "B. Bestellung) auf den next_state (z.B. Freizugeben). Wenn mehrere " +#~ "Ausnahmen festgestellt wurden und alle haben einen Wert next_state, dann " +#~ "ziehen wir den mit kleinstem Reihenfolgewert heran." -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "exception.rule.confirm" +#~ msgid "Next state" +#~ msgstr "Nächster Status" + +#~ msgid "Rule Group" +#~ msgstr "Regelgruppe" + +#~ 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 "" +#~ "Regelgruppen werden verwendet, um Regeln zusammenzufassen, die " +#~ "gleichzeitig auf ein Zielobject angewendet werden müssen, z.B. Regeln zu " +#~ "sale.order.line mit Regeln zu sale.order." + +#~ msgid "" +#~ "The value \"%s\" you choose for the \"next state\" field state of \"%s\" " +#~ "is wrong. Value must be in this list %s" +#~ msgstr "" +#~ "Der Wert \"%s\" den Sie als \"nächsten Status\" mit Feldstatus \"%s\" ist " +#~ "falsch. Der Wert muss einer aus Liste %s sein." + +#~ msgid "base.exception" +#~ msgstr "base.exception" diff --git a/base_exception/i18n/el_GR.po b/base_exception/i18n/el_GR.po index 8a09cdde2..9eaebe031 100644 --- a/base_exception/i18n/el_GR.po +++ b/base_exception/i18n/el_GR.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/en_GB.po b/base_exception/i18n/en_GB.po index c99a96b91..2b40508c1 100644 --- a/base_exception/i18n/en_GB.po +++ b/base_exception/i18n/en_GB.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es.po b/base_exception/i18n/es.po index 5af690c30..7208ce3bd 100644 --- a/base_exception/i18n/es.po +++ b/base_exception/i18n/es.po @@ -20,40 +20,88 @@ 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_base_exception_method__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 "" +"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:138 +#, fuzzy, python-format +#| msgid "" +#| "Error when evaluating the exception.rule rule:\n" +#| " %s \n" +#| "(%s)" msgid "" "Error when evaluating the exception.rule rule:\n" " %s \n" @@ -64,103 +112,129 @@ 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "Exception Rules" +msgid "Exception Rule Methods" +msgstr "Reglas de excepción" + +#. 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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,64 +245,63 @@ 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 -msgid "Rule Group" -msgstr "Grupo de reglas" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "base.exception" +#~ msgid "Next state" +#~ msgstr "Estado siguiente" -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "exception.rule.confirm" +#~ msgid "Rule Group" +#~ msgstr "Grupo de reglas" + +#~ msgid "base.exception" +#~ msgstr "base.exception" diff --git a/base_exception/i18n/es_AR.po b/base_exception/i18n/es_AR.po index 637d4ef46..b4ea2c91b 100644 --- a/base_exception/i18n/es_AR.po +++ b/base_exception/i18n/es_AR.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_CL.po b/base_exception/i18n/es_CL.po index 648219fbb..f709e0768 100644 --- a/base_exception/i18n/es_CL.po +++ b/base_exception/i18n/es_CL.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_CO.po b/base_exception/i18n/es_CO.po index 0b5bece17..fb80864b9 100644 --- a/base_exception/i18n/es_CO.po +++ b/base_exception/i18n/es_CO.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_CR.po b/base_exception/i18n/es_CR.po index 1da4b8c74..98b7a308d 100644 --- a/base_exception/i18n/es_CR.po +++ b/base_exception/i18n/es_CR.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_DO.po b/base_exception/i18n/es_DO.po index 6c062620c..f17b00055 100644 --- a/base_exception/i18n/es_DO.po +++ b/base_exception/i18n/es_DO.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_EC.po b/base_exception/i18n/es_EC.po index 6c8192742..092dc6cdb 100644 --- a/base_exception/i18n/es_EC.po +++ b/base_exception/i18n/es_EC.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_ES.po b/base_exception/i18n/es_ES.po index 8257f1000..a5c12c11f 100644 --- a/base_exception/i18n/es_ES.po +++ b/base_exception/i18n/es_ES.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,121 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +228,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_MX.po b/base_exception/i18n/es_MX.po index 1af7e528b..fe633327b 100644 --- a/base_exception/i18n/es_MX.po +++ b/base_exception/i18n/es_MX.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_PE.po b/base_exception/i18n/es_PE.po index d85586633..40c7a0eb3 100644 --- a/base_exception/i18n/es_PE.po +++ b/base_exception/i18n/es_PE.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_PY.po b/base_exception/i18n/es_PY.po index d8d81ce24..193276f84 100644 --- a/base_exception/i18n/es_PY.po +++ b/base_exception/i18n/es_PY.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/es_VE.po b/base_exception/i18n/es_VE.po index 1bddb763c..3052ade65 100644 --- a/base_exception/i18n/es_VE.po +++ b/base_exception/i18n/es_VE.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/et.po b/base_exception/i18n/et.po index 49110aeb0..43cd5ff16 100644 --- a/base_exception/i18n/et.po +++ b/base_exception/i18n/et.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/eu.po b/base_exception/i18n/eu.po index ba0fb69e9..18c76bc87 100644 --- a/base_exception/i18n/eu.po +++ b/base_exception/i18n/eu.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/fa.po b/base_exception/i18n/fa.po index dc44e4db9..dd56a5f42 100644 --- a/base_exception/i18n/fa.po +++ b/base_exception/i18n/fa.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,129 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "Exception Rule" +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +236,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/fi.po b/base_exception/i18n/fi.po index 7b049f0db..be2396830 100644 --- a/base_exception/i18n/fi.po +++ b/base_exception/i18n/fi.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/fr.po b/base_exception/i18n/fr.po index b2a8b432a..41db57eaf 100644 --- a/base_exception/i18n/fr.po +++ b/base_exception/i18n/fr.po @@ -20,40 +20,88 @@ 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_base_exception_method__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 "" +"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:138 +#, fuzzy, python-format +#| msgid "" +#| "Error when evaluating the exception.rule rule:\n" +#| " %s \n" +#| "(%s)" msgid "" "Error when evaluating the exception.rule rule:\n" " %s \n" @@ -64,107 +112,129 @@ 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "Exception Rules" +msgid "Exception Rule Methods" +msgstr "Règles de restriction" + +#. 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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -msgstr "" -"Si nous détectons une exception, nous plaçons l'état de l'objet (ex achat) " -"sur next_state (ex' à approuver'). S'il y a plus d'une exception détectée et " -"que toutes ont une valeur pour next_state, nous utilisons l'exception ayant " -"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_base_exception_method____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 -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 +245,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,52 +265,72 @@ 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 -msgid "Rule Group" -msgstr "Règle de groupe" - -#. module: base_exception -#: 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 "" -"Le groupe de règles est utiliser pour grouper toutes les règles qui doivent " -"être vérifiées pour un même objet. Ex: valider les règles de sale.order.line " -"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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." msgstr "" -"La valeur \"%s\" que vous choisissez pour l'état du champ \"suivant\" de \"%s" -"\" 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 +#: 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_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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "_Close" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "base.exception" +#~ 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 and all have a value for next_state, we usethe exception having " +#~ "the smallest sequence value" +#~ msgstr "" +#~ "Si nous détectons une exception, nous plaçons l'état de l'objet (ex " +#~ "achat) sur next_state (ex' à approuver'). S'il y a plus d'une exception " +#~ "détectée et que toutes ont une valeur pour next_state, nous utilisons " +#~ "l'exception ayant la plus petite valeur de séquence" -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "exception.rule.confirm" +#~ msgid "Next state" +#~ msgstr "Etat suivant" + +#~ msgid "Rule Group" +#~ msgstr "Règle de groupe" + +#~ 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 "" +#~ "Le groupe de règles est utiliser pour grouper toutes les règles qui " +#~ "doivent être vérifiées pour un même objet. Ex: valider les règles de sale." +#~ "order.line avec les règles de sale order." + +#~ msgid "" +#~ "The value \"%s\" you choose for the \"next state\" field state of \"%s\" " +#~ "is wrong. Value must be in this list %s" +#~ msgstr "" +#~ "La valeur \"%s\" que vous choisissez pour l'état du champ \"suivant\" de " +#~ "\"%s\" est incorrecte. La valeur doit être dans cette liste %s" + +#~ msgid "base.exception" +#~ msgstr "base.exception" diff --git a/base_exception/i18n/fr_CA.po b/base_exception/i18n/fr_CA.po index a62cbbc63..a75d1a796 100644 --- a/base_exception/i18n/fr_CA.po +++ b/base_exception/i18n/fr_CA.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/fr_CH.po b/base_exception/i18n/fr_CH.po index 915853107..3e754ca35 100644 --- a/base_exception/i18n/fr_CH.po +++ b/base_exception/i18n/fr_CH.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,121 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +228,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/gl.po b/base_exception/i18n/gl.po index 517055527..79e1889e8 100644 --- a/base_exception/i18n/gl.po +++ b/base_exception/i18n/gl.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/gl_ES.po b/base_exception/i18n/gl_ES.po index 92a4338df..a8d0a298e 100644 --- a/base_exception/i18n/gl_ES.po +++ b/base_exception/i18n/gl_ES.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,121 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,64 +228,54 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/he.po b/base_exception/i18n/he.po index 4861c9404..f88c06de2 100644 --- a/base_exception/i18n/he.po +++ b/base_exception/i18n/he.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/hr.po b/base_exception/i18n/hr.po index aa3543a8d..0004061cb 100644 --- a/base_exception/i18n/hr.po +++ b/base_exception/i18n/hr.po @@ -21,39 +21,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -62,103 +104,127 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "exception.rule.confirm" +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +235,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "base.exception" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "exception.rule.confirm" diff --git a/base_exception/i18n/hr_HR.po b/base_exception/i18n/hr_HR.po index a970f5095..70f886f83 100644 --- a/base_exception/i18n/hr_HR.po +++ b/base_exception/i18n/hr_HR.po @@ -21,39 +21,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -62,103 +104,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +231,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/hu.po b/base_exception/i18n/hu.po index 298900b84..536ed0fd5 100644 --- a/base_exception/i18n/hu.po +++ b/base_exception/i18n/hu.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/id.po b/base_exception/i18n/id.po index 4d39b924d..d1023c2fb 100644 --- a/base_exception/i18n/id.po +++ b/base_exception/i18n/id.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/it.po b/base_exception/i18n/it.po index 13223f578..d3503e7af 100644 --- a/base_exception/i18n/it.po +++ b/base_exception/i18n/it.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/ja.po b/base_exception/i18n/ja.po index e117b2fe4..96a8b5b6e 100644 --- a/base_exception/i18n/ja.po +++ b/base_exception/i18n/ja.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/ko.po b/base_exception/i18n/ko.po index 6e6a257a7..50454999c 100644 --- a/base_exception/i18n/ko.po +++ b/base_exception/i18n/ko.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/lt.po b/base_exception/i18n/lt.po index af02d79d5..065050eeb 100644 --- a/base_exception/i18n/lt.po +++ b/base_exception/i18n/lt.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/lt_LT.po b/base_exception/i18n/lt_LT.po index 643c398e5..329c410db 100644 --- a/base_exception/i18n/lt_LT.po +++ b/base_exception/i18n/lt_LT.po @@ -21,39 +21,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -62,103 +104,121 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/lv.po b/base_exception/i18n/lv.po index 29b16d33c..eaa168024 100644 --- a/base_exception/i18n/lv.po +++ b/base_exception/i18n/lv.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/mk.po b/base_exception/i18n/mk.po index 49509665a..4b4a5b98a 100644 --- a/base_exception/i18n/mk.po +++ b/base_exception/i18n/mk.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/mn.po b/base_exception/i18n/mn.po index f2ef90a62..1fea180d8 100644 --- a/base_exception/i18n/mn.po +++ b/base_exception/i18n/mn.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/nb.po b/base_exception/i18n/nb.po index 4aa4487be..0ef3fe50d 100644 --- a/base_exception/i18n/nb.po +++ b/base_exception/i18n/nb.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/nb_NO.po b/base_exception/i18n/nb_NO.po index 10be0c132..e70ecdb06 100644 --- a/base_exception/i18n/nb_NO.po +++ b/base_exception/i18n/nb_NO.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,121 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +228,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/nl.po b/base_exception/i18n/nl.po index 208313132..1229a2356 100644 --- a/base_exception/i18n/nl.po +++ b/base_exception/i18n/nl.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/nl_BE.po b/base_exception/i18n/nl_BE.po index f0b8e24ec..533919c5b 100644 --- a/base_exception/i18n/nl_BE.po +++ b/base_exception/i18n/nl_BE.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/nl_NL.po b/base_exception/i18n/nl_NL.po index e343b9c41..09048245b 100644 --- a/base_exception/i18n/nl_NL.po +++ b/base_exception/i18n/nl_NL.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,129 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +#, fuzzy +#| msgid "Exception Rules" +msgid "Exception Rule Methods" +msgstr "Uitzonderingsregels" + +#. 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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,66 +237,59 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "base.exception" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "exception.rule.confirm" +#~ msgid "base.exception" +#~ msgstr "base.exception" diff --git a/base_exception/i18n/pl.po b/base_exception/i18n/pl.po index bec767dc2..4df3928a8 100644 --- a/base_exception/i18n/pl.po +++ b/base_exception/i18n/pl.po @@ -21,39 +21,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -62,103 +104,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +231,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/pt.po b/base_exception/i18n/pt.po index 65e94e5d3..87eb0ce48 100644 --- a/base_exception/i18n/pt.po +++ b/base_exception/i18n/pt.po @@ -10,223 +10,288 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-06-22 01:11+0000\n" -"PO-Revision-Date: 2017-06-22 01:11+0000\n" -"Last-Translator: Pedro Castro Silva , 2017\n" +"PO-Revision-Date: 2019-08-14 12:44+0000\n" +"Last-Translator: Pedro Castro Silva \n" "Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Weblate 3.7.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 "self: Registo no qual a regra é avaliada." + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form +msgid "time: useful Python libraries" +msgstr "time: bibliotecas Python úteis" + +#. 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 "" +msgstr "Aplicar em" #. 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 "Por domínio" + +#. module: base_exception +#: selection:exception.rule,exception_type:0 +msgid "By python code" +msgstr "Por 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 "" +"Por código python: permite definir qualquer verificação arbitrária\n" +"Por domínio: limitado a uma seleção por um domínio Odoo:\n" +" o desempenho pode ser superior quando as exceções são " +"avaliadas com vários registos" + +#. 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_base_exception_method__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 "Domínio" + +#. 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 "" +"Introduza aqui código Python. A ajuda sobre expressões Python está " +"disponível no separador Ajuda deste documento." + +#. module: base_exception +#: code:addons/base_exception/models/base_exception.py:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" " %s \n" "(%s)" msgstr "" +"Erro na avaliação da regra exception.rule:\n" +" %s \n" +"(%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 +msgid "Exception" +msgstr "Exceção" + +#. module: base_exception +#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name msgid "Exception Name" -msgstr "" +msgstr "Noma 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 "" +msgstr "Regra da 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 +msgid "Exception Rule Confirm Wizard" +msgstr "Assistente de Confirmação de Regra de Exceção" + +#. module: base_exception +#: model:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +msgstr "Métodos de Regras de Exceção" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form msgid "Exception Rule Setup" -msgstr "" +msgstr "Configuração da Regra de Exceçã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 "" +msgstr "Regras de Exceção" + +#. module: base_exception +#: model:ir.model.fields,field_description:base_exception.field_exception_rule__exception_type +msgid "Exception Type" +msgstr "Tipo de Exceção" #. module: base_exception #: model:res.groups,name:base_exception.group_exception_rule_manager msgid "Exception manager" -msgstr "" +msgstr "Gestor de Exceções" #. 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 "" +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 "" +msgstr "Regras de Exceções" #. 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 "" +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 "" +msgstr "Fornece a ordem da sequência na aplicação do 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 "Ajuda" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form +msgid "Help with Python expressions" +msgstr "Ajuda de expressões Python" + +#. module: base_exception +#: model:ir.model.fields,field_description:base_exception.field_base_exception__id +#: model:ir.model.fields,field_description:base_exception.field_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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 "" +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_base_exception_method____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 "" +msgstr "Exceção Principal" #. module: base_exception -#: 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 "" +msgstr "Só é permitido 1 ID, obtidos %r." #. module: base_exception #: model:ir.actions.act_window,name:base_exception.action_exception_rule_confirm msgid "Outstanding exceptions to manage" -msgstr "" +msgstr "Exceções extraordinárias 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 "" #. 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 "" +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 "" +"Código Python executado para verificar se a exceção se aplica ou não. Use " +"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 -#, fuzzy +#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id msgid "Related Model" -msgstr "Criado em" +msgstr "Modelo Relacionado" #. 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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 "" +msgstr "Sequência" #. module: base_exception -#: code:addons/base_exception/models/base_exception.py:88 +#: code:addons/base_exception/models/base_exception.py:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." msgstr "" +"Há um problema de configuração. Falta código python ou um domínio para " +"verificação do tipo de exceção." #. 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_form +msgid "To block the exception use: failed = True" +msgstr "Para bloquear a exceção utilize: failed = True" + +#. module: 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 "" +"Vários campos podem usar código ou expressões Python. As seguintes variáveis " +"podem ser usadas:" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" +msgstr "_Fechar" diff --git a/base_exception/i18n/pt_BR.po b/base_exception/i18n/pt_BR.po index d83dc4963..4cdf9af13 100644 --- a/base_exception/i18n/pt_BR.po +++ b/base_exception/i18n/pt_BR.po @@ -10,51 +10,99 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-07-21 02:42+0000\n" -"PO-Revision-Date: 2018-08-04 14:33+0000\n" +"PO-Revision-Date: 2019-08-30 17:04+0000\n" "Last-Translator: Rodrigo Macedo \n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" -"teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/" +"23907/pt_BR/)\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 3.1.1\n" +"X-Generator: Weblate 3.8\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 "self: Registro no qual a regra é avaliada." + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form +msgid "time: useful Python libraries" +msgstr "time: bibliotecas python usáveis" + +#. 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 "Por domínio" + +#. module: base_exception +#: selection:exception.rule,exception_type:0 +msgid "By python code" +msgstr "Por 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 "" +"Por código python: permite definir qualquer verificação arbitrária\n" +"Por domínio: limitado a uma seleção por um domínio odoo:\n" +" o desempenho pode ser melhor quando exceções são avaliadas com " +"vários registros" + +#. 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_base_exception_method__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 +#: model:ir.model.fields,field_description:base_exception.field_exception_rule__domain +msgid "Domain" +msgstr "Domínio" + +#. 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 "" +"Digite o código Python aqui. A ajuda sobre a expressão Python está " +"disponível na guia de ajuda deste documento." + +#. module: base_exception +#: code:addons/base_exception/models/base_exception.py:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -66,107 +114,121 @@ 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 +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 +msgid "Exception Rule Confirm Wizard" +msgstr "Assistente de confirmação de regra de exceção" + +#. module: base_exception +#: model:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +msgstr "Métodos de regras 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 +msgid "Exception Type" +msgstr "Tipo de 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 "Ajuda" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form +msgid "Help with Python expressions" +msgstr "Ajuda com expressões python" + +#. module: base_exception +#: model:ir.model.fields,field_description:base_exception.field_base_exception__id +#: model:ir.model.fields,field_description:base_exception.field_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -msgstr "" -"Se detectarmos uma exceção, definimos o estado do objeto (ex-purchase) para " -"o next_state (ex 'to approve'). Se houver mais de uma exceção detectada e " -"todas tiverem um valor para next_state, usamos a exceção com o menor valor " -"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_base_exception_method____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 -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 +239,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,52 +259,73 @@ 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 -msgid "Rule Group" -msgstr "Regra de grupo" - -#. module: base_exception -#: 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 "" -"O grupo de regras é usado para agrupar as regras que devem ser validadas ao " -"mesmo tempo para um objeto de destino. Ex: valide as regras de sale.order." -"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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." msgstr "" -"O valor \"%s\" escolhido para o estado do campo \"próximo estado\" de \"%s\" " -"está errado. O valor deve estar nesta lista %s" +"Há um problema de configuração, está faltando código ou domínio python para " +"corresponder ao tipo de exceção." #. 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_form +msgid "To block the exception use: failed = True" +msgstr "Para bloquear a exceção, use: failed = True" + +#. module: 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 "" +"Vários campos podem usar código python ou expressões python. As seguintes " +"variáveis podem ser usadas:" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "_Fechar" -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" +#~ 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 and all have a value for next_state, we usethe exception having " +#~ "the smallest sequence value" +#~ msgstr "" +#~ "Se detectarmos uma exceção, definimos o estado do objeto (ex-purchase) " +#~ "para o next_state (ex 'to approve'). Se houver mais de uma exceção " +#~ "detectada e todas tiverem um valor para next_state, usamos a exceção com " +#~ "o menor valor de sequência" -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" +#~ msgid "Next state" +#~ msgstr "Próximo estado" + +#~ msgid "Rule Group" +#~ msgstr "Regra de grupo" + +#~ 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 "" +#~ "O grupo de regras é usado para agrupar as regras que devem ser validadas " +#~ "ao mesmo tempo para um objeto de destino. Ex: valide as regras de sale." +#~ "order.line com regras de ordem de venda." + +#~ msgid "" +#~ "The value \"%s\" you choose for the \"next state\" field state of \"%s\" " +#~ "is wrong. Value must be in this list %s" +#~ msgstr "" +#~ "O valor \"%s\" escolhido para o estado do campo \"próximo estado\" de \"%s" +#~ "\" está errado. O valor deve estar nesta lista %s" diff --git a/base_exception/i18n/pt_PT.po b/base_exception/i18n/pt_PT.po index 55985bbef..b813716b2 100644 --- a/base_exception/i18n/pt_PT.po +++ b/base_exception/i18n/pt_PT.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/ro.po b/base_exception/i18n/ro.po index baaac68d7..aec37d124 100644 --- a/base_exception/i18n/ro.po +++ b/base_exception/i18n/ro.po @@ -21,39 +21,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -62,103 +104,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +231,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/ru.po b/base_exception/i18n/ru.po index 92fa9d024..133dee7d3 100644 --- a/base_exception/i18n/ru.po +++ b/base_exception/i18n/ru.po @@ -21,39 +21,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -62,103 +104,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +231,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/sk.po b/base_exception/i18n/sk.po index 3e9395756..534aa31f5 100644 --- a/base_exception/i18n/sk.po +++ b/base_exception/i18n/sk.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/sl.po b/base_exception/i18n/sl.po index 7dba9bcc6..2330abe3f 100644 --- a/base_exception/i18n/sl.po +++ b/base_exception/i18n/sl.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/sr.po b/base_exception/i18n/sr.po index dc106cbcd..fbce55889 100644 --- a/base_exception/i18n/sr.po +++ b/base_exception/i18n/sr.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/sr@latin.po b/base_exception/i18n/sr@latin.po index 366a07148..be2ec1d99 100644 --- a/base_exception/i18n/sr@latin.po +++ b/base_exception/i18n/sr@latin.po @@ -21,39 +21,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -62,103 +104,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +231,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/sv.po b/base_exception/i18n/sv.po index a1ff207b3..6e041a9f6 100644 --- a/base_exception/i18n/sv.po +++ b/base_exception/i18n/sv.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/th.po b/base_exception/i18n/th.po index f3a2c97cd..abe232a3e 100644 --- a/base_exception/i18n/th.po +++ b/base_exception/i18n/th.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/tr.po b/base_exception/i18n/tr.po index 356a600ef..b9b3b1da6 100644 --- a/base_exception/i18n/tr.po +++ b/base_exception/i18n/tr.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/tr_TR.po b/base_exception/i18n/tr_TR.po index c8447ba09..055fab540 100644 --- a/base_exception/i18n/tr_TR.po +++ b/base_exception/i18n/tr_TR.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/uk.po b/base_exception/i18n/uk.po index 417087935..15009e3a8 100644 --- a/base_exception/i18n/uk.po +++ b/base_exception/i18n/uk.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/vi.po b/base_exception/i18n/vi.po index 92e7f0220..93e09c055 100644 --- a/base_exception/i18n/vi.po +++ b/base_exception/i18n/vi.po @@ -19,39 +19,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -60,103 +102,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +229,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/vi_VN.po b/base_exception/i18n/vi_VN.po index 0d6180653..a39d5ed3c 100644 --- a/base_exception/i18n/vi_VN.po +++ b/base_exception/i18n/vi_VN.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/i18n/zh_CN.po b/base_exception/i18n/zh_CN.po index a564159f3..e93ed0ccb 100644 --- a/base_exception/i18n/zh_CN.po +++ b/base_exception/i18n/zh_CN.po @@ -9,8 +9,8 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-05-01 10:38+0000\n" -"PO-Revision-Date: 2017-05-01 10:38+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2019-08-31 04:24+0000\n" +"Last-Translator: 黎伟杰 <674416404@qq.com>\n" "Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" "zh_CN/)\n" "Language: zh_CN\n" @@ -18,215 +18,271 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Weblate 3.8\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 "self: 记录对规则求值的位置。" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form +msgid "time: useful Python libraries" +msgstr "time: 有用的Python库" + +#. 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 "" +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 "通过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 "" +"通过python代码:允许定义任意检查\n" +"通过域: 仅限于odoo域的选择:\n" +" 在评估异常情况时 可以使用几种记录来改进性能" + +#. 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" +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_base_exception_method__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" +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 "在这里输入Python代码。有关Python表达式的帮助,请参阅本文档的帮助选项卡。" + +#. module: base_exception +#: code:addons/base_exception/models/base_exception.py:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" " %s \n" "(%s)" msgstr "" +"评估exception.rule规则时出错:\n" +" %s \n" +"(%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 +msgid "Exception" +msgstr "异常" + +#. module: base_exception +#: model:ir.model.fields,field_description:base_exception.field_exception_rule__name msgid "Exception Name" -msgstr "" +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 "" +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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +msgstr "异常规则方法" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form msgid "Exception Rule Setup" -msgstr "" +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 "" +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 "" +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 "" +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 "" +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 "" +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 "" +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 "帮助Python表达式" + +#. module: base_exception +#: model:ir.model.fields,field_description:base_exception.field_base_exception__id +#: model:ir.model.fields,field_description:base_exception.field_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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 "" +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_base_exception_method____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" +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 "上次更新日期" +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 "" +msgstr "主要异常" #. module: base_exception -#: 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 "" +msgstr "只接受了一个ID,得到 %r。" #. module: base_exception #: model:ir.actions.act_window,name:base_exception.action_exception_rule_confirm msgid "Outstanding exceptions to manage" -msgstr "" +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 "" +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 "" +msgstr "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 "" +msgstr "执行Python代码以检查异常是否适用。使用failed = True可阻止异常" #. module: base_exception -#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm_related_model_id -#, fuzzy +#: model:ir.model.fields,field_description:base_exception.field_exception_rule_confirm__related_model_id msgid "Related Model" -msgstr "创建时间" +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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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 "" +msgstr "序列" #. module: base_exception -#: code:addons/base_exception/models/base_exception.py:88 +#: code:addons/base_exception/models/base_exception.py:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" -msgstr "" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." +msgstr "存在配置问题,缺少python代码或域以匹配异常类型。" #. 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_form +msgid "To block the exception use: failed = True" +msgstr "阻止异常使用: failed = True" + +#. module: 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 "各种字段可能使用Python代码或Python表达式。可以使用以下变量:" + +#. module: base_exception +#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" +msgstr "关闭" diff --git a/base_exception/i18n/zh_TW.po b/base_exception/i18n/zh_TW.po index ff0679860..093b807c5 100644 --- a/base_exception/i18n/zh_TW.po +++ b/base_exception/i18n/zh_TW.po @@ -20,39 +20,81 @@ 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_base_exception_method__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:138 #, python-format msgid "" "Error when evaluating the exception.rule rule:\n" @@ -61,103 +103,123 @@ msgid "" 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:ir.model,name:base_exception.model_base_exception_method +msgid "Exception Rule Methods" +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_base_exception_method__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 -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 " -"and all have a value for next_state, we usethe exception having the smallest " -"sequence value" -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_base_exception_method____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 -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,65 +230,55 @@ 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 -msgid "Rule Group" -msgstr "" - -#. module: base_exception -#: 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:49 #, python-format msgid "" -"The value \"%s\" you choose for the \"next state\" field state of \"%s\" is " -"wrong. Value must be in this list %s" +"There is a problem of configuration, python code or domain is missing to " +"match the exception type." 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_form +msgid "To block the exception use: failed = True" +msgstr "" + +#. module: 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_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_confirm msgid "_Close" msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_base_exception -msgid "base.exception" -msgstr "" - -#. module: base_exception -#: model:ir.model,name:base_exception.model_exception_rule_confirm -msgid "exception.rule.confirm" -msgstr "" diff --git a/base_exception/models/base_exception.py b/base_exception/models/base_exception.py index 8c1b706fa..26c4b57c4 100644 --- a/base_exception/models/base_exception.py +++ b/base_exception/models/base_exception.py @@ -4,22 +4,10 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). import time -from functools import wraps from odoo import api, fields, models, _ from odoo.exceptions import UserError, ValidationError from odoo.tools.safe_eval import safe_eval - - -def implemented_by_base_exception(func): - """Call a prefixed function based on 'namespace'.""" - @wraps(func) - def wrapper(cls, *args, **kwargs): - fun_name = func.__name__ - fun = '_%s%s' % (cls.rule_group, fun_name) - if not hasattr(cls, fun): - fun = '_default%s' % (fun_name) - return getattr(cls, fun)(*args, **kwargs) - return wrapper +from odoo import osv class ExceptionRule(models.Model): @@ -33,13 +21,6 @@ class ExceptionRule(models.Model): string='Sequence', help="Gives the sequence order when applying the test", ) - rule_group = fields.Selection( - selection=[], - help="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.", - required=True, - ) model = fields.Selection(selection=[], string='Apply on', required=True) exception_type = fields.Selection( @@ -52,40 +33,22 @@ class ExceptionRule(models.Model): " are evaluated with several records") domain = fields.Char('Domain') - active = fields.Boolean('Active') - next_state = fields.Char( - 'Next state', - help="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 and all have a value for next_state, we use" - "the exception having the smallest sequence value", - ) + active = fields.Boolean('Active', default=True) code = fields.Text( 'Python Code', help="Python code executed to check if the exception apply or " "not. Use failed = True to block the exception", ) - @api.constrains('next_state') - def _check_next_state_value(self): - """ Ensure that the next_state value is in the state values of - destination model """ + @api.constrains('exception_type', 'domain', 'code') + def check_exception_type_consistency(self): for rule in self: - if rule.next_state: - select_vals = self.env[ - rule.model].fields_get()[ - 'state']['selection'] - select_vals_code = [s[0] for s in select_vals] - if rule.next_state not in select_vals_code: - raise ValidationError(_( - 'The value "%s" you choose for the "next state" ' - 'field state of "%s" is wrong.' - ' Value must be in this list %s' - ) % ( - rule.next_state, - rule.model, - select_vals - )) + if ((rule.exception_type == 'by_py_code' and not rule.code) or + (rule.exception_type == 'by_domain' and not rule.domain)): + raise ValidationError( + _("There is a problem of configuration, python code or " + "domain is missing to match the exception type.") + ) @api.multi def _get_domain(self): @@ -94,7 +57,130 @@ class ExceptionRule(models.Model): return safe_eval(self.domain) +class BaseExceptionMethod(models.AbstractModel): + _name = 'base.exception.method' + _description = 'Exception Rule Methods' + + @api.multi + def _get_main_records(self): + """ + Used in case we check exceptions on a record but write these + exceptions on a parent record. Typical example is with + sale.order.line. We check exceptions on some sale order lines but + write these exceptions on the sale order, so they are visible. + """ + return self + + @api.multi + def _reverse_field(self): + raise NotImplementedError() + + def _rule_domain(self): + """Filter exception.rules. + By default, only the rules with the correct model + will be used. + """ + return [('model', '=', self._name)] + + @api.multi + def detect_exceptions(self): + """List all exception_ids applied on self + Exception ids are also written on records + If self is empty, check exceptions on all active records. + """ + rules = self.env['exception.rule'].sudo().search( + self._rule_domain()) + all_exception_ids = [] + for rule in rules: + records_with_exception = self._detect_exceptions(rule) + reverse_field = self._reverse_field() + if self: + main_records = self._get_main_records() + commons = main_records & rule[reverse_field] + to_remove = commons - records_with_exception + to_add = records_with_exception - commons + to_remove_list = [(3, x.id, _) for x in to_remove] + to_add_list = [(4, x.id, _) for x in to_add] + rule.write({reverse_field: to_remove_list + to_add_list}) + else: + rule.write({ + reverse_field: [(6, 0, records_with_exception.ids)] + }) + if records_with_exception: + all_exception_ids.append(rule.id) + return all_exception_ids + + @api.model + def _exception_rule_eval_context(self, rec): + return { + 'time': time, + 'self': rec, + # object, obj: deprecated. + # should be removed in future migrations + 'object': rec, + 'obj': rec, + # copy context to prevent side-effects of eval + # should be deprecated too, accesible through self. + 'context': self.env.context.copy() + } + + @api.model + def _rule_eval(self, rule, rec): + expr = rule.code + space = self._exception_rule_eval_context(rec) + try: + safe_eval(expr, + space, + mode='exec', + nocopy=True) # nocopy allows to return 'result' + except Exception as e: + raise UserError( + _('Error when evaluating the exception.rule ' + 'rule:\n %s \n(%s)') % (rule.name, e)) + return space.get('failed', False) + + @api.multi + def _detect_exceptions(self, rule): + if rule.exception_type == 'by_py_code': + return self._detect_exceptions_by_py_code(rule) + elif rule.exception_type == 'by_domain': + return self._detect_exceptions_by_domain(rule) + + @api.multi + def _get_base_domain(self): + domain = [('ignore_exception', '=', False)] + if self: + domain = osv.expression.AND([domain, [('id', 'in', self.ids)]]) + return domain + + @api.multi + def _detect_exceptions_by_py_code(self, rule): + """ + Find exceptions found on self. + If self is empty, check on all records. + """ + domain = self._get_base_domain() + records = self.search(domain) + records_with_exception = self.env[self._name] + for record in records: + if self._rule_eval(rule, record): + records_with_exception |= record + return records_with_exception + + @api.multi + def _detect_exceptions_by_domain(self, rule): + """ + Find exceptions found on self. + If self is empty, check on all records. + """ + base_domain = self._get_base_domain() + rule_domain = rule._get_domain() + domain = osv.expression.AND([base_domain, rule_domain]) + return self.search(domain) + + class BaseException(models.AbstractModel): + _inherit = 'base.exception.method' _name = 'base.exception' _order = 'main_exception_id asc' _description = 'Exception' @@ -105,7 +191,6 @@ class BaseException(models.AbstractModel): string='Main Exception', store=True, ) - rule_group = fields.Selection([], readonly=True) exception_ids = fields.Many2many('exception.rule', string='Exceptions') ignore_exception = fields.Boolean('Ignore Exceptions', copy=False) @@ -149,214 +234,3 @@ class BaseException(models.AbstractModel): if exception_ids: exceptions = self.env['exception.rule'].browse(exception_ids) raise ValidationError('\n'.join(exceptions.mapped('name'))) - - @api.multi - def test_exceptions(self): - """ - Condition method for the workflow from draft to confirm - """ - if self.detect_exceptions(): - return False - return True - - @api.multi - def _reverse_field(self): - """Name of the many2many field from exception rule to self. - - In order to take advantage of domain optimisation, exception rule - model should have a many2many field to inherited object. - The opposit relation already exists in the name of exception_ids - - Example: - class ExceptionRule(models.Model): - _inherit = 'exception.rule' - - model = fields.Selection( - selection_add=[ - ('sale.order', 'Sale order'), - [...] - ]) - sale_ids = fields.Many2many( - 'sale.order', - string='Sales') - [...] - """ - exception_obj = self.env['exception.rule'] - reverse_fields = self.env['ir.model.fields'].search([ - ['model', '=', 'exception.rule'], - ['ttype', '=', 'many2many'], - ['relation', '=', self[0]._name], - ]) - # ir.model.fields may contain old variable name - # so we check if the field exists on exception rule - return ([ - field.name for field in reverse_fields - if hasattr(exception_obj, field.name) - ] or [None])[0] - - @api.multi - def _rule_domain(self): - """Filter exception.rules. - By default, only the rules with the correct rule group - will be used. - """ - return [('rule_group', 'in', self.mapped('rule_group'))] - - @api.multi - def detect_exceptions(self): - """List all exception_ids applied on self - Exception ids are also written on records - """ - if not self: - return [] - exception_obj = self.env['exception.rule'] - all_exceptions = exception_obj.sudo().search( - self._rule_domain()) - model_exceptions = all_exceptions.filtered( - lambda ex: ex.model == self._name) - sub_exceptions = all_exceptions.filtered( - lambda ex: ex.model != self._name) - - reverse_field = self._reverse_field() - if reverse_field: - optimize = True - else: - optimize = False - - exception_by_rec, exception_by_rule = self._detect_exceptions( - model_exceptions, sub_exceptions, optimize) - - all_exception_ids = [] - for obj, exception_ids in exception_by_rec.iteritems(): - obj.exception_ids = [(6, 0, exception_ids)] - all_exception_ids += exception_ids - for rule, exception_ids in exception_by_rule.iteritems(): - rule[reverse_field] = [(6, 0, exception_ids.ids)] - if exception_ids: - all_exception_ids += [rule.id] - return list(set(all_exception_ids)) - - @api.model - def _exception_rule_eval_context(self, obj_name, rec): - return { - 'time': time, - 'self': rec, - # obj_name, object, obj: deprecated. - # should be removed in future migrations - obj_name: rec, - 'object': rec, - 'obj': rec, - # copy context to prevent side-effects of eval - # should be deprecated too, accesible through self. - 'context': self.env.context.copy() - } - - @api.model - def _rule_eval(self, rule, obj_name, rec): - eval_ctx = self._exception_rule_eval_context(obj_name, rec) - try: - safe_eval(rule.code, eval_ctx, mode='exec', nocopy=True) - except Exception as e: - raise UserError(_( - 'Error when evaluating the exception.rule: ' - '%s\n(%s)') % (rule.name, e)) - return eval_ctx.get('failed', False) - - @api.multi - def _detect_exceptions( - self, model_exceptions, sub_exceptions, - optimize=False, - ): - """Find exceptions found on self. - - @returns - exception_by_rec: {record_id: exception_ids} - exception_by_rule: {rule_id: record_ids} - """ - exception_by_rec = {} - exception_by_rule = {} - exception_set = set() - python_rules = [] - dom_rules = [] - optim_rules = [] - - for rule in model_exceptions: - if rule.exception_type == 'by_py_code': - python_rules.append(rule) - elif rule.exception_type == 'by_domain' and rule.domain: - if optimize: - optim_rules.append(rule) - else: - dom_rules.append(rule) - - for rule in optim_rules: - domain = rule._get_domain() - domain.append(['ignore_exception', '=', False]) - domain.append(['id', 'in', self.ids]) - records_with_exception = self.search(domain) - exception_by_rule[rule] = records_with_exception - if records_with_exception: - exception_set.add(rule.id) - - if len(python_rules) or len(dom_rules) or sub_exceptions: - for rec in self: - for rule in python_rules: - if ( - not rec.ignore_exception and - self._rule_eval(rule, rec.rule_group, rec) - ): - exception_by_rec.setdefault(rec, []).append(rule.id) - exception_set.add(rule.id) - for rule in dom_rules: - # there is no reverse many2many, so this rule - # can't be optimized, see _reverse_field - domain = rule._get_domain() - domain.append(['ignore_exception', '=', False]) - domain.append(['id', '=', rec.id]) - if self.search_count(domain): - exception_by_rec.setdefault( - rec, []).append(rule.id) - exception_set.add(rule.id) - if sub_exceptions: - group_line = rec.rule_group + '_line' - for obj_line in rec._get_lines(): - for rule in sub_exceptions: - if rule.id in exception_set: - # we do not matter if the exception as - # already been - # found for an line of this object - # (ex sale order line if obj is sale order) - continue - if rule.exception_type == 'by_py_code': - if self._rule_eval( - rule, group_line, obj_line - ): - exception_by_rec.setdefault( - rec, []).append(rule.id) - elif ( - rule.exception_type == 'by_domain' and - rule.domain - ): - # sub_exception are currently not optimizable - domain = rule._get_domain() - domain.append(('id', '=', obj_line.id)) - if obj_line.search_count(domain): - exception_by_rec.setdefault( - rec, []).append(rule.id) - - # set object to next state - # find exception that raised error and has next_state - next_state_exception_ids = model_exceptions.filtered( - lambda r: r.id in exception_set and r.next_state) - - if next_state_exception_ids: - self.state = next_state_exception_ids[0].next_state - - return exception_by_rec, exception_by_rule - - @implemented_by_base_exception - def _get_lines(self): - pass - - def _default_get_lines(self): - return [] diff --git a/base_exception/static/description/index.html b/base_exception/static/description/index.html index bfa0ddf39..c4c4efa3f 100644 --- a/base_exception/static/description/index.html +++ b/base_exception/static/description/index.html @@ -3,7 +3,7 @@ - + Exception Rule