Daily updates from Odoo
Thursday, August 22, 2024
4 changes
Enhancements to existing features
The barcode testing tools were modernized to make automated checks clearer and easier to maintain. Test failures now stop immediately, reducing noisy follow-up errors and helping teams identify issues faster.
Original PR description
- switch to individual exports, named functions, and namespaced import - make `fail` fail immediately, otherwise the tour continues running until the python kills everything, which generates a bunch of additional and unhelpful errors[^1] - fix up a few jsdocs [^1]: https://runbot.odoo.com/runbot/build/67090511
URLs used in WhatsApp-related flows and supporting website/studio test scenarios were updated to a cleaner, more human-readable format. This improves clarity for users and aligns automated checks with the newer link style without changing core business behavior.
Original PR description
*= test_web_studio, test_website_sale_full, whatsapp This commit modifies existing URLs to the new format so that the URL's become more human readable. Task-3820230
This update prepares manufacturing planning to distinguish products that share the same variant but have different non-variant options, such as pizza toppings or supplements. It supports more accurate stock, purchase, and manufacturing flows, though the user-facing display of these options will be handled separately.
Original PR description
As for now, it was not possible to differentiate products variants with different attributes that did not create a variant. Let's take a pizza as an example. The product template is a pizza, with an…
As for now, it was not possible to differentiate products variants with different attributes that did not create a variant. Let's take a pizza as an example. The product template is a pizza, with an attribute "type" with "margherita, veggie, bbq" which create variants. We also have another attribute "supplements" with values "extra cheese" and "extra peperoni" that do not create variants. As for now, it was not possible to differentiate stock moves with the same pizza variant but with different values for the 'no_variants' attributes (i.e. no difference between two pizza of same type with different supplements). The same applies to purchases, but also to manufacturing orders. The community pr addresses the technical part and thus the never attribute values are not displayed on the different views, and this pr only updates some function signatures. Another commit/PR will take care of making it accessible for the user task-id: 4017183 community: https://github.com/odoo/odoo/pull/171727
When a field service project is moved to another company, its worksheet template now updates automatically to the appropriate template for that company. This helps keep project paperwork aligned with the correct company settings and reduces manual adjustments.
Original PR description
- Update worksheet template based on company change on project form: if moving to Company another company, switch to the template with the lowest sequence with that company. task-3689394