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_issue/project_issue_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_issue/project_issue_view.xml')
| -rw-r--r-- | addons/project_issue/project_issue_view.xml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/addons/project_issue/project_issue_view.xml b/addons/project_issue/project_issue_view.xml index 3af9ee608d6..a312b8e78d8 100644 --- a/addons/project_issue/project_issue_view.xml +++ b/addons/project_issue/project_issue_view.xml @@ -306,7 +306,10 @@ <label for="use_issues"/> </xpath> <xpath expr='//div[@name="buttons"]' position='inside'> - <button name="%(act_project_project_2_project_issue_all)d" string="Issues" type="action" attrs="{'invisible':[('use_issues','=', 0)]}"/> + <button class="oe_inline oe_stat_button" type="action" attrs="{'invisible':[('use_issues','=', 0)]}" + name="%(act_project_project_2_project_issue_all)d" icon="fa-bug"> + <field string="Issues" name="issue_count" widget="statinfo"/> + </button> </xpath> <xpath expr='//page[@name="project_stages"]' position="attributes"> <attribute name="attrs">{'invisible': [('use_tasks', '=', False),('use_issues','=',False)]}</attribute> @@ -375,11 +378,14 @@ <field name="priority" eval="50"/> <field name="arch" type="xml"> <xpath expr="//div[@name='buttons']" position="inside"> - <button class="oe_inline" type="action" string="Issues" - attrs="{'invisible': [('customer', '=', False)]}" - name="%(action_view_issues)d" + <button class="oe_inline oe_stat_button" type="action" name="%(action_view_issues)d" context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}" - groups="project.group_project_user"/> + attrs="{'invisible': [('customer', '=', False)]}" + icon="fa-bug" groups="project.group_project_user"> + <field string="Issues" name="issue_count" widget="statinfo"/> + </button> + + </xpath> </field> </record> |
