[IMP] account_voucher : Improved the code.

bzr revid: mdi@tinyerp.com-20120607113934-jllzdcjjg53f4f05
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-06-07 17:09:34 +05:30
parent 31d1cd4587
commit d639e9e7fb
1 changed files with 1 additions and 1 deletions

View File

@ -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)