Browse Source

commit inicial

Rodney Elpidio Enciso Arias 6 years ago
commit
2cf06a98e8
7 changed files with 190 additions and 0 deletions
  1. 31 0
      __init__.py
  2. 18 0
      __openerp__.py
  3. 1 0
      gitignore
  4. 6 0
      views/accounting_menu.xml
  5. 32 0
      views/hide_menu.xml
  6. 66 0
      views/operations_menu.xml
  7. 36 0
      views/registration_menu.xml

+ 31 - 0
__init__.py

@@ -0,0 +1,31 @@
+# -*- encoding: utf-8 -*-
+###############################################################################
+# #                                                                           #
+# product_brand for Odoo #                                                    #
+# Copyright (C) 2009 NetAndCo (<http://www.netandco.net>). #                  #
+# Copyright (C) 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com> #  #
+# Copyright (C) 2014 prisnet.ch Seraphine Lantible <s.lantible@gmail.com> #   #
+# Contributors                                                                #
+# Mathieu Lemercier, mathieu@netandco.net, #                                  #
+# Franck Bret, franck@netandco.net #                                          #
+# Seraphine Lantible, s.lantible@gmail.com, http://www.prisnet.ch             #
+# #                                                                           #
+# This program is free software: you can redistribute it and/or modify #      #
+# it under the terms of the GNU Affero General Public License as #            #
+# published by the Free Software Foundation, either version 3 of the #        #
+# License, or (at your option) any later version. #                           #
+# #                                                                           #
+# This program is distributed in the hope that it will be useful, #           #
+# but WITHOUT ANY WARRANTY; without even the implied warranty of #            #
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #              #
+# GNU Affero General Public License for more details. #                       #
+# #                                                                           #
+# You should have received a copy of the GNU Affero General Public License #  #
+# along with this program. If not, see <http://www.gnu.org/licenses/>. #      #
+# #                                                                           #
+###############################################################################
+###############################################################################
+# Product Brand is an Openobject module wich enable Brand management          #
+# for products                                                                #
+###############################################################################
+# from . import product_brand

+ 18 - 0
__openerp__.py

@@ -0,0 +1,18 @@
+# -*- encoding: utf-8 -*-
+
+{
+    'name': 'EIRU Base Menu',
+    'version': '8.0.0.1.0',
+    'category': 'Product',
+    'summary': 'Menus for EIRU SYSTEM CRAZY',
+    'author': 'eiru',
+    'license': 'AGPL-3',
+    'depends': ['base'],
+    'data': [
+        'views/accounting_menu.xml',
+        'views/hide_menu.xml',
+        'views/operations_menu.xml',
+        'views/registration_menu.xml',
+    ],
+    'installable': True,
+}

+ 1 - 0
gitignore

@@ -0,0 +1 @@
+*.pyc

+ 6 - 0
views/accounting_menu.xml

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+    	
+    </data>
+</openerp>

+ 32 - 0
views/hide_menu.xml

@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+    	<!-- 
+        ====================================
+            HIDE MENUS
+        ====================================
+        -->
+        <menuitem
+            name="Hide"
+            id="menu_hide"
+            sequence="10"/>
+        <!-- Ventas -->
+        <menuitem
+            name="Sales"
+            id="base.menu_base_partner"
+            parent="eiru_base_menu.menu_hide"
+            sequence="0"/>
+        <!-- Compras -->
+        <menuitem
+            name="Purchases"
+            id="base.menu_purchase_root"
+            parent="eiru_base_menu.menu_hide"
+            sequence="1"/>
+        <!-- Stock -->
+        <menuitem
+            name="Warehouse"
+            id="stock.menu_stock_root"
+            parent="eiru_base_menu.menu_hide"
+            sequence="2"/>
+    </data>
+</openerp>

+ 66 - 0
views/operations_menu.xml

@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+        <!-- 
+        ====================================
+            MENU OPERACIONES
+        ====================================
+        -->
+        <menuitem
+            name="Operaciones"
+            id="menu_operations"
+            sequence="0"/>
+
+        <!-- Ventas -->
+        <menuitem
+            name="Sales"
+            id="base.menu_sales"
+            parent="eiru_base_menu.menu_operations"
+            sequence="0"/>
+        
+        <!-- Compras -->
+        <menuitem
+            name="Purchase"
+            id="purchase.menu_procurement_management"
+            parent="eiru_base_menu.menu_operations"
+            sequence="1"/>
+        
+        <!-- Gastos -->
+        <menuitem
+            name="Gastos"
+            id="eiru_base_menu.menu_operation_expenses"
+            parent="eiru_base_menu.menu_operations"
+            sequence="2"/>
+        
+            <menuitem
+                name="Registar Gastos"
+                id="expense_menu.menu_expense"
+                parent="eiru_base_menu.menu_operation_expenses"
+                sequence="0"/>
+        
+        <!-- Stock -->
+        <menuitem
+            name="Stock"
+            id="eiru_base_menu.menu_operation_stock"
+            parent="eiru_base_menu.menu_operations"
+            sequence="3"/>
+
+            <menuitem
+                name="All Operations"
+                id="stock.menu_action_picking_type_form"
+                parent="eiru_base_menu.menu_operation_stock"
+                sequence="0"/>
+
+            <menuitem
+                name="Inventory Adjustments"
+                id="stock.menu_action_inventory_form"
+                parent="eiru_base_menu.menu_operation_stock"
+                sequence="1"/>
+
+             <menuitem
+                name="Stock Moves"
+                id="stock.menu_action_move_form2"
+                parent="eiru_base_menu.menu_operation_stock"
+                sequence="2"/>
+    </data>
+</openerp>

+ 36 - 0
views/registration_menu.xml

@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+    <data>
+    	<!-- 
+        ====================================
+            MENU REGISTROS
+        ====================================
+        -->
+        <menuitem
+            name="Registros"
+            id="menu_registrations"
+            sequence="1"/>
+        
+        <!-- Ventas -->
+        <menuitem
+            name="Ventas"
+            id="eiru_base_menu.menu_registration_sales"
+            parent="eiru_base_menu.menu_registrations"/>
+        
+            <menuitem
+                name="Registrar Clientes"
+                id="base.menu_partner_form"
+                parent="eiru_base_menu.menu_registration_sales"/>
+        
+        <!-- Compras -->
+        <menuitem
+            name="Compras"
+            id="eiru_base_menu.menu_registration_purchases"
+            parent="eiru_base_menu.menu_registrations"/>
+
+            <menuitem
+                name="Registrar Proveedores"
+                id="base.menu_procurement_management_supplier_name"
+                parent="eiru_base_menu.menu_registration_purchases"/>
+    </data>
+</openerp>