summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-08-05 09:41:49 +0000
committerChristophe Simonis <chs@odoo.com>2019-08-05 11:49:07 +0000
commite8a3f1a04e38ffc8b2a3b362743503840a738ff6 (patch)
tree07e8ee33b3dd8a9868aaa8b5293932af98c168f2 /addons/web
parent886eca0131716e137e60a1e398a9fc3996dfa425 (diff)
[IMP] core: remove support of `oldname` attribute
This attribute is misleading as it is insufficient to correctly upgrade the database. It only renames the column in the database, but other operations are needed, like updating the corresponding `ir.model.fields` record (and its xmlid). The default values and the translations are also lost during the upgrade. Moreover, this feature was misused. It was: - left on fields during multiple versions. - used on reports (SQL views). This would be ok if the feature was complete, but, as is, it was useless. - kept unchanged after a second renaming of the field (which can happen versions later the first rename). - used, even when the meaning of the field changed. i.e. the field `archived` has been renamed to the classic `active`, but the value in the database should be switched. closes odoo/odoo#35439 Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/web')
0 files changed, 0 insertions, 0 deletions