Avoid comma at the end of error_message
This commit is contained in:
parent
4e103b95f0
commit
7c817ee743
@ -62,7 +62,7 @@ class AccountMoveTemplate(models.Model):
|
|||||||
error_message = (
|
error_message = (
|
||||||
u'If the template is "cross-journals", the Journals must be '
|
u'If the template is "cross-journals", the Journals must be '
|
||||||
u'different, if the template does not "cross-journals" the '
|
u'different, if the template does not "cross-journals" the '
|
||||||
u'Journals must be the same!',
|
u'Journals must be the same!'
|
||||||
)
|
)
|
||||||
for move_template in self:
|
for move_template in self:
|
||||||
if move_template.template_line_ids:
|
if move_template.template_line_ids:
|
||||||
|
Loading…
Reference in New Issue
Block a user