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
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
3
Oct 23
|
3739 | |||
|
1
Mar 15
|
12913 | |||
|
0
Jun 24
|
2187 | |||
|
2
Feb 19
|
9336 | |||
|
0
Mar 16
|
5468 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.