Daily updates from Odoo
Friday, July 7, 2023
2 changes · master
Enhancements to existing features
Bank statement handling in the reconciliation widget is easier and clearer. Users can see balances in context, open statements for editing, delete statements from the list, and create statements directly from eligible bank transaction cards.
Original PR description
Improve the management of statements from the bank recon widget: 1. Display the statement balance above the last (most recent) line of the statement 2. Clicking on the statement displays the form view (to edit the balances) 3. A delete button is available on when hovering over the statement line 4. To create statements, the statement button is now visible when hovering over each kanban card that is not in a statement (not the separator between cards) 5. The statement name is computed and prepopulated 6. The matched badge is more discreet 7. CSS cleanup Task-3270046
Odoo Studio users can now control whether buttons are shown or hidden in views, including conditional visibility rules. The update also fixes cases where replacing existing visibility conditions with a simple setting did not fully override the previous rule.
Original PR description
First commit fixes an issue that happened when one wanted to override the attrs of a field (or button) with a static modifier while it had a domain in its attrs originally. This makes sure that the attrs are properly replaced by an empty object if needed to cancel the domain and use the static modifier instead. Second commit allows users to change the (conditional or not) visibility of buttons in any view using studio. task-3072945