How to keep record change history?
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.