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 can use computed fields: because its is computed on-the-fly.
Define a Date field with compute. Please try this script:
date = fields.Date(compute='_compute_date', string='Date')
for record in self:
end = datetime.date.today()
record.date = end
Hope this helps.
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: 5/30/16, 2:40 AM|
|Seen: 592 times|
|Last updated: 5/31/16, 1:48 AM|