Amit Parik (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-1003948-amp into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1003948 in OpenERP Addons: "sale_margin.py has a bad "super()" calls"
https://bugs.launchpad.net/openobject-addons/+bug/1003948
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1003948-amp/+merge/107333
This branch contains the correction of super method's argument of sale margin
module.
Thanks!
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1003948-amp/+merge/107333
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-1003948-amp.
=== modified file 'sale_margin/sale_margin.py'
--- sale_margin/sale_margin.py 2011-11-11 08:28:08 +0000
+++ sale_margin/sale_margin.py 2012-08-24 09:47:24 +0000
@@ -70,7 +70,7 @@
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={
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp