odoo/openerp/addons
Raphael Collet 619a844428 [FIX] fields: in to_column(), returning self.column is generally not correct
Consider the following example:

    class Foo(models.Model):
        _name = 'foo'
        _columns = {
            'state': fields.selection([('a', 'A')]),
        }

    class Bar(models.Model):
        _inherit = 'foo'
        state = fields.Selection(selection_add=[('b', 'B')])

The attribute 'column' of the field does not have the full selection list,
therefore the column object cannot not be reused, even a copy of it.  The
solution is to systematically recreate the column from the field's final
specification, except for function fields that have no sensible way for being
recreated.
2014-10-08 16:39:59 +02:00
..
base [FIX] ir_actions: ids of unlink method can either be an ID list or one ID 2014-10-07 16:07:46 +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 [MERGE] forward port of branch saas-5 up to 7eab880 2014-09-15 14:00:02 +02:00
test_documentation_examples [ADD] doc: model inheritance stuff 2014-09-09 09:19:32 +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 [FIX] fields: in to_column(), returning self.column is generally not correct 2014-10-08 16:39:59 +02:00
test_limits move tests 2014-02-09 01:37:45 +01:00
test_new_api Merge branch 'acsone-8.0-onchange-one2many-test': add test for onchange on one2many field 2014-09-16 10:56:43 +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