2012-05-28 10:43:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<record id="view_account_analytic_account_form" model="ir.ui.view">
|
|
|
|
<field name="name">analytic.analytic.account.form</field>
|
|
|
|
<field name="model">account.analytic.account</field>
|
|
|
|
<field name="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-12 06:35:39 +00:00
|
|
|
<form version="7.0">
|
2012-06-15 08:44:24 +00:00
|
|
|
<sheet string="Analytic Account">
|
|
|
|
<label for="name" class="oe_form_readonly_hidden"/>
|
|
|
|
<h1>
|
2012-06-07 10:14:00 +00:00
|
|
|
<field name="name"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
</h1>
|
|
|
|
<group>
|
|
|
|
<group>
|
|
|
|
<field name="code"/>
|
|
|
|
<field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract','template'])]}"/>
|
|
|
|
<field name="type"/>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
|
|
<field name="partner_id" on_change="on_change_partner_id(partner_id, name)" attrs="{'required':[('type','!=','template')]}"/>
|
|
|
|
<field name="manager_id"/>
|
2012-06-15 15:19:19 +00:00
|
|
|
<field name="company_id" on_change="on_change_company(company_id)" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','<>','view')]}"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
</group>
|
2012-05-28 10:43:10 +00:00
|
|
|
</group>
|
2012-06-15 08:44:24 +00:00
|
|
|
<notebook>
|
2012-06-15 08:12:54 +00:00
|
|
|
<page string="Contract Information" name="contract_page" attrs="{'invisible':[('type','=','view')]}">
|
2012-06-15 08:44:24 +00:00
|
|
|
<group name="master">
|
2012-06-15 08:12:54 +00:00
|
|
|
<group string="Validity" name="contract">
|
2012-06-07 05:58:47 +00:00
|
|
|
<field name="date_start"/>
|
|
|
|
<field name="date"/>
|
|
|
|
</group>
|
2012-06-15 08:12:54 +00:00
|
|
|
<group name="project">
|
2012-06-15 15:19:19 +00:00
|
|
|
<separator string="Project Management" name="project_sep" invisible="1"/>
|
2012-06-07 05:58:47 +00:00
|
|
|
</group>
|
2012-05-28 10:43:10 +00:00
|
|
|
</group>
|
2012-06-15 08:44:24 +00:00
|
|
|
<separator string="Terms and Conditions" name="description"/>
|
|
|
|
<field name="description"/>
|
2012-05-28 10:43:10 +00:00
|
|
|
</page>
|
|
|
|
</notebook>
|
|
|
|
</sheet>
|
2012-06-15 08:44:24 +00:00
|
|
|
<footer>
|
|
|
|
<field name="message_ids" widget="ThreadView"/>
|
|
|
|
</footer>
|
2012-05-28 10:43:10 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|