コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2932 ビュー

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
3943
2
12月 24
1735
3
12月 24
14092
0
1月 24
19
0
11月 23
1394