Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4937 Vizualizări


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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
oct. 23
2335
1
mar. 15
11357
0
iun. 24
1126
2
feb. 19
7869
0
mar. 16
4241