Amit Parik (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-943980-amp into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #943980 in OpenERP Addons: "Journal views can't be translated"
  https://bugs.launchpad.net/openobject-addons/+bug/943980

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-943980-amp/+merge/99667

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! 
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-943980-amp/+merge/99667
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-943980-amp.
=== 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 @@
     _name = "account.journal.view"
     _description = "Journal View"
     _columns = {
-        'name': fields.char('Journal View', size=64, required=True),
+        'name': fields.char('Journal View', size=64, required=True, translate=True),
         'columns_id': fields.one2many('account.journal.column', 'view_id', 'Columns')
     }
     _order = "name"

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to