does not show the hierarchy in the form

Bug #1019174 reported by minotavr_x86 on 2012-06-29

This bug report was converted into a question: question #221520: does not show the hierarchy in the form.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

<record id="view_department_tree" model="ir.ui.view">
 <field name="model">depart.list</field>
 <field name="type">tree</field>
 <field name="field_parent">child_ids</field>
 <field name="arch" type="xml">
 <tree string="department">
 <field name="name" select="1"/>
 <field name="parent_id"/>
 </tree>
 </field>
</record>

<!--============ФОРМА==========================-->
<record id="view_department_form" model="ir.ui.view">
 <field name="name">department.form</field>
 <field name="model">depart.list</field>
 <field name="type">form</field>
 <field name="arch" type="xml">
 <form string="department">
 <group col="2" colspan="2">
 <field name="name" select="1"/>
 <field name="parent_id"/>
 </group>
 </form>
 </field>
</record>

 <!--============ACTION==========================-->
<record id="open_module_tree_department" model="ir.actions.act_window">
 <field name="name">Подразделения</field>
 <field name="res_model">depart.list</field>
 <field name="view_type">tree</field>
 <field name="view_mode">tree,form</field>
</record>
In the form displays a table

Changed in openobject-client:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions