[IMP] account_voucher : Improved the code.
bzr revid: mdi@tinyerp.com-20120607113934-jllzdcjjg53f4f05
This commit is contained in:
parent
31d1cd4587
commit
d639e9e7fb
|
@ -259,7 +259,7 @@ class account_voucher(osv.osv):
|
|||
'payment': 'Supplier Payment',
|
||||
'receipt': 'Customer Payment',
|
||||
}
|
||||
return type_dict.get(type, 'Voucher')
|
||||
return type_dict.get(type, 'Payment')
|
||||
|
||||
def create(self, cr, uid, vals, context=None):
|
||||
res = super(account_voucher, self).create(cr, uid, vals, context=context)
|
||||
|
|
Loading…
Reference in New Issue