← Back to team overview

openerp-community-reviewer team mailing list archive

[Bug 1340813] [NEW] [6.1][7.0] regression: Printing reports from models with incorrect/missing _rec_name causes a traceback

 

Public bug reported:

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.

** Affects: ocb-web
     Importance: Undecided
         Status: New

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

Title:
  [6.1][7.0] regression: Printing reports from models with
  incorrect/missing _rec_name causes a traceback

Status in OpenERP Community Backports (Web):
  New

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.

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


Follow ups

References