Daily updates from Odoo
Thursday, March 19, 2020
2 changes · master
Enhancements to existing features
Odoo Studio now lets users add an avatar-style image to eligible form views, similar to contact or product pages. Users can choose an existing image field or create a new one, making forms more visual and easier to identify at a glance.
Original PR description
**PURPOSE** - Allow the user to add an 'avatar' picture at the top right of the sheet, like in the contact or product formviews. **SPECIFICATION** - add a grey hook 'Add picture' where the image would show same design that for the pipeline statusbar hook - when clicking the hook, the user is prompted to select the image field to display similar to adding a priority field on the kanban view. - the field is added right before the title <div>, with widget="image" and class="oe_avatar" Task: 2172320 Closes: https://github.com/odoo/enterprise/pull/8176
Odoo Studio now automatically selects the current document field when users add fields to reports or set visibility rules. This reduces confusing choices for most users while still allowing advanced users to choose a different source when needed.
Original PR description
task - https://www.odoo.com/web#id=2058702&action=327&model=project.task&view_type=form&menu_id=4720 pad - https://pad.odoo.com/p/r.50444f91ae4d457c61a3465732f117ab When adding a field in report or defining the visibility, 95% of the time, user will be using field on the model (itself). For better usability, to pre-select "doc" in the field selector, making it easy for most users while still allowing advanced users to go back and pick another item than 'doc'. By this commit, this goal has been achieved.