diff options
| author | Fabien Pinckaers <fp@openerp.com> | 2015-09-26 11:34:18 -0700 |
|---|---|---|
| committer | Fabien Pinckaers <fp@openerp.com> | 2015-09-26 11:34:18 -0700 |
| commit | e49d0cd74d39ffc293af343eac03de6aa2f6e8ee (patch) | |
| tree | 1de2c46230f25fbbdac88ed56b99ab80b7be748d | |
| parent | adbfed5bbb719d743e7d01ebc85eb1ae8003cf4f (diff) | |
[IMP] Typo
| -rw-r--r-- | addons/account/models/account_payment.py | 2 | ||||
| -rw-r--r-- | addons/account/wizard/account_validate_account_move.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/account/models/account_payment.py b/addons/account/models/account_payment.py index 3216511984f..cfcd8236cb4 100644 --- a/addons/account/models/account_payment.py +++ b/addons/account/models/account_payment.py @@ -326,7 +326,7 @@ class account_payment(models.Model): raise UserError(_("Only a draft payment can be posted. Trying to post a payment in state %s.") % rec.state) if any(inv.state != 'open' for inv in rec.invoice_ids): - raise ValidationError(_("The payment cannot be processed because an invoice of the payment is not open !")) + raise ValidationError(_("The payment cannot be processed because the invoice is not open!")) # Use the right sequence to set the name if rec.payment_type == 'transfer': diff --git a/addons/account/wizard/account_validate_account_move.py b/addons/account/wizard/account_validate_account_move.py index a1c9f670dbd..0200cbfc075 100644 --- a/addons/account/wizard/account_validate_account_move.py +++ b/addons/account/wizard/account_validate_account_move.py @@ -15,6 +15,6 @@ class ValidateAccountMove(models.TransientModel): if move.state == 'draft': move_to_post += move if not move_to_post: - raise UserError(_('There is no account move entries in draft state to post.')) + raise UserError(_('There is no journal items in draft state to post.')) move_to_post.post() return {'type': 'ir.actions.act_window_close'} |
