[6.0 6.1 trunk] Impossible hide a field with manually created groups

Bug #1062886 reported by Nhomar - Vauxoo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Low
OpenERP's Framework R&D

Bug Description

Hello.

If you create a Group manually, and try to set this group to a field to hide itin debug mode. is impossible set it as group to a field due to xml restrictions.

<field name="comment" placeholder="Put an internal note..." groups="account.group_account_invoice"/>

Always list just groups created by code (with xml_id) as in the example.

IMHO is a problem cause security can no be managed always by a developer, in some cases (almost all medium implementations) you have experienced end users that can be able to set this kind of security but is technically impossible, at least taking more obvious way.

If i put:

<field name="comment" placeholder="Put an internal note..." groups="Name of Group"/>

It will explode.

Regard

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.