[IMP]GOLEM Resources : add icon, menu reorganization

This commit is contained in:
Fabien BOURGEOIS 2018-02-18 07:59:24 +01:00
parent 9f9459df45
commit 89319bd7e5
4 changed files with 18 additions and 13 deletions

View File

@ -18,17 +18,16 @@
{ {
'name': 'GOLEM non-profit resources', 'name': 'GOLEM non-profit resources',
'summary': 'Extends Odoo resources for MJC', 'summary': 'GOLEM resources management',
'version': '10.0.1.0.1', 'description': ''' GOLEM resources management ''',
'version': '10.0.1.0.2',
'category': 'GOLEM', 'category': 'GOLEM',
'author': 'Youssef El Ouahby, Fabien Bourgeois', 'author': 'Youssef El Ouahby, Fabien Bourgeois',
'license': 'AGPL-3', 'license': 'AGPL-3',
'application': True, 'application': True,
'installable': True, 'installable': True,
'depends': ['product', 'depends': ['product'],
],
'data': ['views/golem_resources_views.xml', 'data': ['views/golem_resources_views.xml',
'views/golem_reservation_views.xml', 'views/golem_reservation_views.xml',
'security/ir.model.access.csv', 'security/ir.model.access.csv']
]
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -109,8 +109,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="res_model">golem.reservation</field> <field name="res_model">golem.reservation</field>
<field name="view_mode">tree,search,form,calendar</field> <field name="view_mode">tree,search,form,calendar</field>
</record> </record>
<menuitem id="reservation_sub_menu" name="Reservation" parent="resources_menu" <menuitem id="resource_reservation_menu" name="Reservations"
action="action_reservation"/> parent="resources_menu" action="action_resources" sequence="20" />
<!--formulaire relatif au wizard du motif de refus--> <!--formulaire relatif au wizard du motif de refus-->
<record model="ir.ui.view" id="wizard_form_view"> <record model="ir.ui.view" id="wizard_form_view">

View File

@ -151,10 +151,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="view_mode">tree</field> <field name="view_mode">tree</field>
</record> </record>
<!--menu principale et sous menu--> <!--menu principale et sous menu-->
<menuitem id="resources_menu" name="Resources" /> <menuitem id="resources_menu" name="Resources"
<menuitem id="resources_sub_menu" name="Resources" parent="resources_menu" sequence="55" groups="golem_base.group_golem_user"
action="action_resources"/> web_icon="golem_ressources,static/description/icon.png" />
<menuitem id="configuration_sub_menu" name="Configuration" parent="resources_menu" <menuitem id="resources_list_menu" name="Resources" parent="resources_menu"
action="action_configuration"/> action="action_resources" sequence="10" />
<menuitem id="resource_configuration_menu" name="Configuration"
parent="resources_menu" groups="golem_base.group_golem_manager"
action="action_configuration" sequence="90" />
<menuitem id="resource_cofiguration_type_menu" name="Resource Types"
parent="resource_configuration_menu"
action="action_configuration" sequence="10" />
</data> </data>
</odoo> </odoo>