Friday, May 15, 2020
10 changes · master
Enhancements to existing features
The IoT Box can now recognize and support new connected devices through configurable interfaces instead of requiring direct changes to core device-detection files. This makes upgrades easier for partners and improves support for specialized devices such as barcode scanners by letting more specific drivers take priority.
Original PR description
### Support devices on new interfaces without having to modify `driver.py` Until now, to detect new types of devices on the IoT Box, we had to modify driver.py. If partners wanted to connect a new…
### Support devices on new interfaces without having to modify `driver.py` Until now, to detect new types of devices on the IoT Box, we had to modify driver.py. If partners wanted to connect a new type of device, they had to modify directly the files on the Box, meaning that after each new build they had to re-apply all their modifications. We remove the loops that detected the connected devices and replace them by `Interfaces`. All interfaces will be loaded from the connected Odoo instance with the corresponding drivers. ### Support new devices by extending existing ones Previously, we tested the `supported` methods of all drivers sequentially in alphabetical order of file names. If you wanted to extend a driver, the `supported` method of your driver could never be tested if the one of its parent was tested first. We've now added a priority order to drivers so that by default the extending driver will always be tested before the extended driver. You can still do something similar to what `is_tested_last` did by manually setting the priority of a driver to 0. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Analytic default settings are now included directly in Accounting, HR expenses, and Purchase instead of requiring separate add-on modules. This reduces setup steps after enabling analytics and makes related workflows available without extra manual installation.
Original PR description
Merge account_analytic_default into account Merge account_analytic_default_hr_expense into hr Merge account_analytic_default_purchase into purchase Prevent having to manually install default modules after activating analytics Task: 2182900
This update makes Odoo forums easier to browse, manage, and participate in by improving forum lists, post labels, voting, sharing, and backend administration screens. It also improves gamification rank visibility and profile ranking pages so users and administrators can better understand participation and progress.
Original PR description
Improve ranking display Improve backend view Fix share popup displayed on invalid post Fix ranking search Fix Upvote allow when already downvote Allow to edit FAQ (karma out of accordion) Add list view mode on forum index Add last_post / Number of post on forum index ... task-2201708
The color picker used in website and editor screens has been streamlined into a smaller, more consistent palette. Users get clearer color previews, simpler reset behavior, and more consistent interactions when editing text, backgrounds, and snippets.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payment journal entries now receive a fallback label when no payment communication is provided. This improves report readability and avoids issues when users manually review or edit journal entries that require a label.
Original PR description
The label of the journal items generated for a payment is the communication. However, this field is not required leading to journal items with an empty label. This doesn't lead to a good usability when opening the reports or when trying to edit manually the journal entry because the label is required on the form view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Generated master passwords in the web database manager now use lowercase characters instead of all caps. This makes the passwords easier to read and enter while keeping the database setup flow unchanged.
Original PR description
No more shouting master passwords Following feedback from @antonylesuisse
The IoT Box can now detect devices through flexible interfaces loaded from Odoo, reducing the need for manual changes on each box. This makes it easier for partners to support new or customized devices and helps preserve those integrations across future updates.
Original PR description
### Support devices on new interfaces without having to modify `driver.py` Until now, to detect new types of devices on the IoT Box, we had to modify driver.py. If partners wanted to connect a new…
### Support devices on new interfaces without having to modify `driver.py` Until now, to detect new types of devices on the IoT Box, we had to modify driver.py. If partners wanted to connect a new type of device, they had to modify directly the files on the Box, meaning that after each new build they had to re-apply all their modifications. We remove the loops that detected the connected devices and replace them by `Interfaces`. All interfaces will be loaded from the connected Odoo instance with the corresponding drivers. ### Support new devices by extending existing ones Previously, we tested the `supported` methods of all drivers sequentially in alphabetical order of file names. If you wanted to extend a driver, the `supported` method of your driver could never be tested if the one of its parent was tested first. We've now added a priority order to drivers so that by default the extending driver will always be tested before the extended driver. You can still do something similar to what `is_tested_last` did by manually setting the priority of a driver to 0.
Approval-related icons now use a softer grey color instead of black. This creates a more consistent, less visually heavy look across approval and purchase approval screens without changing functionality.
Original PR description
Change the default icons color to #8f8f8f instead of black. TaskID: 2254763
The reporting editor in Web Studio was updated to stay compatible with a shared color selection component. This is an internal adjustment that helps keep customization tools working consistently without changing the user workflow.
Original PR description
Adapt imports after moving colorpicker dialog logic to a widget task-2195313
Customers using SEPA direct debit now see clearer wording when their payment is pending. The email button changes from “Sign & pay” to “View quote,” and the portal message explains that the request has been received and is being processed, reducing confusion and unnecessary follow-up.
Original PR description
PURPOSE
When you buy something on e-commerce with a differed payment (SEPA or wire transfer), you receive an email saying that payment is pending and you can reach your quote by clicking on a link.
But:
> On the email template, label of this button is "sign & pay" (which is unlogical because it's already paid)
> On the portal, "yellow sign" says "your payment request has been received. Waiting for bank approval" isn't clear enough
SPECIFICATION
Modify
> "Sign & pay" >> "View quote" ( https://cutt.ly/MtiENzQ )
> "Your payment ... " >> Your payment request has been received & we are processing it. You don't have to do nothing more. ( https://cutt.ly/ztiRqxP )
LINKS
PR: #9820
TaskID: 2210990