Can someone help me. I am trying to do a simple calculation of fields.
Fields are defined as decimal in db.py and here is the calculation:


    db.order.tipgranted.compute=lambda r: r['totalsale']*r['tipvalue']

error: TypeError: can't multiply sequence by non-int of type 'float'

Reply via email to