Merge lp:~openerp-dev/openobject-addons/trunk-bug-908731-vda into lp:openobject-addons

Proposed by Vaibhav Darji
Status: Merged
Merged at revision: 6178
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-908731-vda
Merge into: lp:openobject-addons
Diff against target: 63 lines (+5/-4)
5 files modified
hr_expense/board_hr_expense_view.xml (+1/-1)
project_issue/board_project_issue_view.xml (+1/-1)
purchase/board_purchase_view.xml (+1/-1)
sale/board_sale_view.xml (+1/-1)
sale_crm/board_sale_crm_view.xml (+1/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-908731-vda
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+86897@code.launchpad.net

Description of the change

Specified creatable attrs on action to get create button on action dashboard.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hr_expense/board_hr_expense_view.xml'
2--- hr_expense/board_hr_expense_view.xml 2011-12-19 16:54:40 +0000
3+++ hr_expense/board_hr_expense_view.xml 2011-12-26 12:43:25 +0000
4@@ -18,7 +18,7 @@
5 <field name="type">form</field>
6 <field name="arch" type="xml">
7 <xpath expr="/form/board/column[1]" position="inside">
8- <action name="%(action_my_expense)d" string="My Expenses"/>
9+ <action name="%(action_my_expense)d" string="My Expenses" creatable="true"/>
10 </xpath>
11 </field>
12 </record>
13
14=== modified file 'project_issue/board_project_issue_view.xml'
15--- project_issue/board_project_issue_view.xml 2011-12-19 16:54:40 +0000
16+++ project_issue/board_project_issue_view.xml 2011-12-26 12:43:25 +0000
17@@ -148,7 +148,7 @@
18 <field name="inherit_id" ref="project.board_project_form"/>
19 <field name="arch" type="xml">
20 <xpath expr="/form/board/column/action[@string='My Delegated Tasks']" position="after">
21- <action name="%(action_view_my_project_issue_tree)d" string="My Issues"/>
22+ <action name="%(action_view_my_project_issue_tree)d" string="My Issues" creatable="true"/>
23 </xpath>
24 <xpath expr="/form/board/column/action[@string='My Remaining Hours by Project']" position="after">
25 <action name="%(action_view_my_open_project_issue_tree)d" string="My Open Issues by Creation Date"/>
26
27=== modified file 'purchase/board_purchase_view.xml'
28--- purchase/board_purchase_view.xml 2011-12-19 16:54:40 +0000
29+++ purchase/board_purchase_view.xml 2011-12-26 12:43:25 +0000
30@@ -91,7 +91,7 @@
31 <form string="Purchase Dashboard">
32 <board style="2-1">
33 <column>
34- <action name="%(purchase_draft)d" string="Request for Quotations"/>
35+ <action name="%(purchase_draft)d" string="Request for Quotations" creatable="true"/>
36 </column>
37 <column>
38 <action name="%(action_purchase_order_monthly_categ_graph)d" string="Monthly Purchases by Category"/>
39
40=== modified file 'sale/board_sale_view.xml'
41--- sale/board_sale_view.xml 2011-12-19 16:54:40 +0000
42+++ sale/board_sale_view.xml 2011-12-26 12:43:25 +0000
43@@ -103,7 +103,7 @@
44 <board style="2-1">
45 <column>
46 <action name="%(action_quotation_for_sale)d"
47- string="My Quotations"/>
48+ string="My Quotations" creatable="true"/>
49 <!--groups="base.group_sale_salesman,base.group_sale_manager,account.group_account_user,stock.group_stock_user"-->
50 </column>
51 <column>
52
53=== modified file 'sale_crm/board_sale_crm_view.xml'
54--- sale_crm/board_sale_crm_view.xml 2011-12-19 16:54:40 +0000
55+++ sale_crm/board_sale_crm_view.xml 2011-12-26 12:43:25 +0000
56@@ -10,6 +10,7 @@
57 <xpath expr="/form/board/column/action[@string='My Quotations']" position="before">
58 <action name="%(crm.act_my_oppor)d"
59 string="My Opportunities"
60+ creatable="true"
61 />
62 </xpath>
63 </field>

Subscribers

People subscribed via source and target branches

to all changes: