Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits: 04dc0f8c by Cédric Krier at 2023-04-13T16:42:17+02:00 Fix typo in account move template expression error message ID - - - - - 2 changed files: - modules/account/message.xml - modules/account/move_template.py Changes: ===================================== modules/account/message.xml ===================================== @@ -143,7 +143,7 @@ <field name="text">Failed to evaluate expression "%(expression)s" from template "%(template)s" with error: "%(error)s"</field> </record> - <record model="ir.message" id="msg_move_template_expession_not_number"> + <record model="ir.message" id="msg_move_template_expression_not_number"> <field name="text">The value "%(value)s" of "%(expression)s" from template "%(template)s" is not a number.</field> </record> <record model="ir.message" id="msg_move_template_keyword_name_not_identifier"> ===================================== modules/account/move_template.py ===================================== @@ -229,7 +229,7 @@ if not isinstance(amount, Decimal): raise MoveTemplateExpressionError( - gettext('account.msg_move_template_expession_not_number', + gettext('account.msg_move_template_expression_not_number', value=amount, expression=self.move.name, template=self.move.rec_name)) View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/04dc0f8c8ae34ad6adf85230ec01986a4a91f71b -- View it on Heptapod: https://foss.heptapod.net/tryton/tryton/-/commit/04dc0f8c8ae34ad6adf85230ec01986a4a91f71b You're receiving this email because of your account on foss.heptapod.net.