[6.1][7.0] regression: Printing reports from models with incorrect/missing _rec_name causes a traceback
Bug #1340813 reported by
Holger Brunn (Therp)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Community Backports (Web) |
New
|
Undecided
|
Unassigned |
Bug Description
When printing a report, revisions 4197 (7.0) and 2522 (6.1) try to write up a better filename by calling name_get. This goes wrong if _rec_name points to a non-existing field ('name' by default). This usually would be the case with wizards usually.
Related branches
lp://staging/~therp-nl/ocb-web/6.1_lp1340813
- Yann Papouin: Approve (code review)
- Pedro Manuel Baeza: Approve (code review)
-
Diff: 33 lines (+14/-5)1 file modifiedaddons/web/controllers/main.py (+14/-5)
lp://staging/~therp-nl/ocb-web/7.0_lp1340813
Rejected
for merging
into
lp://staging/ocb-web
- Pedro Manuel Baeza: Approve (code review)
- Yann Papouin: Approve (code review)
-
Diff: 26 lines (+10/-2)1 file modifiedaddons/web/controllers/main.py (+10/-2)
To post a comment you must log in.