[FIX] creatable action.

lp bug: https://launchpad.net/bugs/908731 fixed

bzr revid: vda@tinyerp.com-20111226122145-em6aex3t3ziy9u8t
This commit is contained in:
Vaibhav (OpenERP) 2011-12-26 17:51:45 +05:30
parent 052223704b
commit e1b56442b6
5 changed files with 5 additions and 4 deletions

View File

@ -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>

View File

@ -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"/>

View File

@ -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"/>

View File

@ -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>

View File

@ -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>