hello I would like to know through a calculated field to know the difference in days between two dates
for record in self:
record['x_prueba'] = (record.x_eta - record.x_farribo).days
hello I would like to know through a calculated field to know the difference in days between two dates
for record in self:
record['x_prueba'] = (record.x_eta - record.x_farribo).days
Hello Danny Gonzalez
Please take below reference for find days between two dates.
for record in self:
record.x_prueba = abs((record.x_eta - record.x_farribo).days)
From this code you will get the days between x_eta and x_farribo.
Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwar
| 関連投稿 | 返信 | ビュー | 活動 | |
|---|---|---|---|---|
|
3
10月 23
|
4255 | |||
|
1
3月 15
|
13611 | |||
|
0
4月 26
|
3 | |||
|
0
6月 24
|
2698 | |||
|
2
2月 19
|
10130 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.