Product categories viewable but not creatable or editable after installing product module

Bug #1086903 reported by Phil Frost
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 1

Bug Description

From a clean database, install the Accounting and Finance application. This will indirectly install the product module, which creates menus to create and edit products and product categories. Products can be edited and created, but product categories not. When attempting to edit the automatically created "All Products" category in the web interface, all the fields in the form are read-only. Attempting to create a new product category presents a form with all the input fields disabled.

I know from my testing that installing more modules will make this go away, but I haven't yet determined exactly which ones. I'm guessing that the product module creates the necessary menus and models, but the necessary ACLs to enable users to modify product categories live elsewhere.

I'm using a recent nightly build of 6.1 from the Debian packages provided on openerp.com. Dpkg reports version 6.1-20121130-002722-1, installed on Debian Squeeze.

Revision history for this message
Phil Frost (bitglue) wrote :

So, I found that the "stock" module seems to be what has been giving me access to change product categories. Specifically, being in the warehouse management group.

However, without "stock" installed (just accounting), it's the sales manager group that gives me access to edit products. However, it doesn't give access to edit product categories, which doesn't make much sense to me. I went to Settings -> Groups -> Sales Management / Manager -> Edit -> Access Rights -> Create and added full access for product categories, and this is the behavior I'd expect by default. It doesn't make much sense to be able to edit products but not categories.

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :

Hello Phil Frost,

I have checked your issue with latest trunk as well as 6.1, and from both side I have faced same problem with product category.

I have installed account_accountant and made another user who has only rights of sale manager but that user can't able to create or edit product category.So, sale manager should have rights to create product category as well as edit rights.

So, For that I am confirming this issue.For more information I have attached video and this bug is affected both 6.1 and trunk.

Thanks for reporting...

Revision history for this message
Twinkle Christian(OpenERP) (tch-openerp) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Changed in openobject-addons:
status: In Progress → Fix Released
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.