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
=== modified file 'account/account.py'
--- account/account.py 2012-03-22 14:36:54 +0000
+++ account/account.py 2012-03-28 05:57:19 +0000
@@ -678,7 +678,7 @@
678 _name = "account.journal.view"678 _name = "account.journal.view"
679 _description = "Journal View"679 _description = "Journal View"
680 _columns = {680 _columns = {
681 'name': fields.char('Journal View', size=64, required=True),681 'name': fields.char('Journal View', size=64, required=True, translate=True),
682 'columns_id': fields.one2many('account.journal.column', 'view_id', 'Columns')682 'columns_id': fields.one2many('account.journal.column', 'view_id', 'Columns')
683 }683 }
684 _order = "name"684 _order = "name"

Subscribers

People subscribed via source and target branches

to all changes: