[FIX] Buidbot warnings
bzr revid: jam@tinyerp.com-20101229091647-lyt3rkcizp04b5nt
This commit is contained in:
parent
3ce76c075a
commit
d3f1870a5b
|
@ -52,7 +52,6 @@ class account_analytic_account(osv.osv):
|
|||
account_to_invoice_map.setdefault(rec['account_id'], []).append(rec['invoice_id'])
|
||||
|
||||
for account in self.browse(cr, uid, ids, context=context):
|
||||
invoiced = {}
|
||||
invoice_ids = filter(None, list(set(account_to_invoice_map.get(account.id, []))))
|
||||
for invoice in obj_invoice.browse(cr, uid, invoice_ids, context=context):
|
||||
res.setdefault(account.id, 0.0)
|
||||
|
|
|
@ -25,7 +25,6 @@ import logging
|
|||
import optparse
|
||||
import sys
|
||||
import xmlrpclib
|
||||
import email
|
||||
|
||||
class rpc_proxy(object):
|
||||
def __init__(self, uid, passwd, host='localhost', port=8069, path='object', dbname='openerp'):
|
||||
|
|
|
@ -23,8 +23,6 @@ from osv import fields, osv
|
|||
|
||||
from _common import rounding
|
||||
import time
|
||||
from tools import config
|
||||
from tools.misc import ustr
|
||||
from tools.translate import _
|
||||
import decimal_precision as dp
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@ class sale_order_1(report_sxw.rml_parse):
|
|||
def sale_order_lines(self, sale_order):
|
||||
result = []
|
||||
sub_total = {}
|
||||
info = []
|
||||
order_lines = []
|
||||
res = {}
|
||||
obj_order_line = self.pool.get('sale.order.line')
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#
|
||||
##############################################################################
|
||||
|
||||
from osv import fields, osv
|
||||
from osv import osv
|
||||
|
||||
class wiki_wiki_page_open(osv.osv_memory):
|
||||
""" wizard Open Page """
|
||||
|
|
Loading…
Reference in New Issue