diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-09-19 15:44:34 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-11-14 08:33:23 +0000 |
| commit | 526bfca3afc2dc4bcc2565912705be4cf738267d (patch) | |
| tree | cb889a131b846d725cab441a26a311886abf6a18 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 6123cc912cd0878ab83c5ef379ea54b043e62d89 (diff) | |
[FIX] base_address_city: correct view_get with address fields
Have a partner with children exceeding the limit of the kanban.
Edit,
Add a contact > save and quit
Save the partner
Before this commit, there was a traceback, because a check on parent_id was done to compute
the modifier readonly of the city fields in subviews
However, python onchange gets rid of parent_id because child_ids and parent_id are two faces of the same coin
And if that check were not done, we would end up in an infinite recursion
After this commit, there is no traceback, as we stop checking on parent_id in the case of paged subviews
(list and kanban) because we literally know there is one
OPW 1886320
closes odoo/odoo#27114
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
