Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3527 Zobrazení

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. 

Avatar
Zrušit

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

Regards
WhatsApp : + 225 05 45 14 53 91

Autor
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

Related Posts Odpovědi Zobrazení Aktivita
1
bře 18
4420
2
pro 24
2273
3
pro 24
14671
0
led 24
19
0
lis 23
1837