Skip to Content
Menu
This question has been flagged
3650 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
11559
0
Mar 15
3682
1
Feb 20
3901
2
Jan 25
1371
2
Dec 24
2435