← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 393891] Re: Error in the Menus documentation

 

I don't know if the situation has changed back since this bug was
reported, but the documentation seems to me to match the code. They both
use group names, not ids. As an example, see the stock_view.xml file:

http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/view/head:/stock/stock_view.xml

As of revision 4249, the first menuitem at the top of the file looks like this:
	
        <menuitem icon="terp-stock" id="menu_stock_root" name="Warehouse"
                  groups="group_stock_manager,group_stock_user" sequence="5"
                  web_icon="images/warehouse.png"
                  web_icon_hover="images/warehouse-hover.png"/>

I'm going to mark this bug as invalid, but feel free to reopen it and
enlighten me if I've missed something.

** Changed in: openobject-doc
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/393891

Title:
  Error in the Menus documentation

Status in OpenERP Documentation:
  Invalid

Bug description:
  The documentation related to menus is not precise when explaining the
  groups attribute.

  It reads: ... groups="groupname" ... while it must contains group ids,
  not names. I think that it's confusing as in previous versions group
  names were required.

  The documentation URL is
  http://doc.openerp.com/developer/2_7_menu_action/7_1_menus.html