Daily updates from Odoo
Friday, July 28, 2023
3 changes
Resolved issues and error corrections
This fixes how the Data Merge app chooses the main contact record when duplicate contacts are combined. It helps keep the right customer or partner information as the primary record, reducing cleanup mistakes after merges.
This update prevents an error when viewing online bank account selection options before balance data has finished loading. Balances are now loaded at the right time and checked before display, improving reliability for users managing online bank synchronization.
Original PR description
Since [8723f020](https://github.com/odoo/odoo/commit/8723f020), a new way to define items in `radio_field.js` is used. The problem is that `items` are now defined asynchronous and it causes that our widget tries to load `balances` data using these `items` when we still don't have. It causes a traceback. This fix load the balances data when the component is mounted and there is 2 helpers functions that verifies if we have the data or not before displaying it. A test has been added to avoid this problem next time.
This update corrects several issues in the document PDF split tools so page selection, rule actions, renaming, and multi-row page display work as expected. Users get a smoother and more predictable experience when splitting documents and applying actions that create or link related records.
Original PR description
This commit fixes some bad behaviours introduced by the refactoring taskId:3179166. The behaviours to correct were the following: - The visual hover effect on the bottom of each page is deleted,…
This commit fixes some bad behaviours introduced by the refactoring taskId:3179166. The behaviours to correct were the following:
- The visual hover effect on the bottom of each page is deleted,
keeping only the pointer change.
- Selection and Activation are no longer different. This commit
mixes the 2 behaviours.
- The rules actions are corrected to be the same as in 16.0. The
expected behaviour is the following :
- When a rule is applied on some pages (not all) and that this
action leads to another model (i.e. project.task for the action
'Create Task'), then the pages are transformed into a document
and linked to the corresponding model AND the user stays into
the split tools.
- When the rule is applied on all the pages and that this
action leads to another model then the pages are transformed
into a document and linked to the corresponding model AND split
tools is closed and the model record view is loaded.
- When a rule is applied on some pages (not all) and that the
action does not link to another model, the page is transformed
into a document AND the user stays into the split tools.
- When a rule is applied on all the pages and that the action
does not link to another model, the page is transformed
into a document AND split tools is closed.
- The keyboard shortcuts are deactivated when renaming a group name
- The display of the pages is corrected so the pages are always
aligned vertically on many rows.
taskid:3438720