[IMP] account: change currecy message on invoice
bzr revid: mra@mra-laptop-20100709065815-8ecl9lbzisatemyq
This commit is contained in:
parent
597e61c5fc
commit
da52d3a2c8
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue