← Back to team overview

openerp-india team mailing list archive

[Bug 984382] Re: [Extra-addons]product_special_price read non existing field user.shop_id

 

Hello,

It has been fixed on lp:openobject-addons/extra-6.0
branch with following revision number and revision ID.

Revision No :5759
Revision ID : amb@xxxxxxxxxxx-20120418063234-12t8dgq50ns10he9

Thanks!

** Changed in: openobject-addons
       Status: Confirmed => 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/984382

Title:
  [Extra-addons]product_special_price read non existing field
  user.shop_id

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Module product_special_price/sale.py, line 51:

  if user.shop_id.special_price:

  This launch this error:

  AttributeError: "Field 'shop_id' does not exist in object
  'browse_record(res.users, 1)'"

  The error/question is: Where the attribute 'shop_id' is in the
  res.user model? Maybe in a unregistered (and not installed) depends
  module in __openerp__.py cause the problem?

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


References