diff --git a/addons/account/wizard/account_report_account_balance.py b/addons/account/wizard/account_report_account_balance.py index 1c3743bf3c7..a72d58dd904 100644 --- a/addons/account/wizard/account_report_account_balance.py +++ b/addons/account/wizard/account_report_account_balance.py @@ -19,8 +19,6 @@ # ############################################################################## -from lxml import etree - from osv import osv class account_balance_report(osv.osv_memory): @@ -38,4 +36,4 @@ class account_balance_report(osv.osv_memory): account_balance_report() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account/wizard/account_report_aged_partner_balance.py b/addons/account/wizard/account_report_aged_partner_balance.py index f76beb6bee1..40d798a9964 100644 --- a/addons/account/wizard/account_report_aged_partner_balance.py +++ b/addons/account/wizard/account_report_aged_partner_balance.py @@ -22,8 +22,6 @@ import time from datetime import datetime from dateutil.relativedelta import relativedelta -from lxml import etree - from osv import osv, fields from tools.translate import _ diff --git a/addons/account/wizard/account_report_balance_sheet.py b/addons/account/wizard/account_report_balance_sheet.py index 174c172fdaa..b69c6d65d71 100644 --- a/addons/account/wizard/account_report_balance_sheet.py +++ b/addons/account/wizard/account_report_balance_sheet.py @@ -19,8 +19,6 @@ # ############################################################################## -from lxml import etree - from osv import osv, fields from tools.translate import _ @@ -86,4 +84,4 @@ class account_bs_report(osv.osv_memory): account_bs_report() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account/wizard/account_report_profit_loss.py b/addons/account/wizard/account_report_profit_loss.py index 444d91fa8fd..c526550e789 100644 --- a/addons/account/wizard/account_report_profit_loss.py +++ b/addons/account/wizard/account_report_profit_loss.py @@ -19,8 +19,6 @@ # ############################################################################## -from lxml import etree - from osv import osv, fields class account_pl_report(osv.osv_memory): @@ -60,4 +58,4 @@ class account_pl_report(osv.osv_memory): account_pl_report() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account_anglo_saxon/invoice.py b/addons/account_anglo_saxon/invoice.py index 784dd9367c7..c37a93b4be4 100644 --- a/addons/account_anglo_saxon/invoice.py +++ b/addons/account_anglo_saxon/invoice.py @@ -21,7 +21,7 @@ # ############################################################################## -from osv import fields, osv +from osv import osv class account_invoice_line(osv.osv): _inherit = "account.invoice.line" diff --git a/addons/account_voucher/report/account_voucher_sales_receipt.py b/addons/account_voucher/report/account_voucher_sales_receipt.py index cef854aa953..06511c9a118 100644 --- a/addons/account_voucher/report/account_voucher_sales_receipt.py +++ b/addons/account_voucher/report/account_voucher_sales_receipt.py @@ -17,11 +17,8 @@ # along with this program. If not, see . # ############################################################################## -import time from osv import fields, osv -import pooler -from tools import config import tools class sale_receipt_report(osv.osv): diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py index fc9226551e3..215c98c02ac 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py @@ -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) diff --git a/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py b/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py index 879d3d37029..85c92d63989 100644 --- a/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py +++ b/addons/mail_gateway/scripts/openerp_mailgate/openerp_mailgate.py @@ -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'): diff --git a/addons/product/pricelist.py b/addons/product/pricelist.py index ad11edff47c..8991d99d077 100644 --- a/addons/product/pricelist.py +++ b/addons/product/pricelist.py @@ -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 diff --git a/addons/sale_layout/report/report_sale_layout.py b/addons/sale_layout/report/report_sale_layout.py index 94b10c8ebf9..57839ecffeb 100644 --- a/addons/sale_layout/report/report_sale_layout.py +++ b/addons/sale_layout/report/report_sale_layout.py @@ -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') diff --git a/addons/wiki/wizard/wiki_wiki_page_open.py b/addons/wiki/wizard/wiki_wiki_page_open.py index d2458c796ff..215a49f29fe 100644 --- a/addons/wiki/wizard/wiki_wiki_page_open.py +++ b/addons/wiki/wizard/wiki_wiki_page_open.py @@ -19,7 +19,7 @@ # ############################################################################## -from osv import fields, osv +from osv import osv class wiki_wiki_page_open(osv.osv_memory): """ wizard Open Page """