Odoo Help


calculate the no. of days between two dates.

sneha antony
on 3/25/14, 2:17 AM 1,688 views

In one of my interface,I have two dates.One is the start date and other one is the end date with names x_warranty_startdate and x_warranty_enddate respectively.In the next field I want the total no.of days/months between these two dates to be automatically generated.There is no other specification regarding the dates or the total no.of days between the two dates.How to get the total number of days between the two given dates?What all changes are to be made in the .py and .xml files in the module?



| 5 2 8
Ahmadabad, India
On 3/25/14, 2:22 AM


You may refer the following link: https://accounts.openerp.com/forum/Help-1/question/31486

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/25/14, 2:17 AM
Seen: 1688 times
Last updated: 3/16/15, 8:10 AM