123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?xml version="1.0" encoding="UTF-8"?>
- <openerp>
- <data>
- <!-- tree view -->
-
- <record id="study_feature_tree" model="ir.ui.view">
- <field name="name">study.feature.tree</field>
- <field name="model">study.feature</field>
- <field name="arch" type="xml">
- <tree string="study Feature">
- <field name="name" string="Numero"/>
- <field name="order_date" string="Fecha"/>
- <field name="partner_id" string="Paciente"/>
- <field name="product_id" string="Estudio"/>
- <field name="user_id" string="Responsable"/>
- </tree>
- </field>
- </record>
- <!-- form view -->
- <record id="study_feature_form" model="ir.ui.view">
- <field name="name">study.feature.form</field>
- <field name="model">study.feature</field>
- <field name="arch" type="xml">
- <form string="study Feature">
- <sheet>
- <div class="oe_title">
- <h1>
- <label string="Numero de Estudio "/>
- <field name="name" class="oe_inline" readonly="1"/>
- </h1>
- </div>
- <group>
- <group>
- <field name="partner_id" on_change="onchange_partner_id(partner_id)" domain="[('customer','=',True)]" context="{'search_default_customer':1, 'show_address': 1}" options='{"always_reload": True}' string="Cliente" required="1"/>
- <field name="product_id" required="1" string="Estudio Realizado"/>
- </group>
- <group>
- <field string="Fecha de estudio" name="order_date" required="1"/>
- <field name="user_id" required="1"/>
- </group>
- </group>
-
- <notebook>
- <page string="Información">
- <group>
- <group string="Diagnóstico">
- <field name="diagnostic" nolabel="1"/>
- </group>
- <group string="Causas">
- <field name="causes" nolabel="1"/>
- </group>
- </group>
- <group>
- <group string="Acciones">
- <field name="actions" nolabel="1"/>
- </group>
- <group string="Recomendaciones">
- <field name="recommendations" nolabel="1"/>
- </group>
- </group>
- </page>
- </notebook>
- </sheet>
- </form>
- </field>
- </record>
- <record id="action_study_feature" model="ir.actions.act_window">
- <field name="name">Estudios</field>
- <field name="type">ir.actions.act_window</field>
- <field name="res_model">study.feature</field>
- <field name="view_type">form</field>
- <field name="view_mode">tree,form</field>
- </record>
- <menuitem id="study_feature" parent="base.menu_sales" action="action_study_feature" name="Estudios" sequence="20"/>
- </data>
- </openerp>
|