[MIGR] Adapt import to fit last recomandation

This commit is contained in:
Joel Grand-Guillaume
2012-12-19 13:58:54 +01:00
parent d02d198b1b
commit 2ac95f1c44
13 changed files with 38 additions and 33 deletions

View File

@@ -19,10 +19,11 @@
#
##############################################################################
from osv import fields, osv
from tools.translate import _
from openerp.osv.orm import Model
from openerp.osv import fields
from openerp.tools.translate import _
class AccountInvoice(osv.osv):
class AccountInvoice(Model):
_inherit = 'account.invoice'
_columns = {
'transaction_id':fields.char(