Daily updates from Odoo
Thursday, October 25, 2018
1 change · master
Enhancements to existing features
Studio now shows and lets users update the technical name of custom fields from the sidebar, automatically updating related views when a field is renamed. This makes field management clearer and safer by warning users when manual renaming may affect custom code, while also improving Studio reliability when editing related records and reloading views.
Original PR description
Add the technical name of the current field on Studio's sidebar. The field is renamed on the model after changing this value. All views of the concerning model are updated with the new name. Rename automatically a field on the first label change in same session. Warn the user on manual renaming, in case of use of the name in code. Massive refactoring: - better initialization of Studio (permits to reload views); - better x2many management (use of a stack of states); - split model and view operations.