openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #24000
[Bug 1155558] Re: [Setting] group record rules not displayed with empty name field
I found the source of the problem. res.groups and ir.rules are linked
using a m2m. The res.groups-side of the m2m has a domain on it:
[('global', '=', False)] . global is a function field on ir.rules which
is true if the rule is not linked to any group. You see the incoherence?
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Status: Confirmed => New
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Importance: Undecided => Medium
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1155558
Title:
[Setting] group record rules not displayed with empty name field
Status in OpenERP Server:
Confirmed
Bug description:
Use Case
1. logon to a db_all on runbot
2. Go to User => Groups => create a group
3. Go to Rules tab, create a rule
4. Leave name field empty, select an object, do not add anything in groups (must be global), save and close
5. save the group => the rule disappears
6. If you go to Security => Record Rules, you can find that rule and see that it is still associated with the correct group
What to do:
The rule should still be displayed after saving even if the name field is empty
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1155558/+subscriptions
References