odoo/openerp/addons
Raphael Collet e95fc488db [IMP] fields: add mechanism to extend a selection field
If a selection field is defined by a list as selection, such as:

    state = fields.Selection([('a', 'A'), ('b', 'B')])

one can extend it by inheritance by redefining the field, as:

    state = fields.Selection(selection_add=[('c', 'C')])

The result is that the selection field will have the list
[('a', 'A'), ('b', 'B'), ('c', 'C')] as selection.
2014-08-06 15:20:07 +02:00
..
base [FIX] base: fixes #1167, change password wizard (wrong default value) 2014-08-06 11:24:37 +02:00
test_access_rights [ADD] demonstrate broken handling of rules access denial in new API 2014-07-11 13:54:01 +02:00
test_convert move tests 2014-02-09 01:37:45 +01:00
test_converter [IMP] convert qweb to use lxml instead of minidom 2014-07-02 16:01:36 +02:00
test_exceptions [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_impex [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_inherit [IMP] fields: add mechanism to extend a selection field 2014-08-06 15:20:07 +02:00
test_limits move tests 2014-02-09 01:37:45 +01:00
test_new_api [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
test_uninstall [REM] Unnecessary `size` parameters on char fields 2014-06-25 17:13:43 +02:00
test_workflow [MERGE] new v8 api by rco 2014-07-06 17:05:41 +02:00
__init__.py move tests 2014-02-09 01:37:45 +01:00