[IMP] account: change currecy message on invoice

bzr revid: mra@mra-laptop-20100709065815-8ecl9lbzisatemyq
This commit is contained in:
Mustufa Rangwala 2010-07-09 12:28:15 +05:30
parent 597e61c5fc
commit da52d3a2c8
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class account_change_currency(osv.osv_memory):
context = {}
state = obj_inv.browse(cr, uid, context['active_id']).state
if obj_inv.browse(cr, uid, context['active_id']).state != 'draft':
raise osv.except_osv(_('Error'), _('You can not change currency for Open Invoice !'))
raise osv.except_osv(_('Error'), _('You can only change currency for Draft Invoice !'))
pass
def change_currency(self, cr, uid, ids, context=None):