summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views
diff options
context:
space:
mode:
authorKatherine Zaoral <kz@adhoc.com.ar>2021-03-03 18:50:55 +0000
committerKatherine Zaoral <kz@adhoc.com.ar>2021-03-10 17:09:36 +0000
commit58adac24fe9c4900ddabed5b4eec5eaeed60970f (patch)
tree02dfce5ac6928325d0f6207549ad5a69d882b430 /addons/web/static/src/js/views
parentf61877763c601ee80107d92a414dd9ca13132f0e (diff)
[FIX] l10n_latam_base: identification type default
Identification type was always been overwrite by the _onchange_country even when just opening the contact form, this was always setting the is_vat identification type as default without taking into account if the user has defined their own default.: * If Identification type is set and it is compatible with the country then we leave it as it is (this is the case the identification type has been set by a default). * If Identification type is set but is not compatible with the country then compute and set the Identification type that is is_vat True for the country Where country is the one set in the partner record, if not set will use the country of the move's company, if not defined then will use the country of the environment company closes odoo/odoo#67619 X-original-commit: 8e9b1c404a71c0a7dce37c7f5f6ecef1396e0a1a Signed-off-by: Josse Colpaert <jco@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views')
0 files changed, 0 insertions, 0 deletions