Is that possible to get current salary rule name in python code inside salary rule? I know that there are some variable exist, such as "payslip", "rules", "categories" and etc. But I need to use my current salary rule name in my function inside salary rule? I use Odoo 12
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
4565
أدوات العرض
Hi,
You can use add a new char field which computes your current salary rule name and you can
use this field value in your function.
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
يونيو 20
|
4153 | ||
|
0
يوليو 19
|
4528 | ||
Odoo Mail Sending Limit
تم الحل
|
|
2
ديسمبر 23
|
14798 | |
|
0
أكتوبر 23
|
33 | ||
|
3
أكتوبر 23
|
788 |