123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <!-- from -->
- <record id="eiru_construction_task_form" model="ir.ui.view">
- <field name="name">eiru.construction.task.form</field>
- <field name="model">construction.task</field>
- <field name="arch" type="xml">
- <form string="Tarea">
- <sheet>
- <h1>
- <field name="name" nolabel="1"/>
- </h1>
- <group col="2">
- <group>
- <field name='code' string="Codigo"/>
- <field name="active" string="Activo"/>
- </group>
- <group>
- <field name="ref" string="Referencia"/>
- </group>
- </group>
- <notebook>
- <page string="Actividades ">
- <field name="line_ids">
- <tree string="Lista de actividades">
- <field name="code" string="Codigo"/>
- <field name="name" string="Descripción"/>
- <field name="construction_uom" string="Unida de Medida"/>
- <field name="amount" string="Precio Unitario"/>
- </tree>
- </field>
- </page>
- </notebook>
- <group>
- <field name="comment" string="Información Adicional"/>
- </group>
- </sheet>
- </form>
- </field>
- </record>
- <!-- Tree -->
- <record id="eiru_construction_task_tree" model="ir.ui.view">
- <field name="name">eiru.construction.task.tree</field>
- <field name="model">construction.task</field>
- <field name="arch" type="xml">
- <tree>
- <field name='code' string="Codigo"/>
- <field name="name" string="Descripción"/>
- <field name="ref" string="Referencia"/>
- <field name="active" string="Activo"/>
- </tree>
- </field>
- </record>
- <!-- Actions -->
- <record id="eiru_construction_task_actions" model="ir.actions.act_window">
- <field name="name">Tarea</field>
- <field name="res_model">construction.task</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- <field name="target">current</field>
- </record>
- <!-- Menu -->
- <menuitem
- id="menu_eiru_construction_task"
- name="Tarea"
- parent="eiru_construction_menu_task"
- action="eiru_construction_task_actions"
- sequence="1"/>
- </data>
- </openerp>
|