Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3654 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 24
11504
0
มี.ค. 15
3612
1
ก.พ. 20
3862
how to manage variable-based salaries? แก้ไขแล้ว
2
ม.ค. 25
1335
Date in salary rules? แก้ไขแล้ว
2
ธ.ค. 24
2378