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.
I have created a small module to update the Employee client records . I have attached the screenshot of the form view . Also created the workflow with states .
In the form view i created one field of one2many type , and i wann to display all the previous records created whn the state is reached to approved .
How to achieve this .
You have to create a model that memorize the historical information of the record (either exactly the same set of fields or just select fields + some version indicator). Then in every changes that you want to log (you can inherit create, write, and unlink method for this purpose) save a copy of the old values into that historical informatioin model.
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: 8/27/14, 5:52 AM|
|Seen: 1385 times|
|Last updated: 3/16/15, 8:10 AM|