From 44b4d7929dc5335b0edf5ae48574dc68a083f623 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 28 Sep 2013 18:10:52 +0200 Subject: [PATCH] Coding style enhancements suggested by the reviewers. --- account_fiscal_position_vat_check/__init__.py | 2 +- account_fiscal_position_vat_check/account_invoice.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/account_fiscal_position_vat_check/__init__.py b/account_fiscal_position_vat_check/__init__.py index 3ac42a65f..b234380bc 100644 --- a/account_fiscal_position_vat_check/__init__.py +++ b/account_fiscal_position_vat_check/__init__.py @@ -20,4 +20,4 @@ # ############################################################################## -import account_invoice +from . import account_invoice diff --git a/account_fiscal_position_vat_check/account_invoice.py b/account_fiscal_position_vat_check/account_invoice.py index c3f5d9003..e9039ac84 100644 --- a/account_fiscal_position_vat_check/account_invoice.py +++ b/account_fiscal_position_vat_check/account_invoice.py @@ -20,11 +20,11 @@ # ############################################################################## -from openerp.osv import osv, orm, fields +from openerp.osv import orm, fields from openerp.tools.translate import _ -class account_fiscal_position(osv.Model): +class account_fiscal_position(orm.Model): _inherit = 'account.fiscal.position' _columns = { @@ -33,7 +33,7 @@ class account_fiscal_position(osv.Model): } -class account_invoice(osv.Model): +class account_invoice(orm.Model): _inherit = 'account.invoice' def action_move_create(self, cr, uid, ids, context=None):