summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_api.rst
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-10-02 11:06:52 +0200
committerMartin Trigaux <mat@odoo.com>2018-10-02 11:51:15 +0200
commitc9837ac5dcb10aaded7d1c9117d6b795da846412 (patch)
treef9e6a129132ce24fac412a3f6473088d0497c8a8 /doc/reference/javascript_api.rst
parent718b0f8b63261e1312b5626d48de050b21a9dccf (diff)
[FIX] base: compare on original module
Introduced at 574f4c3d model._module has for value of the last module extending the model. This means that, when a module B inherit from a model defined in a module A (e.g to add a field on the model), an external id, tagged with module B, will be created for each field of the model, including the one defined only in A. The intention of the patch at 574f4c3d was to include the automatic fields (i.e. LOG_ACCESS_COLUMNS) into the condition. Without that condition, the fields such as create_date were deleted when upgrading a module (not defined in any module)
Diffstat (limited to 'doc/reference/javascript_api.rst')
0 files changed, 0 insertions, 0 deletions