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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
|
2335 | ||
|
1
3月 15
|
11357 | ||
|
0
6月 24
|
1125 | ||
|
2
2月 19
|
7868 | ||
|
0
3月 16
|
4241 |