ir values - can't be set by user

Bug #768185 reported by Ferdinand
16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Medium
OpenERP's Framework R&D

Bug Description

the user can not set default values even if the access control list allows read/create
to ir_values group_all
"Error"
You can not delete this document (ir.values) ! Be sure your user belongs to one of these groups: Administration / Access Rights.

after allowing delete it works .. why - there was nothing to delete ?

Related branches

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Ferdinand,

I have checked your issue at my end. But I am not faced this type of error message.
So would you please provide proper steps or screen-shots on this.

Thanks waiting for you reply!

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenERP Server because there has been no activity for 60 days.]

Changed in openobject-server:
status: Incomplete → Expired
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Ferdinand,

Would you please check this with latest updated code.
For now I am closing this bug.

If you still faced the problem than you can reopen this again with more information.

Thanks for understanding!

Changed in openobject-server:
status: Expired → Invalid
Revision history for this message
Ferdinand (office-chricar) wrote :

which branch 6.0 or 6.1 ?

Changed in openobject-server:
status: Invalid → New
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

I have faced the dame problem after change the values in "Set as a Default" So I am confirming this issue.

For more clarification would you please check the attached a video.

Thanks.

Revision history for this message
Amit Parik (amit-parik) wrote :
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-server:
status: Confirmed → Fix Committed
Revision history for this message
Vo Minh Thu (thu) wrote :

It may be a implementation detail, but when changing an existing ir_value, the previous one is deleted instead of written. So for now we propose to simply create default rules to let a user have delete access to her own ir_values.

The ir_rule is available in trunk:
revno: 3713 [merge]
revision-id: <email address hidden>

Note that you really need the following revision because of an additional problem discovered later.
revno: 3718
revision-id: <email address hidden>

Changed in openobject-server:
status: Fix Committed → Fix Released
Revision history for this message
Christophe Combelles (ccomb) wrote :

Wouldn't it be a good idea to backport it to 6.0 ?

At least just this change in bin/addons/base/security/ir.model.access.csv
"access_ir_values_group_all","ir_values group_all","model_ir_values",,1,0,1,0

"access_ir_values_group_all","ir_values group_all","model_ir_values",,1,1,1,1

We had the bug and it prevents users from changing their default value... :-/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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