summaryrefslogtreecommitdiff
path: root/addons/analytic/analytic.py
diff options
context:
space:
mode:
authorsgo@tinyerp.com <>2013-06-10 10:30:15 +0530
committersgo@tinyerp.com <>2013-06-10 10:30:15 +0530
commitfea1eaf1d65c97743e2d4188c8ae5dc5fc581e2b (patch)
treef07db151ab633b6ddcb0012d281ceac2746c916a /addons/analytic/analytic.py
parentd3c7f6becffc7830f8f4c26b6cef7842d4a8ac4a (diff)
parent70f16ce73b0dab305b9e7d63a74416cbcb0448da (diff)
[MERGE]sync with parent
bzr revid: sgo@tinyerp.com-20130610050015-cuk6adbhzsmaas8s
Diffstat (limited to 'addons/analytic/analytic.py')
-rw-r--r--addons/analytic/analytic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/analytic/analytic.py b/addons/analytic/analytic.py
index f70ab695719..ead6f72bee4 100644
--- a/addons/analytic/analytic.py
+++ b/addons/analytic/analytic.py
@@ -157,7 +157,7 @@ class account_analytic_account(osv.osv):
for account in self.browse(cr, uid, ids, context=context):
if account.company_id:
if account.company_id.currency_id.id != value:
- raise osv.except_osv(_('Error!'), _("If you set a company, the currency selected has to be the same as it's currency. \nYou can remove the company belonging, and thus change the currency, only on analytic account of type 'view'. This can be really usefull for consolidation purposes of several companies charts with different currencies, for example."))
+ raise osv.except_osv(_('Error!'), _("If you set a company, the currency selected has to be the same as it's currency. \nYou can remove the company belonging, and thus change the currency, only on analytic account of type 'view'. This can be really useful for consolidation purposes of several companies charts with different currencies, for example."))
if value:
return cr.execute("""update account_analytic_account set currency_id=%s where id=%s""", (value, account.id, ))