projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3452694
)
[IMP] set number instead of amount in breadcum.
author
Jaydeep Barot
<jar@tinyerp.com>
Mon, 21 Apr 2014 05:28:58 +0000
(10:58 +0530)
committer
Jaydeep Barot
<jar@tinyerp.com>
Mon, 21 Apr 2014 05:28:58 +0000
(10:58 +0530)
bzr revid: jar@tinyerp.com-
20140421052858
-aoko0dogh3gz0s17
addons/account_voucher/account_voucher.py
patch
|
blob
|
history
diff --git
a/addons/account_voucher/account_voucher.py
b/addons/account_voucher/account_voucher.py
index
771c6e1
..
f6667f2
100644
(file)
--- a/
addons/account_voucher/account_voucher.py
+++ b/
addons/account_voucher/account_voucher.py
@@
-189,7
+189,7
@@
class account_voucher(osv.osv):
if not ids:
return []
if context is None: context = {}
- return [(r['id'], (str("%.2f" % r['amount']) or '')) for r in self.read(cr, uid, ids, ['amount'], context, load='_classic_write')]
+ return [(r['id'], (r['number'] or '')) for r in self.read(cr, uid, ids, ['number'], context, load='_classic_write')]
def fields_view_get(self, cr, uid, view_id=None, view_type=False, context=None, toolbar=False, submenu=False):
mod_obj = self.pool.get('ir.model.data')