mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-14 01:41:26 -06:00

* [MIG] Migration to version 10.0 * [FIX] Comments and CI errors * [FIX] ValueError: External ID not found in the system: base.menu_base_partner * [FIX] ValueError: Wrong value for ir.actions.act_window.target: 'inlineview' * [FIX] Based on @lasley comments * [FIX] External ID not found in the system: base.group_document_user
46 lines
1.5 KiB
XML
46 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- Create Index Form view -->
|
|
<record id="view_wiki_show_diff" model="ir.ui.view">
|
|
<field name="name">Show Difference</field>
|
|
<field name="model">wizard.document.page.history.show_diff</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<field name="diff"
|
|
widget="html"
|
|
options='{"safe": True}' />
|
|
<footer>
|
|
<button string="Close"
|
|
class="oe_link"
|
|
special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<!-- Create Index Action -->
|
|
<record id="action_view_wiki_show_diff" model="ir.actions.act_window">
|
|
<field name="name">Difference</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">wizard.document.page.history.show_diff</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
|
|
<!-- Create Index Action Window -->
|
|
<act_window
|
|
id="action_view_wiki_show_diff_values"
|
|
key2="client_action_multi"
|
|
name="Difference"
|
|
res_model="wizard.document.page.history.show_diff"
|
|
src_model="document.page.history"
|
|
view_mode="form"
|
|
target="new"
|
|
view_type="form"/>
|
|
|
|
</odoo>
|