[VIEW] -stock menu
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Fri, 8 Apr 2016 14:25:59 +0000 (16:25 +0200)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Fri, 8 Apr 2016 14:25:59 +0000 (16:25 +0200)
__openerp__.py
view/stock.xml [new file with mode: 0644]

index 3be48fe..eb5302b 100644 (file)
@@ -54,6 +54,7 @@ It installs the profile for bike co-ops to manage some features like:
         'data/users.xml',
         'view/account.xml',
         'view/bikecoop.xml',
+        'view/stock.xml',
     ],
     'installable': True,
     'auto_install': False,
diff --git a/view/stock.xml b/view/stock.xml
new file mode 100644 (file)
index 0000000..ad5e795
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+    <data>
+        <record id="stock.menu_stock_root" model="ir.ui.menu">
+            <field name="groups_id" eval="[(6,0,[ref('bikecoop_l10n_fr.make_invisible')])]"/>
+        </record>
+    </data>
+</openerp>