forked from Yaltik/golem
Add area Form
This commit is contained in:
parent
667de88bd8
commit
61411705eb
@ -24,13 +24,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<field name="name">GOLEM Partner Area Tree</field>
|
<field name="name">GOLEM Partner Area Tree</field>
|
||||||
<field name="model">golem.partner.area</field>
|
<field name="model">golem.partner.area</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<tree editable="bottom">
|
<tree>
|
||||||
<field name="sequence" widget="handle" />
|
<field name="sequence" widget="handle" />
|
||||||
<field name="name" />
|
<field name="name" />
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<!-- Form -->
|
||||||
|
<record model="ir.ui.view" id="golem_partner_area_view_form">
|
||||||
|
<field name="name">GOLEM Partner Area Form</field>
|
||||||
|
<field name="model">golem.partner.area</field>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<form>
|
||||||
|
<group>
|
||||||
|
<field name="name"/>
|
||||||
|
<field name="area_street_ids">
|
||||||
|
<tree editable="bottom">
|
||||||
|
<field name="name"/>
|
||||||
|
</tree>
|
||||||
|
</field>
|
||||||
|
</group>
|
||||||
|
</form>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<!-- Search -->
|
<!-- Search -->
|
||||||
<record id="golem_partner_area_view_search" model="ir.ui.view">
|
<record id="golem_partner_area_view_search" model="ir.ui.view">
|
||||||
<field name="name">GOLEM Partner Area Search</field>
|
<field name="name">GOLEM Partner Area Search</field>
|
||||||
@ -44,7 +62,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
<!-- Actions -->
|
<!-- Actions -->
|
||||||
<act_window id="golem_partner_area_action"
|
<act_window id="golem_partner_area_action"
|
||||||
name="Areas" res_model="golem.partner.area" view_mode="tree" />
|
name="Areas" res_model="golem.partner.area"
|
||||||
|
view_mode="tree,form" />
|
||||||
|
|
||||||
<!-- Menus -->
|
<!-- Menus -->
|
||||||
<menuitem id="golem_partner_area_menu" name="Areas"
|
<menuitem id="golem_partner_area_menu" name="Areas"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user