Good idea to clean code but why not replace

class company(osv.osv):

by 

class company(orm.Model):


with this import :

from openerp.osv import fields, orm

thanks
-- 
https://code.launchpad.net/~openerp-community/stock-logistic-flows/improve-relative-imports/+merge/188285
Your team OpenERP Community is subscribed to branch 
lp:~openerp-community/stock-logistic-flows/improve-relative-imports.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to