mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
Coding style enhancements suggested by the reviewers.
This commit is contained in:
committed by
Raphaël Valyi
parent
8b435874d6
commit
44b4d7929d
@@ -20,4 +20,4 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import account_invoice
|
||||
from . import account_invoice
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user