Merge lp:~openerp-dev/openobject-addons/trunk-bug-943980-amp into lp:openobject-addons

Proposed by Amit Parik
Status: Merged
Merged at revision: 7609
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-943980-amp
Merge into: lp:openobject-addons
Diff against target: 12 lines (+1/-1)
1 file modified
account/account.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-943980-amp
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+99667@code.launchpad.net

Description of the change

Journal view is m20 field in account.journal object with widget="selection".
So need to translate this selection fields value.

That's I added a translate=True on this char field, which is solved the problem.

Thanks!

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account.py'
2--- account/account.py 2012-03-22 14:36:54 +0000
3+++ account/account.py 2012-03-28 05:57:19 +0000
4@@ -678,7 +678,7 @@
5 _name = "account.journal.view"
6 _description = "Journal View"
7 _columns = {
8- 'name': fields.char('Journal View', size=64, required=True),
9+ 'name': fields.char('Journal View', size=64, required=True, translate=True),
10 'columns_id': fields.one2many('account.journal.column', 'view_id', 'Columns')
11 }
12 _order = "name"

Subscribers

People subscribed via source and target branches

to all changes: