コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4704 ビュー

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?

アバター
破棄
関連投稿 返信 ビュー 活動
1
10月 24
1842
1
2月 22
3575
1
7月 24
7354
0
11月 15
3854
0
3月 15
4624