Daily updates from Odoo
Tuesday, July 9, 2024
15 changes
11 changes
Enhancements to existing features
The Web Enterprise module’s automated checks were migrated to a newer testing framework. This helps keep quality assurance reliable and easier to maintain without changing how users experience the product.
Original PR description
In this PR: * [IMP] web_enterprise: convert action_manager_mobile tests to HOOT * [IMP] web_enterprise: convert home_menu tests to HOOT * [IMP] web_enterprise: convert list tests to HOOT * [IMP] web_enterprise: convert expiration_panel tests to HOOT task-3705027 task-4028335
Specialized views such as cohort, grid, and map are now loaded only when needed, including in Studio. This reduces the initial loading work for users and should make opening the backend feel faster while keeping those views available when required.
Original PR description
We make studio to load the bundle "web.assets_backend_lazy" defined in https://github.com/odoo/odoo/pull/171073. Thanks to that changes we are able to make the views cohort, grid, map and their extensions to be lazy loaded. Task ID: `3546321`
WhatsApp conversations now continue in the existing channel when the same customer replies to templates sent by the same user, even if those templates are linked to different records. This avoids duplicate conversations and keeps customer communication easier to follow.
Original PR description
\* test_whatsapp **PURPOSE:** Currently if a channel is active on WhatsApp and the same user send a template using another model than on further conversation a new channel created. For the same user it does not make any use case. **SPECIFICATION:** If user sends a template and Customer / subscriber replies to that a channel is created and conversation is active. After that a new template is send by the current user, post this if the customer replies it should not create a new channel and the conversation should continue in the same channel. **task**-[3644180](https://www.odoo.com/web#id=3644180&menu_id=4720&cids=2&action=333&active_id=965&model=project.task&view_type=form)
Bank reconciliation now uses a saved action setup instead of temporary page state. This prevents reconciliation screens from losing context when users refresh the page or open links in a new tab.
Original PR description
Created an XML record for the bank reconciliation action. The created record was used in '_action_open_bank_reconciliation_widget' instead of a dictionary action. Before this commit, the action state, which was not entirely encoded in the new URL, would be erased on refresh or on opening the reconciliation link in a new tab. Currently, the action state is stored in an XML record to avoid this problem. task-4010694
The update aligns Enterprise screens with related community improvements and refreshes print-related controls in Gantt and Documents. Business users should see a more consistent interface when preparing or printing planning and document views.
Original PR description
community: - https://github.com/odoo/odoo/pull/167747 task-3617770
The payroll rule setup text was improved to better explain how to enter the output of a salary rule calculation. This helps payroll administrators configure custom rules more accurately and reduces confusion during setup.
Original PR description
In the default value of the amount_python_compute in the model hr.salary.rule, we have a placeholder giving the available variables and also showing where to put the output. It was missing more information to make it really accurate. Task: 4038128
List views in Studio, Helpdesk, and Appraisal were adjusted to work with updated column width behavior. This reduces unwanted horizontal scrolling and makes important list information display more consistently.
Users can now open individual payments from a batch payment directly in the main window instead of a limited pop-up. This makes important payment status information visible and improves navigation while keeping the payment list itself read-only to avoid accidental edits.
Original PR description
When inside a batch payment form view there is a O2M field `payment_ids` which when clicked is opening the payment form view inside a dialog. The issue with that is that since [1], stat buttons were…
When inside a batch payment form view there is a O2M field `payment_ids` which when clicked is opening the payment form view inside a dialog. The issue with that is that since [1], stat buttons were excluded from dialogs because in some flows, it was creating issues in the user flow, particularly in cases involving intermediary records that were not yet saved yet. But in the batch payments form view, when clicking on a payment, it's important to see those stats buttons, otherwise it leads to bad UX and make people waste time. This commit is making it so there is a "View" button appearing on the payment lines which will open the form view in the current window, adding itself to the breadcrumb. It's possible since commit [2] but sadly for it to work the list need to be editable, which this commit is thus changing too. The fields could receive a `readonly` attribute is judged necessary. [1]: https://github.com/odoo/odoo/commit/473e629a099bfd4b5334951a54df48e37c8612c7 [2]: https://github.com/odoo/odoo/commit/258e6a019a21042bf4f6cf70fcce386d37afd50c task-3973116
The Rooms app now guides new users more clearly when no rooms have been created yet. It shows a helpful prompt with a direct button to create the first room, making initial setup faster and less confusing.
Original PR description
Purpose ======= Streamline the setup process for new users of the Rooms app. Specification ============= When there are no rooms, the action helper is visible with a button to create a new room. Task-3927822
The Chile and Mexico e-invoicing flows in online sales were adjusted to stay compatible with recent platform changes. This helps ensure customers can continue completing website purchases that require local electronic invoicing without disruption.
Original PR description
task-3682746 See also: - https://github.com/odoo/odoo/pull/149020
This update modernizes several enterprise web and mobile interface tests using Odoo's newer HOOT testing framework. It helps ensure key areas like mobile navigation, pivot views, and the home menu continue to work reliably as the product evolves.
Original PR description
In this PR: * [IMP] web_enterprise: add test assets bundle for HOOT * [IMP] web_enterprise: add HOOT clickbot test * [IMP] web_enterprise: convert pivot_view tests to HOOT * [IMP] web_enterprise: convert webclient_mobile tests to HOOT * [IMP] web_enterprise: convert burger_menu tests to HOOT task-3705027 task-4028335
4 changes
Enhancements to existing features
Belgium's tax authorities now require pro rata deduction to be included in VAT exports. This update adds the mandatory pro rata field to the VAT export wizard for businesses that qualify. A new module has been created to support this additional functionality in the export process.
Original PR description
Belgium now asks the pro rata deduction for the VAT export. Mandatory if the business is concerned. Added new module to be able to add fields to the wizard. task-3916995 Forward-Port-Of: odoo/enterprise#66171 Forward-Port-Of: odoo/enterprise#65442
The IoT module now loads the websocket connection information during the initial page load instead of making a separate request each time a view opens. This improves performance by reducing unnecessary network calls and provides a faster, smoother user experience when working with IoT devices.
Original PR description
`IoTWebsocketService` was making an RPC call every time the view loaded. Now, we load it in the session_info to provide it to the view while rendering html. Task: 4037030
This update removes unnecessary action buttons that opened journal items from the GST Return Period report sections. By eliminating these extra actions, the GST return reporting process is now more focused and efficient, reducing clutter and helping users concentrate on the essential information they need.
Original PR description
With this PR, the actions to open all journal items have been removed from all GSTR sections of the GST return Period. This change helps streamline the GST Return by eliminating unnecessary actions, ensuring a more focused and efficient reporting process. **task**-3908555
This update improves how GST tax reports handle point of sale transactions in India by automatically setting the Place of Supply information on general journals when it's missing. The changes also fix issues with missing point of sale details in GST return reports, ensuring more accurate tax compliance reporting for Indian businesses.
Original PR description
In this PR: - Set Place of Supply on 'general' journals with POS sessions if a country is India and Place of Supply are not set. - Adjusted state ID computation for account moves with POS sessions. - Fixed handling of missing POS line details in GST return period report. Task ID: 3935317