Daily updates from Odoo
Wednesday, August 14, 2024
14 changes · master
Enhancements to existing features
Timesheet access rules have been simplified by using a newer searchable participant field. This keeps the same access behavior while making the underlying security setup easier to maintain.
Original PR description
## Description Following the introduction of the searchable field `message_partner_ids` for the timesheets, we can simplify some `ir.rules`. Semantics are equivalent. ## Reference task-3977971
The inter-company accounting rules now use a standard helper to identify analytic accounts in distributions. This keeps the feature aligned with the accounting framework and reduces maintenance risk without changing day-to-day user workflows.
Original PR description
…lytic A method to obtain the analytic accounts used in an analytic distribution was added. Use this method instead Task-3926461
Tax-included taxes have been deactivated, so related localization settings were cleaned up to avoid assigning obsolete tax references. This helps keep Brazilian AvaTax and Peruvian reporting configurations aligned with current tax behavior and reduces the risk of incorrect setup data.
Original PR description
Due to the deactivation of tax_included taxes, we have to remove these lines from the assignation of the field. Community: odoo/odoo#173906 Upgrade: odoo/upgrade#6354 Task [link](https://www.odoo.com/odoo/project.task/4019610) task-4019610
The Sign app no longer offers the unnecessary “Add on all pages” option when a PDF has only one page. This reduces confusion and streamlines placing initials on simple documents.
Original PR description
Before this commit, when uploading a single-page PDF and dropping the "initial" field, the wizard still offered the "Add on all pages" option, which is not useful for a one-page document. After this commit, the "Add on all pages" button will be disabled if the document has only one page. Also in case if there is only page we directly add field into pdf without hassle to choose signer. task-4069435
This update aligns India GSTR report tests with the new way fiscal years spanning two calendar years are shown in document names. It helps ensure generated report names remain accurate and consistent when the fiscal year crosses year boundaries.
Original PR description
See community counterpart, when the fiscal year is staggered on 2 years, the document name will reflect that. task-3653456
The barcode scanning screen now uses the full available width for the camera view. This makes it easier for users to scan items accurately and quickly during warehouse operations.
Original PR description
For an easier scan reading
When users create a new product from a barcode lookup, the notification now closes as soon as they tap the action button. This frees up screen space on mobile so they can start editing the new product immediately instead of waiting for the message to disappear.
Original PR description
When you want to create a new product from barcode lookup you want to edit it directly. However on mobile the notification take a lot of place on the screen and you have to wait for the timeout before edition
Appraisal, survey, and helpdesk timesheet pages now use clearer, more human-readable web addresses. This makes shared links easier to understand and improves the experience for employees and customers navigating these workflows.
Original PR description
*= helpdesk_sale_timesheet, hr_appraisal_survey This commit modifies existing URLs to the new format so that the URL's become more human readable. Task-3820230
Resolved issues and error corrections
This fix prevents users from changing the refund status of a salary attachment once it has already been used in payslips. This helps protect payroll accuracy by avoiding inconsistent records after payroll processing has begun.
Original PR description
TaskID: 4040011
Scanning a barcode found in the lookup service no longer fails when the product has no image available. The product can still be created or updated from the barcode data, with the missing image simply skipped.
Original PR description
Issue: Traceback is encountered when scanning a barcode that is available in the barcodelookup api but doesn't have image. Example barcode: 9780349410159 - Traceback: `AttributeError: 'dict' obiect has no attribute 'content'` This is because of the inconsistent return value of `barcode_lookup_request`. If it succeeds, it returns a `Response` object but if not, it returns a `dict`. To fix the traceback, we check if the fetching of image failed by checking if the returned value is a `dict`. If so, we just skip the image assignment for the product.
Miscellaneous changes
(✱) is added to recurring line with prorated discount. This discount need to be added in the discount computation as they can be triggered from multiple place. task-ids: 3944656, 3859792 @fdamhaut Forward-Port-Of: odoo/enterprise#63883
Original PR description
(✱) is added to recurring line with prorated discount. This discount need to be added in the discount computation as they can be triggered from multiple place. task-ids: 3944656, 3859792 @fdamhaut Forward-Port-Of: odoo/enterprise#63883
Also delete some obsolete .po files (from modules that had their .pot files removed, but not their .po files) Forward-Port-Of: odoo/enterprise#68042
Original PR description
Also delete some obsolete .po files (from modules that had their .pot files removed, but not their .po files) Forward-Port-Of: odoo/enterprise#68042
* = documents_spreadsheet, website_helpdesk_livechat, whatsapp Enterprise counter-part. After a reset, the last id is always 0. https://github.com/odoo/odoo/pull/176340 Forward-Port-Of: odoo/enterprise#68302
Original PR description
* = documents_spreadsheet, website_helpdesk_livechat, whatsapp Enterprise counter-part. After a reset, the last id is always 0. https://github.com/odoo/odoo/pull/176340 Forward-Port-Of: odoo/enterprise#68302
This module is for a shiprocket-cash-on-delivery option for e-commerce users. - Payment provider for shiprocket cash on delivery - Payment method for shiprocket cash on delivery Co-authored-by: Jitendra Prajapati <jipr@odoo.com> task - 3657635 related community PR: https://github.com/odoo/odoo/pull/154119 Forward-Port-Of: odoo/enterprise#66786 Forward-Port-Of: odoo/enterprise#56663
Original PR description
This module is for a shiprocket-cash-on-delivery option for e-commerce users. - Payment provider for shiprocket cash on delivery - Payment method for shiprocket cash on delivery Co-authored-by: Jitendra Prajapati <jipr@odoo.com> task - 3657635 related community PR: https://github.com/odoo/odoo/pull/154119 Forward-Port-Of: odoo/enterprise#66786 Forward-Port-Of: odoo/enterprise#56663