Tuesday, October 31, 2023
17 changes · 17.0
New functionality added to Odoo
A new customer statements report has been added to help businesses send monthly account summaries to their customers. This PDF export shows customer account activity and outstanding balances, making it easier for customers to track what they owe. The feature is now available across all countries, building on functionality that was previously standard only in Australian and New Zealand accounting packages.
Original PR description
Add a new pdf export related to the partner ledger, the customer statements report. It is a standard feature in AU and NZ accounting package but can benefit other countries. It is basically an export of the partner ledger, with slightly different information shown. It is typically sent to the customers one at the end of each month to help them keep track of their account and of how much they owe the business. Task id # 3503791
Enhancements to existing features
This update enhances the subscription management dashboards with two new analytics tools: MRR Evolution and Retention dashboards. It also improves the existing Subscriptions and Salesperson dashboards, providing better visibility into subscription metrics, revenue trends, and sales performance.
Resolved issues and error corrections
Spreadsheet dashboard data is now validated as part of normal saving and loading rules, instead of only during post-install tests. This helps catch invalid uploaded spreadsheet files and missing module dependencies earlier, reducing the risk of broken dashboards reaching users.
Original PR description
Currently, spreadsheet json files are checked in a post-install test. It as several drawbacks: - it's not validating the data when a user upload a new version from the UI, just like when a user edits a view and the arch isn't valid. - more importantly, it doesn't properly check the module dependencies since the test runs after all modules are installed. We already made the mistake in the past to have a dashboard module with wrong dependencies. Task: 3577092 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix changes the stock transfer form so that generating serial numbers uses the reliable existing action instead of a faulty menu widget. This prevents duplicate transfer lines from being created when serial numbers already exist, reducing confusion and manual cleanup for inventory users.
Original PR description
Before this commit, In Transfer form, when you click the burger icon on a stock move and click Generate Serials, it will always generate new lines. Even if lines already exist, which is the case for Serial tracked products. This is a problem with the widget. The `action_assign_serial` button works well from the tree view and was added in the form instead of the widget. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix ensures that when users edit a field in a draggable dialog and then click the dialog header, the field properly loses focus and applies its changes. It helps prevent lost input or incorrectly refreshed dialog content in cases such as domain selector debug fields.
Original PR description
If one edits an input value in a dialog and click on the dialog header, the blur event is prevented because the dialog is draggable and the pointer down native behaviour is prevented by the draggable hook builder. This can cause data losses or the dialog content to not be render correctly. For instance, this happens with the debug input of the domain selector dialog. We fix that by triggering the blur event programatically.
Website editors can now find language switcher options directly alongside the main navigation settings instead of having to click the language selector first. The update also removes a redundant footer language selector toggle and fixes a small footer title alignment issue, making multilingual website setup clearer and easier to manage.
Original PR description
This enhances the presentation of language switcher options. Previously,
these options were exclusively accessible upon clicking the language
selector within the navigation bar, resulting in a less user-friendly
experience. With this update, the language switcher options are now
incorporated alongside the navigation bar options, ensuring improved
accessibility.
Furthermore, this update eliminates the redundant feature of toggling
the footer language selector, previously positioned just below the
copyright switch.
Lastly, this update addresses a minor issue related to the alignment
of the selector title within the footer. This issue comes from
[this commit]
[this commit]: https://github.com/odoo/odoo/commit/838564e0acf2f1c2e1727473c8804c010aebae2d
task-3576937Products are now selected from stock according to the intended expiry-date and closest-location rules. This helps warehouses ship the right items first, reducing picking mistakes and avoiding errors when new stock records are created.
Original PR description
Fixes on removal strategies : - Pick the right quant on 'Closest location' strategy - Avoid a traceback when trying to create a new quant on products using the 'Closest location' strategy - Pick the right quant in 'First Expiry First Out' stragegy --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents errors when labels are automatically printed after stock or manufacturing operations. It also ensures users are sent back to the right barcode screen and that shop floor workflows receive the information they need to continue smoothly.
Original PR description
Fixes 3 things related to auto-printing: - lot/product label printing due to refactor changing the label wizard's variable values - correctly redirect to barcode view after auto-printing (i.e. missed applied a refactor of `on_close` => `onClose`) - ensure that the multi-print action always has a context due to it being needed sometimes (i.e. for setting Shop Floor/MES context) --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects how error messages are displayed in the Mexican EDI module after a recent change broke the formatting. The system now properly handles error messages in two different formats—one for system errors and one for user-facing notifications—ensuring users see clear, properly formatted error information when issues occur.
Original PR description
With https://github.com/odoo/odoo/pull/139311, we broke the formatting of errors. We need to handle two formats: - one for the raised Error, likely formatted with \n - one for the chatter, likely formatted with html
This update fixes responsive layout issues in the appointment booking details section. The changes ensure the details column uses available space properly, adds appropriate spacing above titles, and removes unwanted white space in portal layouts. These improvements enhance the visual presentation and user experience when viewing appointment details on different screen sizes.
Original PR description
This commit fixes these issues on `o_appointment_details_column` in responsive: - It was not taking all the available space it could take - There was a lack of spacing above the title - In portal layout (no website installed), the margin at the bottom of the column was creating an undesired white space task-3573765 Fixes issues introduced in this PR: https://github.com/odoo/enterprise/pull/41534
This update fixes multiple user experience issues in the HR Contract Salary module, making the salary offer and simulation features more intuitive and reliable. The improvements enhance how employees and HR teams interact with salary offers and payroll-related workflows.
Original PR description
task-3561708
This fix resolves an issue where product prices were not updating correctly when changing products in draft subscriptions. When users switched a recurring product to a different product with a different price, the new price wasn't being applied. This update ensures prices are properly recalculated whenever a product is changed in a subscription line.
Original PR description
Before this commit, when a draft subscription is created, the price unit does not update in the following flow: 1) create a draft subscription 2) add a recurring product 3) update that line's product to another (non recurring) with another list price. The price is not updated. taskid: 3551308 Forward-Port-Of: odoo/enterprise#48873
The barcode scanning application now applies a responsible filter to manufacturing orders, ensuring that users only see orders assigned to them or unassigned orders. This improves workflow efficiency by reducing clutter and helping warehouse staff focus on their assigned work.
Original PR description
In barcode app, we need to apply a responsible filter for manufacturing orders. Only MO that are assigned to the user or unassigned should be displayed. task-3547356
This fix resolves a technical error that occurred when customers attempted to close a survey in the subscription portal. The issue was caused by a missing template file. With this fix, customers can now successfully complete the survey closing process without encountering errors.
Original PR description
…mplate
This update fixes the bank account synchronization feature to provide real-time dashboard updates using automatic notifications instead of requiring manual page refreshes. When your bank transactions are being fetched, you'll now see the status change automatically as soon as the process completes, whether it succeeds or encounters an error.
Original PR description
The aim of this commit is fixing the asynchronous flow to get what we want since the beginning. A first version(https://github.com/odoo-dev/enterprise/commit/ed7d7486f30e076e6040a2d528a2c4926225bfa9)…
The aim of this commit is fixing the asynchronous flow to get what we want since the beginning. A first version(https://github.com/odoo-dev/enterprise/commit/ed7d7486f30e076e6040a2d528a2c4926225bfa9) of the flow only adds the call to the cron to make the transactions fetch asynchronous. This first version doesn't update the status on the user dashboard. It means that the spin turns until the user refresh his/her dashboard. Now the dashboard is automatically updated by websocket once we receive a response from Odoo Fin (if we receive an error or if we fetch or not some transactions). We're using the field connection_state_details on account.online.link (added by this commit: https://github.com/odoo-dev/enterprise/commit/4e88e4ff87338b36baf317194c1a52ba57da35cd) to save the last connection state (how many transactions we fetched or the error). The field is on the wrong model. We probably have to improve that in master. This commit also adds a new cron for connection with a fetching_status set to "waiting". This cron should only be used to fetch transactions asynchronously. When a user receives a new connection state, it's saved on the connection, once the user opens the bank statement lines view, this state is "consumed", meaning that we remove this state from the connection. This commit also changes how the function "_fetch_transactions" works. Now, we're trying to refresh all accounts, if we have at least one account ready to synchronize, we call the cron to fetch transactions asynchronously. task-3568712
The search view interface in Odoo Studio has been updated to match the latest design standards. This fix ensures that users working in Studio see a consistent and modern search experience that aligns with the rest of the application.
Original PR description
Before this commit, the search view in studio was still the old one After this commit, the search view in studio is like the new one
Swiss HR users without payroll permissions can now access employee records properly. The fix restricts a sensitive employee children field to only payroll officers, preventing access errors for HR staff who lack payroll rights.
Original PR description
Before this commit, a user for a swiss company having hr rights but no payroll rights wouldn't be able to access employees because of the `l10n_ch_children` o2m field on `l10n.ch.hr.employee.children` which is supposed to be only accessed by payroll officers. This commit adds a group to the field so that only the users with the correct access rights can see it.