Monday, July 15, 2024
20 changes · master
New functionality added to Odoo
Indian Payroll now includes a Salary Register that lets businesses export employee salary information in one place. The export includes salary rules such as BASIC, HRA, and PF, along with salary structure details, making payroll reporting easier and more complete.
Original PR description
This commit adds the Salary Register in Indian Localization. With this addition, we can export the data of every employee. and that data will include, Salary Rules(BASIC, HRA, PF etc), Salary Structure etc. task-3773199
Enhancements to existing features
Pivot reporting views and related extensions now load only when needed. This should reduce initial loading work across affected apps and make everyday navigation feel faster, while keeping reporting functionality available when users open it.
Original PR description
We make the view pivot and its extensions to be lazy loaded. Task ID: `3546321`
Features or functions removed from Odoo
An obsolete file from Marketing Automation was removed after a previous update changed how users create new items. This cleanup reduces leftover code and helps keep the module easier to maintain, with no expected change for day-to-day users.
Original PR description
Following odoo/enterprise#61777 , the action helper is removed to use instead a dialog template picker when using the 'new' button. However, it looks like one of the file should have been cleaned but was not. This commit removes it. Task-4035826
Code cleanup and technical improvements
The Web Studio report editor has been updated to work with Odoo’s newer HTML editing engine. This should make report editing more maintainable and responsive while fixing minor naming issues that could affect reliability.
Miscellaneous changes
In this commit, we test the feature implemented in this PR: https://github.com/odoo/enterprise/pull/50383 task-3874263 Forward-Port-Of: odoo/enterprise#66367 Forward-Port-Of: odoo/enterprise#61329
Original PR description
In this commit, we test the feature implemented in this PR: https://github.com/odoo/enterprise/pull/50383 task-3874263 Forward-Port-Of: odoo/enterprise#66367 Forward-Port-Of: odoo/enterprise#61329
Payment links generated from subscriptions now give customers clearer context about what they are paying for, instead of showing only a reference and amount. This reduces confusion during payment and can help customers complete subscription payments with more confidence.
Original PR description
If user generated payment link, it was very unclear, client had no idea what is he actually paying for, they only had reference and amount. See also: - https://github.com/odoo/odoo/pull/162177
The salary attachment report has been removed because the same information is now available directly in the salary attachment view. A new pivot view lets payroll users analyze salary attachment data in a more flexible way without relying on a separate report.
Original PR description
The salary attachment report was kind of pointless since we can get the same info in the salary attachment view. Added a pivot view for salary attachment to get a similar report to the one existing previously. Task: 3960990
Employee-related action menus have been simplified by moving or removing less-used options. This makes employee list and form screens easier to read and helps users find key actions in more appropriate places.
Original PR description
This Pr unclog the different hr action menu an move functionnalities in a more appropriate place to be more user firendly task-3927336 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Sign template action previously called Duplicate has been moved to a more appropriate place and renamed Edit. This makes the action clearer for users when they need to modify or reuse signing templates.
Original PR description
In the Sign module, move the 'Duplicate' button to a new location and rename it to 'Edit'. task: 3977796
Payroll users can now delete a batch when it has no payslips or when all linked payslips are still draft or canceled. This reduces cleanup friction while keeping completed or active payroll records protected.
Original PR description
This PR improves the batch deletion process in the hr_payroll module. Users can now delete a batch if all payslips within it are in a canceled or draft state, or if no payslips are linked to the batch. task-3964984
This update improves wording, labels, placeholders, filters, and navigation across appointment scheduling, WhatsApp templates, social posting, and marketing automation. These refinements make common screens clearer and easier to use, while also updating demo social links so examples point to valid official content.
Original PR description
Batch of small improvements like labels, design, ... See commits for more details. task-3515819
This internal cleanup makes messaging-related data use the same names across Python and the web interface. It reduces duplicate technical labels and prepares the system for future improvements in how related records are handled, without changing day-to-day user workflows.
Original PR description
Not having the correct name based on python model name makes it much harder to implement future improvement such as auto-formatting of relations (PR in progress: https://github.com/odoo/enterprise/pull/66544) due to python having no knowledge of JS model definitions. This also allows to remove a lot of unnecessary type and model keys for channel and persona, because they can be deduced from the model name. Part of task-3605717 https://github.com/odoo/odoo/pull/172731
This change simplifies the internal tour testing setup by moving disabled-element checks from each tour step definition into the shared action helpers. It keeps test behavior consistent while reducing maintenance across business apps such as Approvals, Payroll, Planning, Studio, Inventory, Rentals, and Appointments.
Original PR description
To simplify the tours API and the number of keys a tour step can have, it was decided to remove the allowDisabled key. In reality, it was not really removed but moved to the tour helpers side. Indeed, when performing the action, we check at that moment whether the targeted element is enabled or not depending on the action that is performed (click, dblclick, draganddrop,...). If the element isn't enabled, it throws an error. task~3974087 https://github.com/odoo/odoo/pull/171028
This update improves the report editor in Odoo Studio by aligning it with the newer editing framework and correcting minor naming mistakes. It also makes report editing more efficient when handling document content, supporting smoother maintenance and future enhancements.
When opening a message thread on cells, the request fetching the messages is not properly awaited. We didn't find any actual issue with this (in prod or in tests), but this is the kind of things leading to non-deterministic tests. So we prefer to fix it. Forward-Port-Of: odoo/enterprise#66601 Forward-Port-Of: odoo/enterprise#66559
Original PR description
When opening a message thread on cells, the request fetching the messages is not properly awaited. We didn't find any actual issue with this (in prod or in tests), but this is the kind of things leading to non-deterministic tests. So we prefer to fix it. Forward-Port-Of: odoo/enterprise#66601 Forward-Port-Of: odoo/enterprise#66559
In this PR: Steps to reproduce: 1. Create a POS session. 2. Make two orders: one with an invoice and one without. Close the session. 3. Create another session, make an order, and create an invoice for an order from the previous session. Close the session. 4. Create a GST return period and generate the GSTR-1 spreadsheet. Changes made: - Fixed the retrieval of POS line details by move ID. - Added a safe access method using get to prevent key errors during HSN summary generation. Ta
Original PR description
In this PR: Steps to reproduce: 1. Create a POS session. 2. Make two orders: one with an invoice and one without. Close the session. 3. Create another session, make an order, and create an invoice for an order from the previous session. Close the session. 4. Create a GST return period and generate the GSTR-1 spreadsheet. Changes made: - Fixed the retrieval of POS line details by move ID. - Added a safe access method using get to prevent key errors during HSN summary generation. Task ID: 3935317 Forward-Port-Of: odoo/enterprise#66596 Forward-Port-Of: odoo/enterprise#66311
Forward-Port-Of: odoo/enterprise#66635
Original PR description
Forward-Port-Of: odoo/enterprise#66635
**Steps to reproduce the bug:** - Create a storable product P1 with BoM: - Component: Add any component - operation: OP1 - Create a MO with P1: - Confirm it - Start the workorder and mark it as done - Come back to the dashboard > workorders list - Select the finished workorder - Try to start it **Problem:** The work order can be started while it is in the 'done' state. When the function `button_start` is called, we will check if we need to skip the employee ch
Original PR description
**Steps to reproduce the bug:** - Create a storable product P1 with BoM: - Component: Add any component - operation: OP1 - Create a MO with P1: - Confirm it - Start the workorder and mark it as done…
**Steps to reproduce the bug:**
- Create a storable product P1 with BoM:
- Component: Add any component
- operation: OP1
- Create a MO with P1:
- Confirm it
- Start the workorder and mark it as done
- Come back to the dashboard > workorders list
- Select the finished workorder
- Try to start it
**Problem:**
The work order can be started while it is in the 'done' state.
When the function `button_start` is called, we will check if we need to
skip the employee check or not. However, since the current user is also
an employee, we will use them:
https://github.com/odoo/enterprise/blob/c4604d8b398713898b014e6073219d6202c154c3/mrp_workorder/models/mrp_workorder.py#L258-L259
The function start_employee will then be called:
https://github.com/odoo/enterprise/blob/c4604d8b398713898b014e6073219d6202c154c3/mrp_workorder/models/mrp_workorder.py#L284-L286
The state of the work order will then be updated:
https://github.com/odoo/enterprise/blob/c4604d8b398713898b014e6073219d6202c154c3/mrp_workorder/models/mrp_workorder.py#L740"
opw-4024904
Forward-Port-Of: odoo/enterprise#66358task-4004305 Forward-Port-Of: odoo/enterprise#65167
Original PR description
task-4004305 Forward-Port-Of: odoo/enterprise#65167
Updated description when connecting new IoT Box to db, added help buttons redirecting to Odoo documentation. Task: 4021957 Forward-Port-Of: odoo/enterprise#66298
Original PR description
Updated description when connecting new IoT Box to db, added help buttons redirecting to Odoo documentation. Task: 4021957 Forward-Port-Of: odoo/enterprise#66298