summaryrefslogtreecommitdiff
path: root/addons/analytic/analytic_view.xml
diff options
context:
space:
mode:
authorVijaykumar Baladaniya <vba@tinyerp.com>2012-07-09 18:31:13 +0530
committerVijaykumar Baladaniya <vba@tinyerp.com>2012-07-09 18:31:13 +0530
commitbe2e95656aaa113addea2b510fcdcf2f890eaaa4 (patch)
treeabcb3dd4ef350a1b8ad0eaffdd2b9a1cb91521af /addons/analytic/analytic_view.xml
parentb982ea278b33132def3927417b7a854b98b5028a (diff)
parent3925f76ce85854e5d4834902a05f57bcfc5ace85 (diff)
[MERGE]merged with trunk-survey-layout-tta
bzr revid: vba@tinyerp.com-20120709130113-3lchipgil9oqpglg
Diffstat (limited to 'addons/analytic/analytic_view.xml')
-rw-r--r--addons/analytic/analytic_view.xml53
1 files changed, 53 insertions, 0 deletions
diff --git a/addons/analytic/analytic_view.xml b/addons/analytic/analytic_view.xml
new file mode 100644
index 00000000000..0c06c90150c
--- /dev/null
+++ b/addons/analytic/analytic_view.xml
@@ -0,0 +1,53 @@
+<?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">
+ <form version="7.0">
+ <sheet string="Analytic Account">
+ <label for="name" class="oe_edit_only"/>
+ <h1>
+ <field name="name"/>
+ </h1>
+ <group>
+ <group>
+ <field name="partner_id" on_change="on_change_partner_id(partner_id, name)" attrs="{'required':[('type','=','contract')]}"/>
+ <field name="parent_id" on_change="on_change_parent(parent_id)" attrs="{'invisible': [('type','in',['contract','template'])]}"/>
+ <field name="type"/>
+ </group>
+ <group>
+ <field name="code"/>
+ <field name="manager_id"/>
+ <field name="company_id" on_change="on_change_company(company_id)" widget="selection" groups="base.group_multi_company" attrs="{'required': [('type','&lt;&gt;','view')]}"/>
+ </group>
+ </group>
+ <notebook>
+ <page string="Contract Information" name="contract_page" attrs="{'invisible':[('type','not in',['contract', 'template'])]}">
+ <group name="master">
+ <group string="Validity" name="contract">
+ <label for="date_start" string="Duration"/>
+ <div name="duration">
+ <field name="date_start" class="oe_inline"/> - <field name="date" class="oe_inline"/>
+ </div>
+ </group>
+ <group name="project">
+ <separator string="Project Management" name="project_sep" invisible="1"/>
+ </group>
+ </group>
+ <separator string="Terms and Conditions" name="description"/>
+ <field name="description"/>
+ </page>
+ </notebook>
+ </sheet>
+ <footer>
+ <field name="message_ids" widget="mail_thread"/>
+ </footer>
+ </form>
+ </field>
+ </record>
+ </data>
+</openerp>