I want to set a python code in 'Condition based on' field so that this particular rule will not be shown or printed with payslip when result is false. The condition I want to check is the existence of an inputs line with code as LOAN. something like
result = exist(inputs.LOAN)
That's a half pseudo code above. What's the exact python syntax in OpenERP to achieve this?
Thanks :)