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
41 lines
1.4 KiB
XML
41 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<!-- Create Menu From view -->
|
|
<record id="view_wiki_create_menu" model="ir.ui.view">
|
|
<field name="name">Create Menu</field>
|
|
<field name="model">document.page.create.menu</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<group string="Menu Information">
|
|
<field name="menu_name" />
|
|
<field name="menu_parent_id" />
|
|
</group>
|
|
<footer>
|
|
<button name="document_page_menu_create"
|
|
string="Create Menu"
|
|
type="object"
|
|
class="oe_highlight" />
|
|
or
|
|
<button string="Cancel"
|
|
class="oe_link"
|
|
special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
|
|
<!-- Create Menu Action -->
|
|
<record id="action_wiki_create_menu"
|
|
model="ir.actions.act_window">
|
|
<field name="name">Create Menu</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">document.page.create.menu</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
</odoo>
|