Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
You could use TIMEDELTA to increase or decrease date value.
from datetime import datetime, timedelta
print (datetime.today() + timedelta(days=(1))).strftime('%Y-%m-%d') // for next day
print (datetime.today() + timedelta(days=(-1))).strftime('%Y-%m-%d') // for previous day
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 12/16/14, 2:19 AM|
|Seen: 903 times|
|Last updated: 6/7/17, 2:18 AM|