Daily updates from Odoo
Wednesday, February 5, 2020
3 changes
Enhancements to existing features
This change makes an internal email-related test more reliable by clearing pending bus messages before checking results. It helps avoid false test failures caused by leftover test data, supporting smoother development and release validation.
Original PR description
The bus was expected empty at the start of the test, but it might not always be the case, so a reset has been added before the assertion. This is similar to what was already done to most of the other `assertBus`. Part of task-2178641
The sales product configurator has been aligned with list-based product selection behavior. This means future customizations or changes to list product fields will also apply consistently to the configurator, reducing inconsistencies for users working in sales order lines.
Original PR description
The product configurator widget is only actually used in lists, does it make sense to let it extend from bare `FieldMany2One`? **Description of the issue/feature this PR addresses** Product configurator widget does not inherit specific behaviors from the widget `ListFieldMany2One`, so changes to `ListFieldMany2One` widget do not affect product configurator, see for instance https://github.com/OCA/web/pull/1438#issuecomment-555636435. **Current behavior before PR** Overriding `ListFieldMany2One` widget does not affect product configurator widget. **Desired behavior after PR is merged** Overriding `ListFieldMany2One` widget does affect product configurator widget. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes an outdated view override that was keeping older, harder-to-maintain button behavior in field service sales reports. Users benefit from more consistent report actions across field service screens, while the change reduces maintenance risk.
Original PR description
On #6918 we removed the horrible attrs on the different buttons on fsm views. However it seems to have missed a bunch o' the bits e.g. the unreadable attr domain on action_send_report is replaced by a much simpler one in industry_fsm_report but then industry_fsm_sale_report still overwrites everything with the same old garbage. See: https://github.com/odoo/enterprise/blob/f8fb18ec3dc7dd8d5fffa22cd9cd6e2be74e5391/industry_fsm_sale_report/views/project_views.xml