[trunk] UnboundLocalError: local variable 'partner' referenced before assignment
Bug #1204920 reported by
Michael Grohmann
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team | |||
OpenERP Community Backports (Server) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Medium
|
Alexandre Fayolle - camptocamp |
Bug Description
UnboundLocalError: local variable 'partner' referenced before assignment
> openobject-
-> default = result.
actual server version
the variable partner is only set, if the preceding for loop is entered
Related branches
lp:~camptocamp/openobject-server/7.0-fix_1204920-afe
Ready for review
for merging
into
lp:openobject-server/7.0
- Leonardo Pistone (community): Approve (code review)
- OpenERP Core Team: Pending requested
-
Diff: 20 lines (+2/-1)1 file modifiedopenerp/addons/base/res/res_partner.py (+2/-1)
lp:~camptocamp/ocb-server/ocb-7.0-fix_1204920-afe
- Stefan Rijnhart (Opener): Approve
- Pedro Manuel Baeza: Approve (code review)
- Holger Brunn (Therp): Needs Information
- Raphaël Valyi - http://www.akretion.com: Approve
-
Diff: 20 lines (+2/-1)1 file modifiedopenerp/addons/base/res/res_partner.py (+2/-1)
Changed in openobject-server: | |
status: | New → Confirmed |
importance: | Undecided → Low |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
summary: |
- UnboundLocalError: local variable 'partner' referenced before assignment + [trunk] UnboundLocalError: local variable 'partner' referenced before + assignment |
Changed in openobject-server: | |
assignee: | OpenERP's Framework R&D (openerp-dev-framework) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
To post a comment you must log in.
Same bug occurs with 7.0 branch