[14.0][FIX] base_exception, error if rule's description is null
parent
0a396550ac
commit
9170475311
|
@ -5,7 +5,7 @@
|
||||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||||
{
|
{
|
||||||
"name": "Exception Rule",
|
"name": "Exception Rule",
|
||||||
"version": "14.0.1.0.2",
|
"version": "14.0.1.0.3",
|
||||||
"category": "Generic Modules",
|
"category": "Generic Modules",
|
||||||
"summary": """
|
"summary": """
|
||||||
This module provide an abstract model to manage customizable
|
This module provide an abstract model to manage customizable
|
||||||
|
|
|
@ -10,14 +10,15 @@ msgstr ""
|
||||||
"Project-Id-Version: Odoo Server 11.0\n"
|
"Project-Id-Version: Odoo Server 11.0\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2018-03-03 10:08+0000\n"
|
"POT-Creation-Date: 2018-03-03 10:08+0000\n"
|
||||||
"PO-Revision-Date: 2018-03-03 10:08+0000\n"
|
"PO-Revision-Date: 2021-08-17 14:49+0000\n"
|
||||||
"Last-Translator: Nicolas JEUDY <njeudy@panda-chi.io>, 2018\n"
|
"Last-Translator: Iván Todorovich <ivan.todorovich@druidoo.io>\n"
|
||||||
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: \n"
|
"Content-Transfer-Encoding: \n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||||
|
"X-Generator: Weblate 4.3.2\n"
|
||||||
|
|
||||||
#. module: base_exception
|
#. module: base_exception
|
||||||
#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
|
#: model_terms:ir.ui.view,arch_db:base_exception.view_exception_rule_form
|
||||||
|
@ -101,13 +102,13 @@ msgstr ""
|
||||||
|
|
||||||
#. module: base_exception
|
#. module: base_exception
|
||||||
#: code:addons/base_exception/models/base_exception.py:0
|
#: code:addons/base_exception/models/base_exception.py:0
|
||||||
#, fuzzy, python-format
|
#, python-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Error when evaluating the exception.rule rule:\n"
|
"Error when evaluating the exception.rule rule:\n"
|
||||||
" %s \n"
|
" %s \n"
|
||||||
"(%s)"
|
"(%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"L'evaluatino de la règle d'exception a généré une erreur :\n"
|
"L'évaluation de la règle d'exception a généré une erreur :\n"
|
||||||
" %s \n"
|
" %s \n"
|
||||||
"(%s)"
|
"(%s)"
|
||||||
|
|
||||||
|
|
|
@ -219,7 +219,7 @@ class BaseExceptionModel(models.AbstractModel):
|
||||||
rec.exceptions_summary = "<ul>%s</ul>" % "".join(
|
rec.exceptions_summary = "<ul>%s</ul>" % "".join(
|
||||||
[
|
[
|
||||||
"<li>%s: <i>%s</i></li>"
|
"<li>%s: <i>%s</i></li>"
|
||||||
% tuple(map(html.escape, (e.name, e.description)))
|
% tuple(map(html.escape, (e.name, e.description or "")))
|
||||||
for e in rec.exception_ids
|
for e in rec.exception_ids
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue