← Back to team overview

openerp-india team mailing list archive

[Bug 1200194] Re: 7.0 multicompany: error message when changing the stock level through the product form view

 

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: mat@xxxxxxxxxxx-20130729135844-jtanbteqtg52ztnu

Regards

** Changed in: openobject-addons
   Importance: Undecided => Low

** Changed in: openobject-addons
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1200194

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

Status in OpenERP Community Backports (Addons):
  New
Status in OpenERP Addons (modules):
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ocb-addons/+bug/1200194/+subscriptions