[MIG] document_page: Migration to 14.0

This commit is contained in:
dzung.tran
2021-02-22 15:46:05 +07:00
committed by Justine Doutreloux
parent 2eeab62555
commit 3fd611939f
14 changed files with 96 additions and 59 deletions

View File

@@ -5,7 +5,7 @@
<field name="name">Show Difference</field>
<field name="model">wizard.document.page.history.show_diff</field>
<field name="arch" type="xml">
<form string="Difference" version="7.0">
<form string="Difference">
<field name="diff" widget="html" class="overflow-x: scroll" />
<footer>
<button string="Close" class="oe_link" special="cancel" />
@@ -13,13 +13,16 @@
</form>
</field>
</record>
<!-- Create Index Action Window -->
<act_window
id="action_view_wiki_show_diff_values"
name="Difference"
res_model="wizard.document.page.history.show_diff"
binding_model="document.page.history"
view_mode="form"
target="new"
/>
<record model="ir.actions.act_window" id="action_view_wiki_show_diff_values">
<field name="name">Difference</field>
<field name="res_model">wizard.document.page.history.show_diff</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<field
name="binding_model_id"
ref="document_page.model_document_page_history"
/>
</record>
</odoo>