Can you show us the model and the action that triggers this?

On May 8, 9:49 pm, greenpoise <[email protected]> wrote:
> 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