diff options
| author | Gery Debongnie <ged@openerp.com> | 2014-04-10 16:51:31 +0200 |
|---|---|---|
| committer | Gery Debongnie <ged@openerp.com> | 2014-04-10 16:51:31 +0200 |
| commit | 2e9ee9c76e7eae0a98af773ad8abd7585d4ea0ec (patch) | |
| tree | 7bff96787a2521001e88f9a985f07c584b85516f /addons/project/project_view.xml | |
| parent | ac2f58ce68481dfbc05ca8bb496c94c59b137565 (diff) | |
| parent | 4c0f7b1be8d188734b44856f093fa525f6837489 (diff) | |
[MERGE] merge from rma branch
bzr revid: ged@openerp.com-20140410145131-fj17mdpi13wa5a9m
Diffstat (limited to 'addons/project/project_view.xml')
| -rw-r--r-- | addons/project/project_view.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 3ee673a4d2f..f362a9266ed 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -93,21 +93,26 @@ </div> </div> <div class="oe_right oe_button_box" name="buttons" groups="base.group_user"> - <field name="tasks" widget="x2many_counter" string="Tasks" attrs="{'invisible':[('use_tasks','=', False)]}" options='{"views": [[false, "kanban"], [false, "tree"], [false, "form"], [false, "calendar"], [false, "gantt"], [false, "graph"]]}'/> - <button name="attachment_tree_view" string="Documents" type="object"/> + <button class="oe_inline oe_stat_button" type="action" attrs="{'invisible':[('use_tasks','=', 0)]}" + name="%(act_project_project_2_project_task_all)d" icon="fa-tasks"> + <field string="Task" name="task_count" widget="statinfo"/> + </button> + <button class="oe_inline oe_stat_button" name="attachment_tree_view" type="object" icon="fa-files-o"> + <field string="Documents" name="doc_count" widget="statinfo"/> + </button> </div> <group> - <group> + <group col="4"> <field name="user_id" string="Project Manager" attrs="{'readonly':[('state','in',['close', 'cancelled'])]}" context="{'default_groups_ref': ['base.group_user', 'base.group_partner_manager', 'project.group_project_manager']}"/> + <newline/> <field name="partner_id" on_change="onchange_partner_id(partner_id)"/> - <span></span> + </group> <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"/> |
