← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1204920] Re: [trunk] UnboundLocalError: local variable 'partner' referenced before assignment

 

** Changed in: ocb-server/7.0
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Community Backports Team, which is subscribed to OpenERP Community
Backports (Server).
https://bugs.launchpad.net/bugs/1204920

Title:
  [trunk] UnboundLocalError: local variable 'partner' referenced before
  assignment

Status in OpenERP Community Backports (Server):
  Fix Released
Status in OpenERP Community Backports (Server) 7.0 series:
  Fix Released
Status in OpenERP Server:
  Confirmed

Bug description:
  UnboundLocalError: local variable 'partner' referenced before assignment
  > openobject-server/openerp/addons/base/res/res_partner.py(680)address_get()
  -> default = result.get('default', partner.id)

  actual server version

  the variable partner is only set, if the preceding for loop is entered

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