Can we avoid hardcoding 16 everywhere and use a common method for determining the required size for any field? Currently we have get_pg_type() but it does not return a separate size value. Perhaps by refactoring it into a lower-level method that returns a pair (pg_type, pg_size) we could reuse it more easily here?
Thanks! -- https://code.launchpad.net/~openerp-dev/openobject-server/6.0-opw-update_selection_field-ach/+merge/52401 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-server/6.0-opw-update_selection_field-ach. _______________________________________________ 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

