Please sign in to comment.
[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 However, onchange gets rid of parent_id because child_ids and parent_id are two faces of the same coin And if that check was not done, we would end up in an infinite recursion After this commit, there is no traceback, as we retrieve the parent with another means Also, in subviews, checking the parent might be overkill, because we literally know there is one But you know, safety first OPW 1886320
- Loading branch information...
Showing with 47 additions and 11 deletions.