[6.1][account] error when printing partner balance or aged partner balance
Bug #1340105 reported by
Holger Brunn (Therp)
on 2014-07-10
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenERP Community Backports (Web) |
Undecided
|
Unassigned | ||
| 6.1 |
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:~therp-nl/ocb-addons/6.1_lp1340105
- Holger Brunn (Therp): Disapprove on 2014-07-11
- Pedro Manuel Baeza: Approve (code review) on 2014-07-10
- Stefan Rijnhart (Opener): Approve (code review) on 2014-07-10
-
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)
Holger Brunn (Therp) (hbrunn)
on 2014-07-11
no longer affects: | openobject-addons |
To post a comment you must log in.
see https:/ /bugs.launchpad .net/ocb- web/+bug/ 1340813