Hide menu item "warehouse" in openerp6.1 - odoo

In openerp6.1 I am working on warehouse(stock)
I am trying to customize stock and create new warehouse_management module now I want to hide original warehouse menu,sub menu and put my own WMS menu internally I use many functionality of stock, so if I delete menu item i can't access existing functionality
I just want to hide warehouse menu and its sub menu
Requirement is when I am install my wms module it automatically hide warehouse menu

if you not want to delete menu then you can done one thing, create a new group and overwrite the same menu again in your module
<menuitem name="Project" id="base.menu_main_pm" groups="group_new_hide" sequence="40"/>
So until you give this new group any user the menu remain hidden
Hope this help

Related

Unable to add button to Custom List Item Ribbon

I am trying to add a Print Item button to the Forms (New, Edit, Display) of items in a Custom List. In order to achieve this I am using the following microsoft article https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/hh500259(v%3Doffice.14).
I follow the steps, however the Button is not displayed. Attaching Screenshots of how it is set on Sharepoint designer as reference
Do you have any ideas of what can be happening? Is there another way to add a print button the the Items Ribbon?
The button would not be added to the Items ribbon. In fact, the button is added to the drop down menu of the list item, as the below picture shows:

Menu link not visible odoo 9

I'm install my custom module but module link in menu is not visible!
I'm trying to change sequences but again in not visible, in apps/modul name stay:
Created Menus
MY MENU
Where is problem here?
<menuitem name="MY MENU" id="my_menu_1" action="action_my_menu_form" sequence="55"/>
In Odoo Menu-Item parent-id is required.
If you not give parent menu item then odoo will consider menu item as Parent Menu item.
You have done same thing.create menu item without parent-id,so odoo will consider as parent menu.
Ex:
Sales Is parent Menu. ( In base module)
<menuitem name="Sales"
id="menu_base_partner"
groups="base.group_sale_salesman"
sequence="20"/>
Product is Child Menu.
<menuitem id="menu_product" name="Products" parent="base.menu_base_partner" action="product_action_window" sequence="9"/>
Parent Menu item is base.menu_base_partner.
Child Menu item is menu_product.
If you create only Parent menu item then Child menu item will not visible in the system.
When the menu is not shown (if any one know other cases put it in comment ) sorry for my english:
The menu has no child menu and it has not an action
the menu has childrens menus but also the children have no action
menu or childs menus have action but you are not allowed by group security.
(ir.model.access)you have acces to menu but you don't have acces to read record from the model related to the action. super user (administrator) can acces any record.
or you didn't upgrade you module correctly the menu is not loaded at all for this problem see in developper mode if the menu is loaded to the database.

How can we add approval button field on view of a list in SharePoint 2010

I have a requirement where I want to add a button called approve on the bottom of read item list page. This is something when I click on approve button should change the status of list using whatever (javascript, workflow).
Please suggest how can I do this with the existing list. I have attached the screenshot below
I'll be very grateful for all of your advise
If you open a list in SharePoint designer. There is a section called Forms. You can use it to edit existing (add/edit/view) form or add a new one.

OpenERP hide top menu items

Is there a way to hide the top menu items on specific groups without restricting objects permissions in security files?
I created a module which uses functionalities from multiple modules and I put the corresponding menus in my module, so I don't need all the top menus anymore.
If you want to hide top menu of all modules, then you have to overwrite the exiting menu of all modules in you modules and assign an another group to these menus, so when you give this group to user in access rigths then only he can see the other top menu
hope this will help

How to add a new Menu at the end of MenuBar?

One question is : Now I want to add a new Menu at the end of MenuBar, not to add a menuitem at the known menu. just like the Xcode Items: The last menu is Help , I want to add a new Mneu(MyMenu) behind the Help Menu ? How to do ? Thanks very much!
Generally, you should not add or remove items in the main menu at run time, because it breaks your users' muscle memory. Enable or disable them instead, and you'll have a much better UI.
Assuming you've found a good reason to do this, the way to do it is to get the main menu from the shared NSApplication object, then insert the menu item for your new menu. The menu item's submenu is the actual menu you're inserting. (Of course, you can create the menu and menu item in IB and access the menu item through an outlet.)