[6.1][account] error when printing partner balance or aged partner balance
Bug #1340105 reported by
Holger Brunn (Therp)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Community Backports (Web) |
Invalid
|
Undecided
|
Unassigned | ||
6.1 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When printing one of the two reports, I get 'Uncaught SyntaxError: Unexpected end of input' in the UI and "KeyError: 'name'" in the logfile. Someone does a name_get on the wizard models used here, so the fix is to set _rec_name to something sensible.
I couldn't figure out where the name_get call comes from, but setting _rec_name doesn't hurt anyways.
Related branches
lp://staging/~therp-nl/ocb-addons/6.1_lp1340105
Rejected
for merging
into
lp://staging/ocb-addons/6.1
- Holger Brunn (Therp): Disapprove
- Pedro Manuel Baeza: Approve (code review)
- Stefan Rijnhart (Opener): Approve (code review)
-
Diff: 23 lines (+2/-0)2 files modifiedaccount/wizard/account_report_aged_partner_balance.py (+1/-0)
account/wizard/account_report_partner_balance.py (+1/-0)
no longer affects: | openobject-addons |
To post a comment you must log in.
see https:/ /bugs.launchpad .net/ocb- web/+bug/ 1340813