[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,9 +19,10 @@
#
##############################################################################
from osv import osv
from openerp.osv.orm import Model
from openerp.osv import fields
class StockPicking(osv.osv):
class StockPicking(Model):
_inherit = "stock.picking"
def action_invoice_create(self, cursor, uid, ids, journal_id=False,