Skip to Content
Menu
This question has been flagged
3958 Views

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 :)

Avatar
Discard
Related Posts Replies Views Activity
2
Aug 24
11964
0
Mar 15
3973
1
Feb 20
4157
2
Jan 25
1699
2
Dec 24
2735