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

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
2164
1
февр. 22
3820
1
июл. 24
7609
0
нояб. 15
4094
0
мар. 15
4887