Merge lp://staging/~savoirfairelinux-openerp/ocb-addons/crossovered_unicode_1292245 into lp://staging/ocb-addons

Status: Merged
Approved by: Holger Brunn (Therp)
Approved revision: no longer in the source branch.
Merged at revision: 10059
Proposed branch: lp://staging/~savoirfairelinux-openerp/ocb-addons/crossovered_unicode_1292245
Merge into: lp://staging/ocb-addons
Diff against target: 20 lines (+2/-1)
1 file modified
account_budget/account_budget.py (+2/-1)
To merge this branch: bzr merge lp://staging/~savoirfairelinux-openerp/ocb-addons/crossovered_unicode_1292245
Reviewer Review Type Date Requested Status
Raphaël Valyi - http://www.akretion.com Approve
Holger Brunn (Therp) code review Approve
Pedro Manuel Baeza code review Approve
Review via email: mp+210926@code.staging.launchpad.net

Description of the change

This fixes bug lp:1292245

Makes sure that the budget name is a unicode to avoid UnicodeEncodeError which happens when budget name contains UFT-8 characters.

To post a comment you must log in.
Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

Thanks!

review: Approve (code review)
Revision history for this message
Holger Brunn (Therp) (hbrunn) :
review: Approve (code review)
Revision history for this message
Sandy Carter (http://www.savoirfairelinux.com) (sandy-carter) wrote :

I've been told it's better to use tools.ustr()

Revision history for this message
Raphaël Valyi - http://www.akretion.com (rvalyi) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.