[FIX]project_issue: issues button on partner form
bzr revid: dle@openerp.com-20130724102507-8f18lu9c5vhup7vr
This commit is contained in:
parent
bf29a2ebc7
commit
658c021df8
|
@ -297,6 +297,7 @@
|
||||||
<field name="project_id" string="Project"/>
|
<field name="project_id" string="Project"/>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="priority">20</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<record id="act_project_project_2_project_issue_all" model="ir.actions.act_window">
|
<record id="act_project_project_2_project_issue_all" model="ir.actions.act_window">
|
||||||
|
@ -318,6 +319,20 @@
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record id="act_open_issue_no_context" model="ir.actions.act_window">
|
||||||
|
<field name="res_model">project.issue</field>
|
||||||
|
<field name="view_type">form</field>
|
||||||
|
<field name="name">Issues</field>
|
||||||
|
<field name="view_mode">kanban,tree,form,calendar,graph</field>
|
||||||
|
<field name="help" type="html">
|
||||||
|
<p>
|
||||||
|
The OpenERP issues tacker allows you to efficiantly manage things
|
||||||
|
like internal requests, software development bugs, customer
|
||||||
|
complaints, project troubles, material breakdowns, etc.
|
||||||
|
</p>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<!-- Project -->
|
<!-- Project -->
|
||||||
<record id="view_project_form_inherited" model="ir.ui.view">
|
<record id="view_project_form_inherited" model="ir.ui.view">
|
||||||
<field name="name">project.project.form.inherited</field>
|
<field name="name">project.project.form.inherited</field>
|
||||||
|
@ -393,7 +408,7 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//div[@name='buttons']" position="inside">
|
<xpath expr="//div[@name='buttons']" position="inside">
|
||||||
<button type="action" string="Issues" attrs="{'invisible': [('customer', '=', False)]}"
|
<button type="action" string="Issues" attrs="{'invisible': [('customer', '=', False)]}"
|
||||||
name="%(act_project_project_2_project_issue_all)d" context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}" groups="project.group_project_user"/>
|
name="%(act_open_issue_no_context)d" context="{'search_default_partner_id': active_id, 'default_partner_id': active_id}" groups="project.group_project_user"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
Loading…
Reference in New Issue