creating a new ir.rule from res.group will set the rule as global

Bug #1300678 reported by Yannick Vaucher @ Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

(Build 32348)
server (5268)
addons (9943)
web (4168)

Go in Settings -> Users -> Groups

Open a group, let's take Lunch / User
Go in Rules tab and click add in edit mode

Create a new rule test lunch from there on model product.product.

As it should be in context you shouldn't need to add a group. And it will add the group for you.
Save the rule and save the Group

Result:
The rule disapear from the group and if you go in Settings -> Technical -> Security -> Record rules

And open your rule test lunch.

What you get is a global rule with a group

What I expect:
The group is added to the rule and the rule shouldn't be global

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.