Hi,
I'm using odoo 8.0 with hr_payroll module and i would like to calculate seniority in years using a python rule. Is this possible?
The starting date is referenced in contract.date_start
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I'm using odoo 8.0 with hr_payroll module and i would like to calculate seniority in years using a python rule. Is this possible?
The starting date is referenced in contract.date_start
Sorry for the late response.
It can be done in days like this:
seniority = (contract.date_end - contract.date_start).days
I have exactly the same problem. I am looking for the solution for more than three weeks without finding.
You found something?
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-seRelated Posts | Respostes | Vistes | Activitat | |
---|---|---|---|---|
Server action hr.work.entry
Solved
|
|
1
d’oct. 24
|
1708 | |
|
1
de febr. 22
|
3476 | ||
|
1
de jul. 24
|
7243 | ||
|
0
de nov. 15
|
3754 | ||
|
0
de març 15
|
4496 |