Daily updates from Odoo
Thursday, July 11, 2024
16 changes
15 changes
Enhancements to existing features
The enterprise web client test suite has been moved to a newer testing approach. This improves maintainability and helps ensure future web interface changes can be validated more reliably without changing user-facing behavior.
Original PR description
task-4028356
Field service tasks marked as under warranty will no longer connect employee timesheets to sales order lines. Tasks that only have timesheets and no billable products will also no longer generate sales orders, reducing unnecessary billing paperwork and helping keep customer charges accurate.
Original PR description
If FSM task is under warranty do not link their timesheets to sale order lines. Additionally, if there are timesheets but no products for a task, do not generate a sale order for that task. task-3933298
Users can now create a customer invoice or vendor bill directly from the bank reconciliation screen when a bank transaction relates to an unregistered business document. The new document is pre-filled with relevant details such as amount, date, and partner, reducing manual navigation and making reconciliation faster.
Original PR description
As of now, it is not possible to create a commercial move directly from the bank reconciliation widget. This commit aims to facilitate the workflow to create invoices or bills and reconcile them with…
As of now, it is not possible to create a commercial move directly from the bank reconciliation widget. This commit aims to facilitate the workflow to create invoices or bills and reconcile them with existing bank statement lines. Before this commit, if the user has a bank statement line for a unregistered commercial event, they have to: 1. Make a note of the amount, date and potentially a label 2. Navigate to Customers/Vendors > Invoices/Credit Notes/Bills/Refunds > New 3. Go back to the reconciliation widget (no breadcrumbs available) After this commit, the user will be able to create a move through a button in the bank reconciliation widget. The move is pre-filled with relevant information, such as amount, date and partner (if available). The user can return to the bank reconciliation widget through the breadcrumbs, and proceed to validate the created and added move. This commit: - Modifies behaviour of function actionSelectRecoModel to support the creation of moves. - Modifies function _js_action_select_reconcile_model to continue supporting journal entries as previously, but also the creation of moves. - Adds the function _action_redirect_to_move_button to create the relevant move and action leading to the move. - Modifies _js_action_restore_st_line_data to add the created move to the reconciliation widget. - Adds flag 'move_aml' to bank reconciliation widget line model. task-3768742
This change adjusts the expected processing behavior for deleting accounting entries after related sales expense updates. It supports upcoming internal changes that may require a small number of extra database operations without affecting user workflows.
Original PR description
In the refactoring of sale_expense, we would end up with two more queries in the account.move.unlink() method, as we potentially editing sale_expense_lines quantities and clearing expenses linked task-3458826
Pricelist behavior is simplified so discounts are shown only when a pricing rule is based on a percentage discount. Website sales now display discounted values automatically, while related website pricelist settings are moved into the website sales area for a clearer setup.
Original PR description
- no more discount policy -> only show discount if compute price of rule is percentage - show discounted value automatically on website - no more "multiple prices per product" advanced settings turned on by default - move pricelist settings related to website to website_sale and delete configuration tab task-3061255
New Appraisal installations without demo data now offer guided scenarios so users can quickly understand how to create and manage appraisals. The update also improves employee deletion handling by removing related appraisals and goals where appropriate while preserving history when the employee manages goals.
Original PR description
* = hr_appraisal, hr_appraisal_survey, hr_appraisal_skills When you go on odoo.com/trial you don't have demo data. With this commit, when you install the Appraisal app without demo data, you can select a scenario to easily understand how to create an appraisal. task: 3772927
Sales and purchase orders now share common order and order line behavior, reducing duplicate maintenance and making future improvements more consistent. Purchase orders can also optionally support down payments through a new setting, while several internal field names were standardized.
Original PR description
A lot of behavior is shared between the sale order (line) and purchase order (line). To avoid having to maintain this code in parallel and allow for sharing of the overlapping code, we introduce two new mixins: 1. account.order.mixin, for sale.order and purchase.order 2. account.order.line.mixin, for sale.order.line and purchase.order.line We make use of this opportunity to also rename some of the shared fields to conform to the naming standards. Additionally, this PR adds the option to create down payments for purchase orders by moving the existing functionality from sale orders into the newly created mixins. This new function is disabled by default for purchase, but can be turned on with a new checkbox in the settings. task-3600910 Community PR: https://github.com/odoo/odoo/pull/144608 Upgrade PR: https://github.com/odoo/upgrade/pull/5627
This update modernizes the website Twitter wall code by removing its reliance on an older JavaScript library. It also fixes an error that could occur when loading the Twitter wall, improving reliability for website visitors.
Original PR description
This PR aim to convert all jQuery code into Vanilla JS in website_twitter_wall, this way we will reduce the dependency of jQuery in Odoo codebase. task-3930744
The website event Twitter wall has been updated to use modern browser technology instead of an older shared library. This helps simplify maintenance and supports Odoo's broader effort to streamline its website codebase, with no expected change for end users.
Original PR description
This PR aim to convert all jQuery code into Vanilla JS in website_event_twitter_wall, this way we will reduce the dependency of jQuery in Odoo codebase. task-3770362
Adds support for Kenya's 2% withholding VAT process so businesses can track VAT withheld on vendor bills. The new reporting helps identify amounts due for payment and improves VAT tax report calculations, reducing compliance risk.
Original PR description
In Kenya, some customers are assigned to withhold the VAT on vendor bills. To avoid penalties the WH Report is created, this report provides a clear view on the total VAT withheld in a period and when it should be paid. The withheld VAT information is also used to complete the calculation of the VAT due in the Tax report. task: 3703440
A new GST setting lets businesses decide whether E-invoiced lines are included when submitting GSTR-1. This gives finance teams more control over GST reporting and reduces unwanted automatic submissions.
Original PR description
Before this pr: ---------- - Lines with E-invoices are automatically included in GSTR-1, requiring no manual intervention. - No setting is available to control E-invoiced lines' inclusion in the GSTR-1 submission process. After this pr: ---------- - A setting was added in the GST module to determine if lines with E-invoices should be pushed to GSTR-1. - This setting acts as a boolean to control the inclusion of E-invoiced lines in the GSTR-1 submission process. Task Id: 3932520
The POS employee login screen has been redesigned to make signing in clearer and easier for staff. Employees can now also log in using a PIN code, helping speed up access on mobile point-of-sale devices.
Original PR description
- Design a new login screen. - Add the ability to log in with a PIN code. Task id : 3927537 Linked to: https://github.com/odoo/odoo/pull/165956
Adds support for managing purchase reimbursements in Ecuadorian vendor bills and purchase liquidations, including dedicated reimbursement lines. This improves compliance by including reimbursements in electronic documents, withholding flows, and ATS reporting.
Original PR description
Implement purchase reimbursements functionality for Ecuador. - New tab in vendor bill and purchase liquidation to add reimbursement lines. - EDI Purchase Liquidation with reimbursements - EDI Withholding of a purchase reimbursements - ATS Reimbursement section opw-3860622 
This update lets Brazilian companies using AvaTax select CNAE activity codes and more precise operation types for sales and invoices. This helps classify transactions more accurately for government tax reporting and supports companies with multiple business activities.
Original PR description
See individual commits for more details. task-3803424 task-3987919 PR notes - ~~this includes #64714, it should be merged first.~~ - this includes #65145, it should be closed if we merge this.
Report notes are now tied to the report period, so users see only the comments relevant to the dates they are reviewing. Users can add and manage multiple annotations directly on report lines, and exports now preserve those annotations more clearly.
Original PR description
*: account_reports, l10n_lu_reports Description of the issue/feature this commit addresses: The current behavior of footnotes makes it impossible to have multiple footnotes by company by line. Also,…
*: account_reports, l10n_lu_reports Description of the issue/feature this commit addresses: The current behavior of footnotes makes it impossible to have multiple footnotes by company by line. Also, when annoting a line in a report for a certain period, and changing the period of the data shown by the reports, the annotation stays. This leads to footnotes being irrelevant or give false pieces of information. This commit transforms footnotes into annotations which are much more flexible and are a more powerful tool for the users. --- Desired behavior after the commit is merged : This commit brings a rework to the annotations' system by moving adding and changing some features they bring. 1 - The annotation now disposes of a "date" field which is set to the value of the "date_to" period of the data currently shown on the report. This value is then used during the computation of which annotations have to be shown and which have not to be shown so that only annotations for the current period appear. 2 - When clicking on the "Annotate" button on a line that already has an annotation, previous behavior was the opening of a dialog with the content of the current annotation which gave the possibility to edit it. Now, if a line has already one visible annotation, that button is not shown anymore. The line name has a little comment bubble next to it which opens the "annotation popover". Inside the popover, the user can read mulitple pieces of information regarding each annotation of the line which are : its text content, its author, the date it has been written at and the date it targets. The user can also edit and delete each of these annotation or add more via a "New" button. 3 - The footnote section at the bottom of a report with at least one footnote has been removed as the content of the annotation is now available directly on the annotated line and it made no sense to leave it. 4 - In the xlsx export, an additional column has been added to keep the annotations during the export. There is one column by line regardless to the number of annotations the line has and in a case in which a line would have multiple annotations, each of them would be numbered and split by a return character. 5 - In the PDF export, the rendering is now able to show multiple annotations on a single line. 6 - Journal Report and Followup Report used to have a footnote rendering process for the pdf export but since those Reports don't offer the possibility to annotate lines, thoses process have been removed. Adding this improvement, annotations are much more flexible and can bring real value to reports. --- task-3301125
1 change
Enhancements to existing features
The IoT Box connection process now includes clearer instructions and helpful links to Odoo documentation. This makes it easier for users to successfully connect a new IoT Box to their database without confusion.
Original PR description
Updated description when connecting new IoT Box to db, added help buttons redirecting to Odoo documentation. Task: 4021957