← 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

 

** Branch linked: lp:openobject-addons/extra-6.0

-- 
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):
  Confirmed

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