Benoit Guillot - http://www.akretion.com has proposed merging 
lp:~akretion-team/openerp-product-attributes/7.0-base_custom_attributes-translated-name
 into lp:openerp-product-attributes.

Requested reviews:
  Product Core Editors (product-core-editors)

For more details, see:
https://code.launchpad.net/~akretion-team/openerp-product-attributes/7.0-base_custom_attributes-translated-name/+merge/191407

This proposal adds the option translate on the fields name on models 
attribute_set and attribute_group
-- 
https://code.launchpad.net/~akretion-team/openerp-product-attributes/7.0-base_custom_attributes-translated-name/+merge/191407
Your team OpenERP Community is subscribed to branch 
lp:openerp-product-attributes.
=== modified file 'base_custom_attributes/custom_attributes.py'
--- base_custom_attributes/custom_attributes.py	2013-10-09 14:34:58 +0000
+++ base_custom_attributes/custom_attributes.py	2013-10-16 13:30:14 +0000
@@ -268,7 +268,7 @@
     _order="sequence"
 
     _columns = {
-        'name': fields.char('Name', size=128, required=True),
+        'name': fields.char('Name', size=128, required=True, translate=True),
         'sequence': fields.integer('Sequence'),
         'attribute_set_id': fields.many2one('attribute.set', 'Attribute Set'),
         'attribute_ids': fields.one2many('attribute.location', 'attribute_group_id', 'Attributes'),
@@ -299,7 +299,7 @@
     _name = "attribute.set"
     _description = "Attribute Set"
     _columns = {
-        'name': fields.char('Name', size=128, required=True),
+        'name': fields.char('Name', size=128, required=True, translate=True),
         'attribute_group_ids': fields.one2many('attribute.group', 'attribute_set_id', 'Attribute Groups'),
         'model_id': fields.many2one('ir.model', 'Model', required=True),
         }

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to