summaryrefslogtreecommitdiff
path: root/addons/document/i18n/document.pot
diff options
context:
space:
mode:
authorElkasitu <adt@odoo.com>2017-07-25 10:28:18 +0200
committerElkasitu <adt@odoo.com>2017-07-25 12:04:19 +0200
commita4e30a1b43d0b9acd76508d9e6c466cd1dbdffab (patch)
tree720cfabfcabfe4df23f6790531f88a5a782655fc /addons/document/i18n/document.pot
parenta41db9a2cf410bb233b021651a5633180eaddf18 (diff)
[FIX] web: prevent crash in FieldReference
Trying to display external identifiers would make the server crash because the method in charge of requesting the external id information would expect an object but it was being given a string and thus not computing the m2o_value for the record. This commit fixes this by changing FieldMany2One objects' m2o_value instatiation to use its _formatValue method to compute it, _formatValue is then overridden in FieldReference so that it properly handles both strings and objects to calculate its m2o_value and relation.
Diffstat (limited to 'addons/document/i18n/document.pot')
0 files changed, 0 insertions, 0 deletions