تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3526 أدوات العرض

I need to have a list of all object methods available in salary rules of payroll module.

Example: 

payslip.paid_amount  , given by default in basic salary rule . Need to know what other methods are also available .... payslip.???????? 

This is just an example of payslip object and needs the same for other objects. 

الصورة الرمزية
إهمال

Hi, please try this code:
self._fields: you'll get all fields of your model.

Regards
WhatsApp : + 225 05 45 14 53 91

الكاتب
Dear 

Thank you for your email,  I am using odoo enterprise.

I manage it using the following attribute (worked_days.LEAVE90.number_of_days) 

Regards


On Tue, May 2, 2023 at 5:58 PM Abdul Qoudouss <notifications@mail.odoo.com> wrote:
Hi, please try this code: self._fields: you'll get all fields of your model. Regards WhatsApp : + 225 05 45 14 53 91 ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​ ͏ ​

Hi, please try this code:
self._fields: you'll get all fields of your model.

Regards
WhatsApp : + 225 05 45 14 53 91


Odoo S.A.

+32 81 81 37 00 | info@odoo.com | https://www.odoo.com

Powered by Odoo

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 18
4420
2
ديسمبر 24
2273
3
ديسمبر 24
14669
0
يناير 24
19
0
نوفمبر 23
1837