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="arch" type="xml">
|
2012-08-06 13:23:01 +00:00
|
|
|
<form string="Analytic Account" version="7.0">
|
2012-06-15 08:44:24 +00:00
|
|
|
<sheet string="Analytic Account">
|
2012-06-22 06:02:29 +00:00
|
|
|
<label for="name" class="oe_edit_only"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
<h1>
|
2012-06-07 10:14:00 +00:00
|
|
|
<field name="name"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
</h1>
|
|
|
|
<group>
|
|
|
|
<group>
|
2012-06-19 12:21:28 +00:00
|
|
|
<field name="partner_id" on_change="on_change_partner_id(partner_id, name)" attrs="{'required':[('type','=','contract')]}"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
<field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract','template'])]}"/>
|
|
|
|
<field name="type"/>
|
2012-07-23 12:05:31 +00:00
|
|
|
<field name="template_id" on_change="on_change_template(template_id,context)" domain="[('type','=','template')]" attrs="{'invisible': [('type','in',['view', 'normal','template'])]}" context="{'default_type' : 'template'}"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
</group>
|
|
|
|
<group>
|
2012-06-19 12:21:28 +00:00
|
|
|
<field name="code"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
<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-19 12:21:28 +00:00
|
|
|
<page string="Contract Information" name="contract_page" attrs="{'invisible':[('type','not in',['contract', 'template'])]}">
|
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-25 15:55:40 +00:00
|
|
|
<label for="date_start" string="Duration"/>
|
2012-06-22 09:10:08 +00:00
|
|
|
<div name="duration">
|
2012-06-26 11:02:35 +00:00
|
|
|
<field name="date_start" class="oe_inline"/> - <field name="date" class="oe_inline"/>
|
2012-06-22 09:10:08 +00:00
|
|
|
</div>
|
2012-06-07 05:58:47 +00:00
|
|
|
</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-07-13 09:53:41 +00:00
|
|
|
<div class="oe_chatter">
|
2012-07-03 12:41:11 +00:00
|
|
|
<field name="message_ids" widget="mail_thread"/>
|
2012-08-15 22:30:38 +00:00
|
|
|
<field name="message_follower_ids" widget="mail_followers"/>
|
2012-07-13 09:53:41 +00:00
|
|
|
</div>
|
2012-05-28 10:43:10 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|