mirror of
https://gitlab.com/flectra-community/partner-contact.git
synced 2024-11-14 18:22:04 +00:00
62 lines
2.1 KiB
XML
62 lines
2.1 KiB
XML
<flectra>
|
|
|
|
<!-- Animal Species Tree View -->
|
|
<record id="view_animal_species_tree" model="ir.ui.view">
|
|
<field name="name">view.animal.species.tree</field>
|
|
<field name="model">animal.species</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Species">
|
|
<field name="sequence" widget="handle" />
|
|
<field name="name" />
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<!-- Animal Species Form View -->
|
|
<record id="view_animal_species_form" model="ir.ui.view">
|
|
<field name="name">view.animal.species.form</field>
|
|
<field name="model">animal.species</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Species">
|
|
<header />
|
|
<sheet>
|
|
<div class="oe_button_box" name="button_box" />
|
|
<widget
|
|
name="web_ribbon"
|
|
title="Archived"
|
|
bg_color="bg-danger"
|
|
attrs="{'invisible': [('active', '=', True)]}"
|
|
/>
|
|
<field name="active" invisible="1" />
|
|
<div class="oe_title">
|
|
<h1>
|
|
<field name="name" />
|
|
</h1>
|
|
</div>
|
|
<group id="main">
|
|
<group id="left" />
|
|
<group id="right" />
|
|
</group>
|
|
<notebook>
|
|
<page string="Breeds" id="breeds">
|
|
<field name="breed_ids" />
|
|
</page>
|
|
</notebook>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_animal_species" model="ir.actions.act_window">
|
|
<field name="name">Species</field>
|
|
<field name="res_model">animal.species</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="help" type="html">
|
|
<p class="o_view_nocontent_smiling_face">
|
|
Create a species.
|
|
</p>
|
|
</field>
|
|
</record>
|
|
|
|
</flectra>
|