-
- Downloads
[FIX] l10n_pe: street_name and street had wrong edit/read only class
Before, if you would put Peru Street 23, it would put Peru in House number. This is because the editable field was the street field, so behind the scenes, Odoo will split it and according to the standard format without country, this means Peru will go into House. We tried first with a change inversing it, but as we are doing the change, the best thing is to remove the split all together. We added also onchange logic that if you put a district it would automatically put the right city. City or city_id should depend on the country and is correctly inherited by a fields_view_get. Task 2724531 closes odoo/odoo#84710 X-original-commit: d4ad1abb Signed-off-by:William André (wan) <wan@odoo.com>
Loading
Please register or sign in to comment