123456789101112131415161718192021222324252627282930313233343536373839 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record model="ir.ui.view" id="contrato_form_view">
- <field name="name">contrato_form_view</field>
- <field name="model">account.analytic.account</field>
- <field name="inherit_id" ref="account_analytic_analysis.account_analytic_account_form_form"/>
- <field name="arch" type="xml">
- <field name="recurring_next_date" position="before">
- <field name="cuota_total"/>
- <field name="nro_cuotas" readonly="1"/>
- </field>
- </field>
- </record>
- <record id="contrato_form_view_editable" model="ir.ui.view">
- <field name="name">contrato_form_view_editable</field>
- <field name="model">account.analytic.account</field>
- <field name="inherit_id" ref="account_analytic_analysis.account_analytic_account_form_form"/>
- <field name="groups_id" eval="[(6, 0, [ref('eiru_inmobiliaria.readonly_fields_inmobiliaria')])]"/>
- <field name="arch" type="xml">
- <xpath expr="//field[@name='nro_cuotas']" position="attributes">
- <attribute name="readonly">0</attribute>
- </xpath>
- </field>
- </record>
- <record model="ir.ui.view" id="contrato_form_view2">
- <field name="name">contrato_form_view2</field>
- <field name="model">account.analytic.account</field>
- <field name="inherit_id" ref="analytic.view_account_analytic_account_form"/>
- <field name="arch" type="xml">
- <field name="code" position="replace">
- <field name="code" readonly="1"/>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|