[TYPO] removed exclamation points from error messages

This commit is contained in:
Alexandre Fayolle
2013-01-18 09:46:30 +01:00
parent 8964e0a05b
commit 6d75a71721

View File

@@ -33,9 +33,9 @@ class account_move(orm.Model):
if invoice: if invoice:
valid_moves = self.validate(cr, uid, ids, context) valid_moves = self.validate(cr, uid, ids, context)
if not valid_moves: if not valid_moves:
raise osv.except_osv(_('Integrity Error !'), _('''You can not validate a non-balanced entry!\n \ raise osv.except_osv(_('Integrity Error'), _('''You can not validate a non-balanced entry.\n \
Make sure you have configured payment terms properly!\n \ Make sure you have configured payment terms properly.\n \
The latest payment term line should be of the type "Balance" !''')) The latest payment term line should be of the type "Balance".'''))
move_obj = self.pool.get('account.move') move_obj = self.pool.get('account.move')
move_obj.write(cr, uid, valid_moves, {'state': 'draft'}, context=context) move_obj.write(cr, uid, valid_moves, {'state': 'draft'}, context=context)
@@ -51,7 +51,7 @@ class account_move(orm.Model):
raise osv.except_osv(_('Error'), _('You can not modify a posted entry of closed periods')) raise osv.except_osv(_('Error'), _('You can not modify a posted entry of closed periods'))
## Change the test of line state instead of journal type ## Change the test of line state instead of journal type
elif line.state == 'posted': elif line.state == 'posted':
raise osv.except_osv(_('Error'), _('''You can not modify a posted entry of this journal!\n \ raise osv.except_osv(_('Error'), _('''You can not modify a posted entry of this journal.\n \
You should set the journal to allow cancelling entries if you want to do that.''')) You should set the journal to allow cancelling entries if you want to do that.'''))
if ids: if ids:
move_obj = self.pool.get('account.move') move_obj = self.pool.get('account.move')