Amit Dodiya (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-server/6.0-change_the_size_of_selection_field-ado 
into lp:openobject-server/6.0.

Requested reviews:
  Olivier Dony (OpenERP) (odo-openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-change_the_size_of_selection_field-ado/+merge/82493

Hello,

While adding a new custom field type "Selection" the size of "Selection Option" 
is restricted to 128.
So i have increase the size of Selection Option.

Thanks,
Amit

-- 
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-change_the_size_of_selection_field-ado/+merge/82493
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/6.0-change_the_size_of_selection_field-ado.
=== modified file 'bin/addons/base/ir/ir_model.py'
--- bin/addons/base/ir/ir_model.py	2011-09-29 05:09:38 +0000
+++ bin/addons/base/ir/ir_model.py	2011-11-17 05:10:40 +0000
@@ -187,7 +187,7 @@
             help="The model this field belongs to"),
         'field_description': fields.char('Field Label', required=True, size=256),
         'ttype': fields.selection(_get_fields_type, 'Field Type',size=64, required=True),
-        'selection': fields.char('Selection Options',size=128, help="List of options for a selection field, "
+        'selection': fields.char('Selection Options',size=512, help="List of options for a selection field, "
             "specified as a Python expression defining a list of (key, label) pairs. "
             "For example: [('blue','Blue'),('yellow','Yellow')]"),
         'required': fields.boolean('Required'),

_______________________________________________
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