[FIX] mrp: add missing space in warning message

opw-1886349
Closes #27053
This commit is contained in:
Pratima Gupta
2018-09-19 09:46:54 +02:00
committed by Martin Trigaux
parent b9473c09c6
commit 197119a37d
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -3882,7 +3882,7 @@ msgstr ""
#. module: mrp
#: code:addons/mrp/models/mrp_unbuild.py:88
#, python-format
msgid "You cannot delete an unbuild order if the stateis \"Done\""
msgid "You cannot delete an unbuild order if the state is 'Done'."
msgstr ""
#. module: mrp
+1 -2
View File
@@ -85,8 +85,7 @@ class MrpUnbuild(models.Model):
@api.multi
def unlink(self):
if 'done' in self.mapped('state'):
raise UserError(_('You cannot delete an unbuild order if the state'
'is "Done"'))
raise UserError(_("You cannot delete an unbuild order if the state is 'Done'."))
return super(MrpUnbuild, self).unlink()
@api.multi