summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-10-01 15:26:07 +0200
committerRaphael Collet <rco@openerp.com>2015-10-01 15:26:07 +0200
commitcca7a7a0518fd25bd6214ae8ae3c4b9a8167a8bc (patch)
treeb81c312c1dac5ee6c5ad5361b456386cfcd69c1b /doc/reference
parent3f31c378fa989db6eb0e4bdf5ba680150355b1c0 (diff)
[FIX] ir_model_fields: fix and simplify update on custom fields
Avoid "patching" the registry, as this introduces inconsistencies (some field attributes are lost). Instead, proceed as follows: - update the definition of custom fields in database; - clear the corresponding cache on the registry (this was missing); - setup the models in registry (this reloads the custom models and fields); - update the database schema of the models based on the registry. This makes the update of custom fields simpler and more robust.
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions