Divyesh Makwana(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-918140-mdi into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #918140 in OpenERP Addons: "[FIX]account_voucher_line need decimal
precision in amount_original, amount_unreconciled"
https://bugs.launchpad.net/openobject-addons/+bug/918140
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-918140-mdi/+merge/89223
Hello Sir,
I have fix the issue: https://bugs.launchpad.net/openobject-addons/+bug/918140
"account_voucher_line need decimal precision in amount_original,
amount_unreconciled".
Thanks and Regards,
Divyesh Makwana(MDI)
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-918140-mdi/+merge/89223
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-918140-mdi.
=== modified file 'account_voucher/account_voucher.py'
--- account_voucher/account_voucher.py 2012-01-04 09:21:00 +0000
+++ account_voucher/account_voucher.py 2012-01-19 11:35:25 +0000
@@ -1295,8 +1295,8 @@
'move_line_id': fields.many2one('account.move.line', 'Journal Item'),
'date_original': fields.related('move_line_id','date', type='date', relation='account.move.line', string='Date', readonly=1),
'date_due': fields.related('move_line_id','date_maturity', type='date', relation='account.move.line', string='Due Date', readonly=1),
- 'amount_original': fields.function(_compute_balance, multi='dc', type='float', string='Original Amount', store=True),
- 'amount_unreconciled': fields.function(_compute_balance, multi='dc', type='float', string='Open Balance', store=True),
+ 'amount_original': fields.function(_compute_balance, multi='dc', type='float', string='Original Amount', store=True, digits_compute=dp.get_precision('Account')),
+ 'amount_unreconciled': fields.function(_compute_balance, multi='dc', type='float', string='Open Balance', store=True, digits_compute=dp.get_precision('Account')),
'company_id': fields.related('voucher_id','company_id', relation='res.company', type='many2one', string='Company', store=True, readonly=True),
'currency_id': fields.function(_currency_id, string='Currency', type='many2one', relation='res.currency', readonly=True),
}
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp