← Back to team overview

openerp-india team mailing list archive

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

 

** Changed in: openobject-addons
       Status: New => Incomplete

** Changed in: openobject-addons
       Status: Incomplete => Confirmed

** Summary changed:

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

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

** Changed in: openobject-addons
     Assignee: (unassigned) => Amit Bhavsar (Open ERP) (amb-openerp)

-- 
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