summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorJuan Jose Scarafia <jjs@adhoc.com.ar>2019-10-02 10:21:10 +0000
committerfw-bot <otis@odoo.com>2019-10-17 16:24:04 +0000
commitc96aad0cb171c50173e841f1e29fe439a523d646 (patch)
tree71f417b2d3b5dbac17786f2c49266f49a3a4e678 /addons/web/static/tests/fields/basic_fields_tests.js
parent3233c46d4bd86873ae56cf1f301c1a869d11d077 (diff)
[FIX] l10n_latam_invoice_document: document_type default value
The detected errors is about a normal field (l10n_latam_document_type_id) which is written by a computed method (_compute_l10n_latam_documents) making that the normal field value be overwritten the value given by the user everytime the compute field is re computed with the default value given by the compute. We remove this write n the compute method and now we use and onchange instead. IMPORTANT: the l10n_latam_available_document_type_ids computed field is changed from a m2m to a o2m to be able to use it on the new onchange closes odoo/odoo#38973 X-original-commit: 96c70bb1eb34198b03eb21f00b57f819367677c4 Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions