[FIX] sale_margin : correction on super method parameter

lp bug: https://launchpad.net/bugs/1003948 fixed

bzr revid: amp@tinyerp.com-20120525064709-a918ieuh4zb298zo
This commit is contained in:
Amit (OpenERP) 2012-05-25 12:17:09 +05:30
parent 86638a545c
commit 405f134bd3
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class sale_order(osv.osv):
return result
def _get_order(self, cr, uid, ids, context=None):
return super(self,sale_order)._get_order(cr, uid, ids, context=context)
return super(sale_order, self)._get_order(cr, uid, ids, context=context)
_columns = {
'margin': fields.function(_product_margin, string='Margin', help="It gives profitability by calculating the difference between the Unit Price and Cost Price.", store={