From dc34d310ff3bd26c97375d47fab43ea8e67498cf Mon Sep 17 00:00:00 2001 From: Jaydeep Barot Date: Wed, 23 Apr 2014 17:41:17 +0530 Subject: [PATCH] [typo] improve typo for _check_currency_amount constraint bzr revid: jar@tinyerp.com-20140423121117-xitriiv7mfwvsn35 --- addons/account/account_move_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/account_move_line.py b/addons/account/account_move_line.py index 730c8faa062..e44e8825128 100644 --- a/addons/account/account_move_line.py +++ b/addons/account/account_move_line.py @@ -628,7 +628,7 @@ class account_move_line(osv.osv): (_check_date, 'The date of your Journal Entry is not in the defined period! You should change the date or remove this constraint from the journal.', ['date']), (_check_currency, 'The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account or select a multi-currency view on the journal.', ['currency_id']), (_check_currency_and_amount, "You cannot create journal items with a secondary currency without recording both 'currency' and 'amount currency' field.", ['currency_id','amount_currency']), - (_check_currency_amount, 'The amount expressed in the secondary currency must be positive when account is a debited and negative when account is a credit.', ['amount_currency']), + (_check_currency_amount, 'The amount expressed in the secondary currency must be positive when account is debited and negative when account is credited.', ['amount_currency']), (_check_currency_company, "You cannot provide a secondary currency if it is the same than the company one." , ['currency_id']), ]