Commit Graph
2 Commits
Author SHA1 Message Date
Sébastien Geelen (sge) 0605d9357e [FIX] web_editor: handle empty history patch
Change the history diff_util to be able to handle
empty patch without crashing.

Add unit tests accordingly.

task-3583986

closes odoo/odoo#141387

Signed-off-by: Nicolas Bayet (nby) <nby@odoo.com>
2023-11-08 03:00:10 +00:00
Sébastien Geelen (sge) 10b855ea87 [ADD] web_editor: add field html history
Create a new model mixins that allow other model to
activate the history feature on html fields.

This history automatically track the changes
on the related html field and allow the user
to revert to a previous version at any time.

This also introduce a new component that can be used to :
* List the recent history
* See a previous version of the document
* Compare a previous version to the current one
* Revert the document to a previous version of it

task-3039787

closes odoo/odoo#112957

Related: odoo/enterprise#37211
Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
2023-10-18 13:39:06 +00:00