Daily updates from Odoo
Wednesday, January 9, 2019
6 changes · master
Enhancements to existing features
The model field selector now shows a search box by default, making it easier for users to quickly find the fields they need. This also improves the domain field widget, reducing time spent scrolling through long field lists.
Original PR description
The option `showSearchInput`, which is used on the model field selector to display a search input that filters the displayed fields, is not set by default. This includes the model field selector instantiated in the `domain` field widget.
This update makes the gamification goal view clearer by correcting an oversized layout element that pushed content out of place. It also adds clearer internal labels to key parts of the view, making future customizations easier and less fragile.
Original PR description
Description of the issue/feature this PR addresses: Improve extendability of the view and improve the layout Current behavior before PR: The layout has an element with a colspan of `4` which pushes the whole group out of its size:  Desired behavior after PR is merged: The view is rendered more clear and while I was already in the view I added name elements around the most important attributes for easier and cleaner `xpath` expressions. New view:  -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes an internal configuration lookup stop as soon as it finds the single expected match. Because these configuration keys are already unique, the change keeps behavior the same while making the lookup slightly more efficient.
Original PR description
Description of the issue/feature this PR addresses: Improvement in `base` module `key` is already `unique` so it makes sense to use limit 1 in search Current behavior before PR: Desired behavior after PR is merged: Ps: Will it be acceptable in v12 ? -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Adds an automated test to confirm that only approved timesheets are invoiced when sales orders include multiple service products. This helps reduce the risk of incorrect invoicing for service work tied to project tasks.
Original PR description
task : https://www.odoo.com/web?debug#id=1885464&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
Resolved issues and error corrections
This fixes an issue where pressing Backspace in an empty search bar could trigger an error. Users can now clear or edit searches without being interrupted by a crash.
Original PR description
https://drive.google.com/file/d/1ahIw5m9WbEJkIqCMH_23mOe8c9rNc19P/view?usp=drivesdk This PR is related to Task ID: 1917541 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
This update removes an outdated configuration option in Web Studio because search fields are now shown by default. The change keeps the code simpler without changing how business users interact with Studio.
Original PR description
This option is now set to true as default (see PR odoo/odoo#29986).