Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

I am extending the openerp payroll module for our needs, but we have to define many other models to achieve our purpose. In python code of salary rule we can fetch some objects like - contract, payslip, employee, rules, categories etc. with a field name. Currently the process is contract.wage grabs the basic salary from the contract in the python code of salary rule. I want to achieve the same functionality for some objects, like - my_object.my_field . How can achieve this?

Any suggestions will be greatly appreciated! Thanks in advance.

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
tammik. 20
2906
2
lokak. 15
10343
1
kesäk. 25
775
0
maalisk. 25
1297
1
tammik. 25
2017