bemade_fsm: updated actions for the Field Service menu items leading to tasks. Fixes #2.
This commit is contained in:
parent
81f8550041
commit
4065e036ce
2 changed files with 53 additions and 2 deletions
|
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
########################################################################################
|
########################################################################################
|
||||||
{
|
{
|
||||||
'name': 'Durpro Field Service Management',
|
'name': 'Improved Field Service Management',
|
||||||
'version': '15.0.1.0.0',
|
'version': '15.0.1.0.0',
|
||||||
'summary': 'Adds functionality necessary for managing field service operations at Durpro.',
|
'summary': 'Adds functionality necessary for managing field service operations at Durpro.',
|
||||||
'description': 'Adds functionality necessary for managing field service operations at Durpro.',
|
'description': 'Adds functionality necessary for managing field service operations at Durpro.',
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
'sale_stock',
|
'sale_stock',
|
||||||
'industry_fsm',
|
'industry_fsm',
|
||||||
'industry_fsm_sale',
|
'industry_fsm_sale',
|
||||||
|
'industry_fsm_report',
|
||||||
'bemade_partner_root_ancestor',
|
'bemade_partner_root_ancestor',
|
||||||
'mail',
|
'mail',
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
<field name="equipment_id" domain="[('partner_location_id','=',partner_id)]"/>
|
<field name="equipment_id" domain="[('partner_location_id','=',partner_id)]"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//page[@name='extra_info']" position="after">
|
<xpath expr="//page[@name='extra_info']" position="after">
|
||||||
<page>
|
<page string="Field Service" name="field_service">
|
||||||
<group name="contacts">
|
<group name="contacts">
|
||||||
<field name="site_contacts"
|
<field name="site_contacts"
|
||||||
context="{'tree_view_ref': 'bemade_fsm.fsm_contacts_view_tree'}"/>
|
context="{'tree_view_ref': 'bemade_fsm.fsm_contacts_view_tree'}"/>
|
||||||
|
|
@ -22,5 +22,55 @@
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
<!-- Add parent_id = false to domain for My Tasks, All Tasks: To Schedule, All Tasks and To Invoice-->
|
||||||
|
<record id="industry_fsm.project_task_action_fsm" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="industry_fsm.project_task_action_fsm_map" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="industry_fsm.project_task_action_to_schedule_fsm" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="industry_fsm.project_task_action_all_fsm" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="industry_fsm_sale.project_task_action_to_invoice_fsm" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<!-- Add parent_id = false to domain for planning actions as well -->
|
||||||
|
<record id="industry_fsm.project_task_action_fsm_planning_groupby_user" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="industry_fsm.project_task_action_fsm_planning_groupby_project" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
|
<record id="industry_fsm_report.project_task_action_fsm_planning_groupby_worksheet" model="ir.actions.act_window">
|
||||||
|
<field name="domain">[('is_fsm', '=', True),
|
||||||
|
('display_project_id', '!=', False),
|
||||||
|
('parent_id', '=', False)]
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
Loading…
Reference in a new issue