7.0 multicompany: error message when changing the stock level through the product form view

Bug #1200194 reported by Alexandre Fayolle - camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

Similar to lp:1182111

Steps to reproduce:

* log on a 7.0 instance on runbot as admin
* create a new user with login "test_warehouse" belonging to a child company of "you company", make him warehouse manager, let him access only that company (don't forget to change his password)
* log out, log on as test_warehouse
* go the Warehouse > products, browse to the inventory tab
* click on "update" quantity on hand

What I get:

* an unexpected error message box, which I can remove (by clicking "OK") but which is *very* annoying and confusing when it shows up

This error is caused by trying to get the name of a stock location on which the user has no access.

Tags: maintenance

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

As for lp:1178876, I have merged a fix making sure the default stock location exists and the user has read access to it.
This should do the trick for your problem (I agree, not blocking but very annoying).

We could do something smarted by proposing another location by default. However we can not select any location (would not make sense), we would need another field on the company (default_location_id or something like this) but this be potentials improvements for next versions.

revno: 9329
revision-id: <email address hidden>

Regards

Changed in openobject-addons:
importance: Undecided → Low
status: New → Fix Released
no longer affects: ocb-addons
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.