Daily updates from Odoo
Monday, September 9, 2024
13 changes
1 change
Enhancements to existing features
This update moves Odoo's web test pages to the newer testing system and keeps legacy test pages available separately. It also fixes several testing-tool behaviors around clicks, touch events, screen sizing, and sidebar layout, helping teams validate web changes more reliably.
Original PR description
New PR: https://github.com/odoo/odoo/pull/179660
10 changes
Enhancements to existing features
The contract form now always shows the salary attachment button, even when no attachments exist yet. Users can also create new salary attachments directly from the contract, making payroll setup and maintenance faster and more convenient.
Original PR description
This PR improves the contract form view by making the salary attachment button visible even when there are zero attachments. Additionally, it allows users to directly create new attachments from the contract form view. task-4096116
WhatsApp-related timezone handling now relies on standard fields instead of custom logic. This makes event registration messaging easier to maintain while keeping the expected timezone behavior intact.
Original PR description
Timezone fields can be inferred easily from a fixed list of fields. We add a related field on event registrations so it fits the heuristic, and remove the override to the method that previously defined the path to the timezone field. task-4095356
Approval request buttons now use adjusted colors to make the workflow easier to understand. This helps users quickly identify the right action and reduces confusion when processing approvals.
Original PR description
Buttons color have been adjusted to enhance the flow's understandability. task-3987625
This change adds support for the newer Font Awesome 6 icon set while keeping the existing Font Awesome 4 icons available. It helps preserve compatibility for current screens and customizations while enabling newer icon choices in the web interface.
Original PR description
https://github.com/odoo/odoo/pull/179626
Engineering changes can now be applied without automatically increasing the product or Bill of Materials version number. This gives teams more control over when version numbers change while keeping the existing automatic update behavior as the default.
Original PR description
Sometimes users don't want an ECO to affect the version number of a product/BoM when it is applied, so we add in the option to avoid it. By default we leave `will_update_version=True` so that the current behavior is still the default behavior. This involved manually updating code in several places to ensure this behavior occurs for many different flows including: - create BoM ECO from MO, - applying rebase/conflict resolve due to orig BoM change or new BoM created by another ECO - ECO for a product Note that: - the new BoM version will auto-update when the option is activated/deactivated so that the number matches the final applied version number and is easier for the user to keep track of it. - The Update BoM (for an out of date BoM) logic has been updated to consider newer BoMs with the same version number (i.e. we still expect the previous BoMs to still be archived like the previous flow) Task: 3962137
Colombian companies can now automatically retrieve daily currency exchange rates from Banco de la Republica. This reduces manual updates and aligns exchange rates with the source commonly used by local customers.
Original PR description
The Colombian localization does not have a provider for automatic currency rates yet. This commit implements the API of the Banco de la Republica (because most of the Colombian clients already use this rate) to get the daily rate. task: 4043989
This update renames a field used in India GSTR point-of-sale reporting to align with related reporting changes. It helps keep report terminology consistent and reduces confusion for users reviewing GST return data.
Original PR description
Related: https://github.com/odoo/odoo/pull/179265
The Documents app now avoids an extra server lookup when showing certain error dialogs. This reduces the risk of server overload when many errors happen at once and helps prevent repeated error loops.
Original PR description
This commit removes the orm call which provides the id of the support folder to the error dialog and replaces it by a simple isAdmin check. The reason for this change is that in case of multiple tracebacks triggered at the same time, it could overload the server with orm calls which could also trigger more tracebacks in an infinite cycle.
When the salesperson on a subscription is changed, the linked customer record is now updated to match. This keeps customer ownership aligned during subscription changes and when confirming subscription quotations, reducing manual follow-up and reporting mismatches.
Original PR description
Before this commit, when salesperson on subscription is changed we do not change salesperson for customer related to that subscription. After this commit, update salesperson on customer if salesperson on subscription is get changed. update salesperson on customer while confirming subscription quotation. task-3891309
The login page now only shows the user switch option when there is more than one available user. This keeps the sign-in experience simpler for single-user cases while still supporting quick switching when multiple users are available.
Original PR description
If there is only one user in user switch, don't display it and propose the login form. If there is more than one user, display the user switch. task-4160923
2 changes
Enhancements to existing features
This update prevents the system from sending assignment notification emails when recurring subscription invoices are created. Previously, the system could send thousands of unnecessary emails depending on database size. The change maintains proper communication consistency by keeping the same salesperson assigned to invoices as they are on the original subscription order.
Original PR description
Before this commit, assignment emails are sent when an account.move is created with a different user_id than the current one. For subscriptions it can send thousands of email depending on the database size. The user_id on the account.move is the same salesperson than the one in charge of the sale.order. It helps the consistency of communication between the customer and the company. taskid: 4096474
This update improves how bills are matched in the GSTR 2B tax return process by allowing a small Rs. 1 tolerance for amount differences and better handling of bill reference numbers with special characters. This reduces unnecessary bill creation from minor discrepancies like paisa differences, making the tax filing process more accurate and efficient.
Original PR description
Description: - This PR introduces an Rs. 1 tolerance for amount matching to prevent unnecessary bill creation for minor discrepancies (e.g., paisa differences). It also improves bill reference number matching by handling special characters and comparing numerically as text. Impact: - Reduces unnecessary bill creation. - Enhances accuracy in matching bill reference numbers. Task ID: 3975209