From f6f485b12d645098fc69c04529797c993f84c8df Mon Sep 17 00:00:00 2001 From: Mustufa Rangwala Date: Thu, 11 Nov 2010 10:19:25 +0530 Subject: [PATCH] [REF] Account_payment: remove unused pool bzr revid: mra@mra-laptop-20101111044925-23ksv8jt3qqnp5pw --- addons/account_payment/wizard/account_payment_order.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/account_payment/wizard/account_payment_order.py b/addons/account_payment/wizard/account_payment_order.py index aaec72e37f7..662ed495d31 100644 --- a/addons/account_payment/wizard/account_payment_order.py +++ b/addons/account_payment/wizard/account_payment_order.py @@ -93,14 +93,13 @@ class payment_order_create(osv.osv_memory): return {} def search_entries(self, cr, uid, ids, context=None): - order_obj = self.pool.get('payment.order') line_obj = self.pool.get('account.move.line') mod_obj = self.pool.get('ir.model.data') if context is None: context = {} data = self.read(cr, uid, ids, [], context=context)[0] search_due_date = data['duedate'] -# payment = order_obj.browse(cr, uid, context['active_id'], context=context) +# payment = self.pool.get('payment.order').browse(cr, uid, context['active_id'], context=context) # Search for move line to pay: domain = [('reconcile_id', '=', False), ('account_id.type', '=', 'payable'), ('amount_to_pay', '>', 0)]