If you want to use default_get method in OpenERP use below code -
self.pool.get(sale.order.line).default_get(cr, uid, [product_id,product_uom_id])
Note- If you want to migrating the module from OpenERP-7 to OpenERP-8(Odoo),then we have to used default_get method in .py file in module.
0 Comment(s)