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">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Analytic Account">
|
2012-06-15 08:44:24 +00:00
|
|
|
<sheet string="Analytic Account">
|
2012-09-01 07:21:37 +00:00
|
|
|
<div class="oe_right oe_button_box" name="buttons">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="oe_title">
|
2012-06-22 06:02:29 +00:00
|
|
|
<label for="name" class="oe_edit_only"/>
|
2012-09-01 07:21:37 +00:00
|
|
|
<h1>
|
|
|
|
<field name="name" class="oe_inline"/>
|
|
|
|
</h1>
|
|
|
|
<div name="project"/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<group name="main">
|
2012-06-15 08:44:24 +00:00
|
|
|
<group>
|
2012-10-28 08:28:29 +00:00
|
|
|
<field name="partner_id" on_change="on_change_partner_id(partner_id, name)"/>
|
2013-09-04 14:11:22 +00:00
|
|
|
<field name="manager_id" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'account.group_account_manager']}"/>
|
2012-10-05 07:56:19 +00:00
|
|
|
<field name="currency_id" attrs="{'invisible': ['|',('type', '<>', 'view'), ('company_id', '<>', False)]}"/>
|
2012-06-15 08:44:24 +00:00
|
|
|
</group>
|
|
|
|
<group>
|
2012-11-03 13:35:10 +00:00
|
|
|
<field name="type" invisible="context.get('default_type', False)"/>
|
2014-04-01 12:36:57 +00:00
|
|
|
<field name="template_id" on_change="on_change_template(template_id, date_start)" domain="[('type','=','template')]" attrs="{'invisible': [('type','in',['view', 'normal','template'])]}" context="{'default_type' : 'template'}"/>
|
2012-11-29 16:33:13 +00:00
|
|
|
<field name="code"/>
|
|
|
|
<field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract'])]}"/>
|
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-08-29 19:08:31 +00:00
|
|
|
<group string="Renewal" name="contract">
|
|
|
|
<p colspan="2" class="oe_grey oe_edit_only">
|
|
|
|
Once the end date of the contract is
|
|
|
|
passed or the maximum number of service
|
2012-10-28 11:05:06 +00:00
|
|
|
units (e.g. support contract) is
|
2012-11-06 05:18:51 +00:00
|
|
|
reached, the account manager is notified
|
2012-10-28 11:05:06 +00:00
|
|
|
by email to renew the contract with the
|
|
|
|
customer.
|
2012-08-29 19:08:31 +00:00
|
|
|
</p>
|
2012-09-16 16:27:30 +00:00
|
|
|
<field name="date_start"/>
|
2012-08-29 19:08:31 +00:00
|
|
|
<label for="date" string="End Date"/>
|
|
|
|
<div name="duration">
|
|
|
|
<field name="date" class="oe_inline"/>
|
|
|
|
</div>
|
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-08-15 22:30:38 +00:00
|
|
|
<field name="message_follower_ids" widget="mail_followers"/>
|
2012-10-26 09:58:21 +00:00
|
|
|
<field name="message_ids" widget="mail_thread"/>
|
2012-07-13 09:53:41 +00:00
|
|
|
</div>
|
2012-05-28 10:43:10 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
</data>
|
|
|
|
</openerp>
|