summaryrefslogtreecommitdiff
path: root/addons/project/project_view.xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2013-06-25 18:20:46 +0200
committerDenis Ledoux <dle@openerp.com>2013-06-25 18:20:46 +0200
commit5ed41bcea4c5b0f4e4afdd45c8a114cf3ca144fc (patch)
treef3d256944be2979be18c07282e62dc5bcb8ec10a /addons/project/project_view.xml
parent3afc97f451d8550f18b7b54a08456f7d242888e8 (diff)
parentc180afab26171617c1c7c22db5d9836b159e5e7d (diff)
[MERGE]upstream
bzr revid: dle@openerp.com-20130625162046-snd83ltaha9o5fl8
Diffstat (limited to 'addons/project/project_view.xml')
-rw-r--r--addons/project/project_view.xml71
1 files changed, 38 insertions, 33 deletions
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml
index f6765b3462b..33842a9a19c 100644
--- a/addons/project/project_view.xml
+++ b/addons/project/project_view.xml
@@ -90,17 +90,6 @@
<h1>
<field name="name" string="Project Name"/>
</h1>
- <div name="group_alias"
- attrs="{'invisible': [('alias_domain', '=', False)]}">
- <label for="alias_id" string="Email Alias"/>
- <field name="alias_id" class="oe_inline oe_read_only" required="0" nolabel="1"/>
- <span name="edit_alias" class="oe_edit_only">
- <field name="alias_name" class="oe_inline"
- attrs="{'required': [('alias_id', '!=', False)]}"/>
- @
- <field name="alias_domain" class="oe_inline" readonly="1"/>
- </span>
- </div>
<div name="options_active">
<field name="use_tasks" class="oe_inline"/>
<label for="use_tasks"/>
@@ -113,17 +102,31 @@
</div>
<group>
<group>
- <field name="privacy_visibility"/>
<field name="user_id" string="Project Manager"
- attrs="{'readonly':[('state','in',['close', 'cancelled'])]}"
- context="{'default_groups_ref': ['base.group_user', 'project.group_project_manager']}"/>
- </group>
- <group>
+ attrs="{'readonly':[('state','in',['close', 'cancelled'])]}"
+ context="{'default_groups_ref': ['base.group_user', 'project.group_project_manager']}"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id)"/>
- <p colspan="2" attrs="{'invisible': [('analytic_account_id','=',False)]}">
- To invoice or setup invoicing and renewal options, go to the related contract: <field name="analytic_account_id" readonly="1" required="0" class="oe_inline"/>.
+ <span></span>
+ <p attrs="{'invisible': [('analytic_account_id','=',False)]}">
+ To invoice or setup invoicing and renewal options, go to the related contract:
+ <field name="analytic_account_id" readonly="1" required="0" class="oe_inline" nolabel="1"/>.
</p>
</group>
+ <group name="group_alias"
+ attrs="{'invisible': [('alias_domain', '=', False)]}">
+ <label for="alias_name" string="Email Alias"/>
+ <div name="alias_def">
+ <field name="alias_id" class="oe_read_only oe_inline"
+ string="Email Alias" required="0"/>
+ <div class="oe_edit_only oe_inline" name="edit_alias" style="display: inline;" >
+ <field name="alias_name" class="oe_inline"/>@<field name="alias_domain" class="oe_inline" readonly="1"/>
+ </div>
+ </div>
+ <label for="alias_model" string="Incoming Emails create"/>
+ <field name="alias_model" class="oe_inline" nolabel="1"/>
+ <field name="alias_contact" class="oe_inline"
+ string="Accept Emails From"/>
+ </group>
</group>
<notebook>
<page string="Team" name="team">
@@ -146,20 +149,22 @@
</field>
</page>
<page string="Other Info">
- <group>
- <group string="Administration" groups="project.group_time_work_estimation_tasks">
- <field name="planned_hours" widget="float_time"/>
- <field name="effective_hours" widget="float_time"/>
- <field name="resource_calendar_id"/>
- </group>
- <group string="Miscellaneous" name="misc">
- <field name="date_start"/>
- <field name="date" string="End Date"/>
- <field name="priority" groups="base.group_no_one"/>
- <field name="active" attrs="{'invisible':[('state','in',['open', 'pending', 'template'])]}"/>
- <field name="currency_id" groups="base.group_multi_currency" required="1"/>
- <field name="parent_id" string="Parent" help="Append this project to another one using analytic accounts hierarchy" domain="[('id','!=',analytic_account_id)]" context="{'current_model': 'project.project'}" />
- </group>
+ <group string="Administration">
+ <field name="privacy_visibility" widget="radio"/>
+ <field name="planned_hours" widget="float_time"
+ groups="project.group_time_work_estimation_tasks"/>
+ <field name="effective_hours" widget="float_time"
+ groups="project.group_time_work_estimation_tasks"/>
+ <field name="resource_calendar_id"
+ groups="project.group_time_work_estimation_tasks"/>
+ </group>
+ <group string="Miscellaneous" name="misc">
+ <field name="date_start"/>
+ <field name="date" string="End Date"/>
+ <field name="priority" groups="base.group_no_one"/>
+ <field name="active" attrs="{'invisible':[('state','in',['open', 'pending', 'template'])]}"/>
+ <field name="currency_id" groups="base.group_multi_currency" required="1"/>
+ <field name="parent_id" string="Parent" help="Append this project to another one using analytic accounts hierarchy" domain="[('id','!=',analytic_account_id)]" context="{'current_model': 'project.project'}" />
</group>
</page>
<page string="Project Stages" attrs="{'invisible': [('use_tasks', '=', False)]}" name="project_stages">
@@ -253,7 +258,7 @@
<div class="oe_kanban_content">
<h4><field name="name"/></h4>
<div class="oe_kanban_alias" t-if="record.alias_id.value">
- <span class="oe_e">%%</span><small><field name="alias_id"/></small>
+ <span class="oe_e oe_e_alias">%%</span><small><field name="alias_id"/></small>
</div>
<div class="oe_kanban_project_list">
<a t-if="record.use_tasks.raw_value" name="%(act_project_project_2_project_task_all)d" type="action" style="margin-right: 10px">