Vaibhav (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-908731-vda into
lp:openobject-addons.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #908731 in OpenERP Addons: "missing create buttons on dashboard"
https://bugs.launchpad.net/openobject-addons/+bug/908731
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-908731-vda/+merge/86897
Specified creatable attrs on action to get create button on action dashboard.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-908731-vda/+merge/86897
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-908731-vda.
=== modified file 'hr_expense/board_hr_expense_view.xml'
--- hr_expense/board_hr_expense_view.xml 2011-12-19 16:54:40 +0000
+++ hr_expense/board_hr_expense_view.xml 2011-12-26 12:43:25 +0000
@@ -18,7 +18,7 @@
<field name="type">form</field>
<field name="arch" type="xml">
<xpath expr="/form/board/column[1]" position="inside">
- <action name="%(action_my_expense)d" string="My Expenses"/>
+ <action name="%(action_my_expense)d" string="My Expenses" creatable="true"/>
</xpath>
</field>
</record>
=== modified file 'project_issue/board_project_issue_view.xml'
--- project_issue/board_project_issue_view.xml 2011-12-19 16:54:40 +0000
+++ project_issue/board_project_issue_view.xml 2011-12-26 12:43:25 +0000
@@ -148,7 +148,7 @@
<field name="inherit_id" ref="project.board_project_form"/>
<field name="arch" type="xml">
<xpath expr="/form/board/column/action[@string='My Delegated Tasks']" position="after">
- <action name="%(action_view_my_project_issue_tree)d" string="My Issues"/>
+ <action name="%(action_view_my_project_issue_tree)d" string="My Issues" creatable="true"/>
</xpath>
<xpath expr="/form/board/column/action[@string='My Remaining Hours by Project']" position="after">
<action name="%(action_view_my_open_project_issue_tree)d" string="My Open Issues by Creation Date"/>
=== modified file 'purchase/board_purchase_view.xml'
--- purchase/board_purchase_view.xml 2011-12-19 16:54:40 +0000
+++ purchase/board_purchase_view.xml 2011-12-26 12:43:25 +0000
@@ -91,7 +91,7 @@
<form string="Purchase Dashboard">
<board style="2-1">
<column>
- <action name="%(purchase_draft)d" string="Request for Quotations"/>
+ <action name="%(purchase_draft)d" string="Request for Quotations" creatable="true"/>
</column>
<column>
<action name="%(action_purchase_order_monthly_categ_graph)d" string="Monthly Purchases by Category"/>
=== modified file 'sale/board_sale_view.xml'
--- sale/board_sale_view.xml 2011-12-19 16:54:40 +0000
+++ sale/board_sale_view.xml 2011-12-26 12:43:25 +0000
@@ -103,7 +103,7 @@
<board style="2-1">
<column>
<action name="%(action_quotation_for_sale)d"
- string="My Quotations"/>
+ string="My Quotations" creatable="true"/>
<!--groups="base.group_sale_salesman,base.group_sale_manager,account.group_account_user,stock.group_stock_user"-->
</column>
<column>
=== modified file 'sale_crm/board_sale_crm_view.xml'
--- sale_crm/board_sale_crm_view.xml 2011-12-19 16:54:40 +0000
+++ sale_crm/board_sale_crm_view.xml 2011-12-26 12:43:25 +0000
@@ -10,6 +10,7 @@
<xpath expr="/form/board/column/action[@string='My Quotations']" position="before">
<action name="%(crm.act_my_oppor)d"
string="My Opportunities"
+ creatable="true"
/>
</xpath>
</field>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp