跳至內容
選單
此問題已被標幟
3518 瀏覽次數

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
3月 18
4419
2
12月 24
2271
3
12月 24
14667
0
1月 24
19
0
11月 23
1834