Hi,
We have a computed field called x_monthsdue. to calculate it, we do, record['x_monthsdue'] = self.credit / self.x_monthly .
We wish to introduce a condition such that IF credit is greater than zero, then we compute record['x_monthsdue'] = self.credit / self.x_monthly ELSE the field x_monthdue will be represented as OK.
The field x_monthlydue is type float and read only.
Regards,
Michael