bemade_fsm: Added menu items for navigating clients and equipment locations. Ref #11.
This commit is contained in:
parent
aab631fc85
commit
23f0a0132b
3 changed files with 10 additions and 17 deletions
|
|
@ -27,13 +27,21 @@
|
||||||
'author': 'Bemade Inc.',
|
'author': 'Bemade Inc.',
|
||||||
'website': 'http://www.bemade.org',
|
'website': 'http://www.bemade.org',
|
||||||
'license': 'OPL-1',
|
'license': 'OPL-1',
|
||||||
'depends': ['project', 'stock', 'sale', 'sale_project', 'sale_stock', 'industry_fsm_sale'],
|
'depends': ['project',
|
||||||
|
'stock',
|
||||||
|
'sale',
|
||||||
|
'sale_project',
|
||||||
|
'sale_stock',
|
||||||
|
'industry_fsm',
|
||||||
|
'industry_fsm_sale',
|
||||||
|
],
|
||||||
'data': ['views/task_template_views.xml',
|
'data': ['views/task_template_views.xml',
|
||||||
'views/equipment.xml',
|
'views/equipment.xml',
|
||||||
'views/equipment_location.xml',
|
'views/equipment_location.xml',
|
||||||
'security/ir.model.access.csv',
|
'security/ir.model.access.csv',
|
||||||
'views/product_views.xml',
|
'views/product_views.xml',
|
||||||
'views/res_partner.xml',
|
'views/res_partner.xml',
|
||||||
|
'views/menus.xml',
|
||||||
],
|
],
|
||||||
'assets': {
|
'assets': {
|
||||||
'web.assets_tests': [
|
'web.assets_tests': [
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<odoo>
|
<odoo>
|
||||||
|
|
||||||
<record id="partner_equipment_location_view_form" model="ir.ui.view">
|
<record id="partner_equipment_location_view_form" model="ir.ui.view">
|
||||||
<field name="name">bemade_fsm.partner.equipment.location.form</field>
|
<field name="name">bemade_fsm.partner.equipment.location.form</field>
|
||||||
<field name="model">res.partner</field>
|
<field name="model">res.partner</field>
|
||||||
|
|
@ -30,8 +29,6 @@
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
<!-- Equipment Location Form View -->
|
|
||||||
<record id="equipment_location_view_form" model="ir.ui.view">
|
<record id="equipment_location_view_form" model="ir.ui.view">
|
||||||
<field name="name">bemade_fsm.equipment.location.form</field>
|
<field name="name">bemade_fsm.equipment.location.form</field>
|
||||||
<field name="model">bemade_fsm.equipment.location</field>
|
<field name="model">bemade_fsm.equipment.location</field>
|
||||||
|
|
@ -54,7 +51,6 @@
|
||||||
</field>
|
</field>
|
||||||
</page>
|
</page>
|
||||||
</notebook>
|
</notebook>
|
||||||
|
|
||||||
</sheet>
|
</sheet>
|
||||||
<div class="oe_chatter">
|
<div class="oe_chatter">
|
||||||
<field name="message_follower_ids" widget="mail_followers"/>
|
<field name="message_follower_ids" widget="mail_followers"/>
|
||||||
|
|
@ -77,8 +73,6 @@
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<!-- BV: AGAIN A SEARCH VIEW TO FIX
|
|
||||||
|
|
||||||
<record id="equipment_location_view_search" model="ir.ui.view">
|
<record id="equipment_location_view_search" model="ir.ui.view">
|
||||||
<field name="name">bemade_fsm.equipment.location.search</field>
|
<field name="name">bemade_fsm.equipment.location.search</field>
|
||||||
<field name="model">bemade_fsm.equipment.location</field>
|
<field name="model">bemade_fsm.equipment.location</field>
|
||||||
|
|
@ -88,22 +82,15 @@
|
||||||
<field name="partner_id"/>
|
<field name="partner_id"/>
|
||||||
<field name="more_info"/>
|
<field name="more_info"/>
|
||||||
<group expand="0" string="Group By">
|
<group expand="0" string="Group By">
|
||||||
<filter string="Partner" context="{'group_by':'partner_id'}"/>
|
<filter name="Partner" context="{'group_by':'partner_id'}"/>
|
||||||
</group>
|
</group>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
-->
|
|
||||||
|
|
||||||
<record model="ir.actions.act_window" id="action_window_equipment_location">
|
<record model="ir.actions.act_window" id="action_window_equipment_location">
|
||||||
<field name="name">Equipment Location</field>
|
<field name="name">Equipment Location</field>
|
||||||
<field name="res_model">bemade_fsm.equipment.location</field>
|
<field name="res_model">bemade_fsm.equipment.location</field>
|
||||||
<field name="view_mode">tree,form</field>
|
<field name="view_mode">tree,form</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,5 @@
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
<menuitem name="Task Templates" id="task_template_menu" parent="project.menu_main_pm"
|
|
||||||
action="task_template_act_window" groups="project.group_project_manager,project.group_project_user"/>
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
Loading…
Reference in a new issue