Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4677 Представления

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?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
окт. 24
1766
1
февр. 22
3520
1
июл. 24
7301
0
нояб. 15
3806
0
мар. 15
4559