~camptocamp/c2c-rd-addons/7.0

« back to all changes in this revision

Viewing changes to c2c_product_price_unit/product.py

[FIX] coding error

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    }
44
44
    _order = "coefficient asc,name"
45
45
 
46
 
    #def get_coeff(self, cr, uid, price_unit_id, context=None):
47
 
    def get_coeff(self, cr, uid, price_unit_id):
 
46
    def get_coeff(self, cr, uid, price_unit_id, context=None):
 
47
    #def get_coeff(self, cr, uid, price_unit_id):
48
48
        if not context:
49
49
            context = {}
50
50