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
Create an account today to enjoy exclusive features and engage with our awesome community!
РегистрацияRelated Posts | Ответы | Просмотры | Активность | |
---|---|---|---|---|
|
3
окт. 23
|
1731 | ||
|
1
мар. 15
|
10852 | ||
|
0
июн. 24
|
646 | ||
|
2
февр. 19
|
7242 | ||
|
0
мар. 16
|
3706 |