Permissions on procurement

Bug #699784 reported by Open Net Sàrl
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 2

Bug Description

Module 'procurement'

Only the user with id = 1 is able to confirm
For other users, even if members of all groups
"AccessError
You can not write in this document (purchase.requisition) ! Be sure your user belongs to one of these groups: /."

Related branches

Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Hello,

Would you please elaborate more with proper example.
Also explain that User's assigned groups.
Because, Administrator have id 1.
That's why id 1 user is able to confirm it.

Thanks.

Changed in openobject-addons:
status: New → Incomplete
Revision history for this message
Open Net Sàrl (openerp-open-net) wrote :

Hi,

It's written in the description
"For other users, even if members of all groups"

Normal message, should be
¨"AccessError
You can not write in this document (purchase.requisition) ! Be sure your user belongs to one of these groups: <name of the group>"

But with me message
"AccessError
You can not write in this document (purchase.requisition) ! Be sure your user belongs to one of these groups: /."

I suspect that NO group at all have this right, user with id = 1 goes through, but not any others

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

Hello,

The problem is in ir.model.access.csv file in purchase_requisition module. The access id passed in "Purchase/User" and "Stock/Manager" groups are same. The access id must be unique for each group.

Thanks.

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Atik Agewan(OpenERP) (aag-openerp) wrote :

Hello Open Net Sàrl,

Thanks for reporting,
It has been fixed in lp:~openerp-commiter/openobject-addons/trunk-addons-aag
Revision ID: <email address hidden>
Revision num: 5059
It will be available in trunk soon,

Changed in openobject-addons:
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in openobject-addons:
status: Fix Committed → Fix Released
milestone: none → 6.0
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.