Bharat Devnani (Open ERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-906752-bde into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #906752 in OpenERP Addons: "account: Spelling mistakes in warning
msg(change currency wizard)"
https://bugs.launchpad.net/openobject-addons/+bug/906752
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-906752-bde/+merge/86351
Hello Sir,
I have corrected spelling mistakes in warning messages of
account/wizard/account_change_currency.py.
Thanks & Regards,
Devnani Bharat R.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-906752-bde/+merge/86351
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-906752-bde.
=== modified file 'account/wizard/account_change_currency.py'
--- account/wizard/account_change_currency.py 2011-05-02 18:46:43 +0000
+++ account/wizard/account_change_currency.py 2011-12-20 07:36:25 +0000
@@ -56,18 +56,18 @@
if invoice.company_id.currency_id.id == invoice.currency_id.id:
new_price = line.price_unit * rate
if new_price <= 0:
- raise osv.except_osv(_('Error'), _('New currency is not confirured properly !'))
+ raise osv.except_osv(_('Error'), _('New currency is not configured properly !'))
if invoice.company_id.currency_id.id != invoice.currency_id.id and invoice.company_id.currency_id.id == new_currency:
old_rate = invoice.currency_id.rate
if old_rate <= 0:
- raise osv.except_osv(_('Error'), _('Currnt currency is not confirured properly !'))
+ raise osv.except_osv(_('Error'), _('Current currency is not configured properly !'))
new_price = line.price_unit / old_rate
if invoice.company_id.currency_id.id != invoice.currency_id.id and invoice.company_id.currency_id.id != new_currency:
old_rate = invoice.currency_id.rate
if old_rate <= 0:
- raise osv.except_osv(_('Error'), _('Current currency is not confirured properly !'))
+ raise osv.except_osv(_('Error'), _('Current currency is not configured properly !'))
new_price = (line.price_unit / old_rate ) * rate
obj_inv_line.write(cr, uid, [line.id], {'price_unit': new_price})
obj_inv.write(cr, uid, [invoice.id], {'currency_id': new_currency}, context=context)
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp