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'm adding a version approbation to the document_page (wiki) module, but I'd need to change the history management of the module. Currently, it simply create a copy of a page in a page history table each time the page is change. This make it hard to interact with the history to show a preceding version (an approved one) or to revert to an older revision.
So, I thought I'd like the page object to be a simple pointer (a one2one relation in concept I know we must use many2one) that would be related to the actual revision (the last one or the last approved one). But when a user edit the page I want them to edit the "history" record where I can create the new revision on save without problem.
Is it possible to edit a related record (historyPage) when clicking on the edit button of the root record (the page)?
Any other solution to achieve the original goal would be great as well.
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: 4/16/13, 5:10 PM|
|Seen: 1608 times|
|Last updated: 3/16/15, 8:10 AM|