From 9a6b3d81e6d28f9860e84f3e53be45720ef14e37 Mon Sep 17 00:00:00 2001 From: "ARA (OpenERP)" Date: Wed, 6 Jul 2011 12:46:17 +0530 Subject: [PATCH] [REM] account_voucher: remove: method=true bzr revid: ara@tinyerp.com-20110706071617-o3n7wa6gklv3mc1r --- addons/account_voucher/account_voucher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_voucher/account_voucher.py b/addons/account_voucher/account_voucher.py index 72f221eac45..45ca784e81a 100644 --- a/addons/account_voucher/account_voucher.py +++ b/addons/account_voucher/account_voucher.py @@ -237,7 +237,7 @@ class account_voucher(osv.osv): 'comment': fields.char('Write-Off Comment', size=64, required=True, readonly=True, states={'draft': [('readonly', False)]}), 'analytic_id': fields.many2one('account.analytic.account','Write-Off Analytic Account', readonly=True, states={'draft': [('readonly', False)]}), 'writeoff_amount': fields.function(_get_writeoff_amount, string='Write-Off Amount', type='float', readonly=True), - 'paid': fields.function(_check_paid, method=True, string='Paid', type='boolean', help="The Voucher has been totally paid."), + 'paid': fields.function(_check_paid, string='Paid', type='boolean', help="The Voucher has been totally paid."), } _defaults = { 'period_id': _get_period,