mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-15 02:32:04 +00:00
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!-- Copyright 2015-2017 ACSONE SA/NV
|
||
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||
|
<flectra>
|
||
|
<record id="view_academic_title_form" model="ir.ui.view">
|
||
|
<field name="name">partner.academic.title.form</field>
|
||
|
<field name="model">partner.academic.title</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<form>
|
||
|
<sheet>
|
||
|
<group>
|
||
|
<field name="name" />
|
||
|
<field name="sequence" />
|
||
|
<field name="active" />
|
||
|
</group>
|
||
|
</sheet>
|
||
|
</form>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="view_academic_title_tree" model="ir.ui.view">
|
||
|
<field name="name">partner.academic.title.tree</field>
|
||
|
<field name="model">partner.academic.title</field>
|
||
|
<field name="arch" type="xml">
|
||
|
<tree editable="bottom">
|
||
|
<field name="sequence"/>
|
||
|
<field name="name" />
|
||
|
</tree>
|
||
|
</field>
|
||
|
</record>
|
||
|
<record id="open_academic_title" model="ir.actions.act_window">
|
||
|
<field name="name">Academic Titles</field>
|
||
|
<field name="res_model">partner.academic.title</field>
|
||
|
<field name="view_type">form</field>
|
||
|
<field name="view_mode">tree,form</field>
|
||
|
</record>
|
||
|
<menuitem id="menu_academic_title" name="Academic Titles"
|
||
|
parent="contacts.res_partner_menu_config"
|
||
|
action="open_academic_title" sequence="3"/>
|
||
|
</flectra>
|