Daily updates from Odoo
Navigate
Branch
Wednesday, August 23, 2023
19 changes
Enhancements to existing features
This update adds a dedicated ESIC salary structure for Indian payroll to better reflect different statutory rules for eligible employees. It moves the Employer State Insurance Corporation rule out of the non-executive employee structure and groups relevant salary components and deductions under the new ESIC structure.
Original PR description
- According to indian salary low esic salary rules different for regular payroll. - We have moved the 'Employer State Insurance Corporation' rule from Non-Executive Employee structure to ESICS structure. Salary Components - Basic Salary Allowance - House Rent Allowance - Standard Deduction - Bonus - Leave Travel Allowance - Supplementary Allowance - Performance Bonus Deduction: -Gratuity -Employer's State Insurance Corporation -PT -PF(both) task-3435069
Stock moves now keep the requested quantity separate from the quantity actually completed, making inventory and manufacturing records easier to interpret. Manufacturing reporting also gains a production yield measure so teams can compare produced quantities against demand.
Original PR description
Currently on stock moves, product_uom_qty indicates the demand qty before the move is done and it indicates the acutual done qty when the move is done. As a result, when validate a stock move with qty_done != product_uom_qty, a new move is always created for the difference. And the product_uom_qty of the original move will be changed to match qty_done. In this commit, we change to that product_uom_qty will always indicate the demand qty, and qty_done will always indicate actually done quantity. To do that, when underconsumption, we won't split the move when no backorder. and when overconsumption, we will always merge the extra move back to the original move. Task-2695732
TaxCloud and AvaTax setup options are now hidden in countries where those services are not supported. This reduces confusion during tax configuration and helps users choose only relevant options for their location.
Original PR description
Hide the option to enable Taxcloud and Avatax outside countries they support. task-3475816
This update removes an unused touch-device styling file and reorganizes shared web styling utilities. The change helps keep the Enterprise web interface codebase simpler and easier to maintain without expected visible impact for users.
Original PR description
task-3439226
The website editor’s top action buttons have been visually adjusted in Enterprise to better match the Milk design style. This gives users a more consistent and polished editing experience when managing website content.
Original PR description
WIP task-3381773
Subscription reporting dashboards were adjusted to remove the Monthly Recurring Revenue KPI and rename remaining KPI labels so they are easier to understand. This helps sales and subscription teams interpret dashboard figures more clearly without changing core subscription workflows.
Original PR description
- Remove the Monthly Recurring Revenue KPI - Rename KPI to be self explicit task-id: 3391916
This update removes obsolete internal file references and an unused test file from the Project Forecast and UK Reports areas. It helps keep the codebase cleaner and easier to maintain, with no expected change to day-to-day user workflows.
Original PR description
…init removing commented python files from init file of project_forecast, l10n_uk_reports modules and remove unused python file from project_forecast module
The appointment pages SEO dialog no longer shows the custom URL option because appointment links cannot be safely changed there. This avoids confusing users and helps prevent unsupported website changes that would not work as expected.
Original PR description
**Purpose:** The user tries to change the URL from the SEO tool of the website but it doesn't handle the URL change for appointments. **Specification:** This commit hides the custom URL option from the SEO optimization dialog. Task-3324989
Resolved issues and error corrections
Fixes an issue that could prevent payroll users from editing payslip line amounts correctly after an underlying system model change. This helps ensure payroll adjustments made from the payslip screen are saved against the right record.
Original PR description
Some parts of the hr_payroll payslip one2many field had not been correctly adapted following the introduction of the new Relational Model [1]. This commit properly adapts the code to retrieve the resId of the wizard. To execute the adapted code: Go to Payroll > Payslips > All Payslips Click on any line Click on the cog > Edit Payslip Lines Change an amount and click out [1] odoo/odoo@8723f020c3587a900c811b8cc23f53fe34b98df3
Code cleanup and technical improvements
This update replaces older internal utilities used to manage delayed actions and repeated requests with newer supported ones. It helps keep the platform easier to maintain while preserving existing behavior across affected apps.
Miscellaneous changes
Go to Accounting > Accounting > Journal Items Export the list view to a spreadsheet (Favorites > insert list in spreadsheet). => the column "Analytic" is filled with errors "Fields of type "json" are not supported" [^1]. With this commit, the column isn't even exported to the spreadsheet. since it can only bring confusion to the user. It's probably not the user's intention to export the json field anyway. Discussed with AL. [^1]: see commit odoo/odoo@9e6d598e6a96434c68634149ecf1acf3
Original PR description
Go to Accounting > Accounting > Journal Items Export the list view to a spreadsheet (Favorites > insert list in spreadsheet). => the column "Analytic" is filled with errors "Fields of type "json" are not supported" [^1]. With this commit, the column isn't even exported to the spreadsheet. since it can only bring confusion to the user. It's probably not the user's intention to export the json field anyway. Discussed with AL. [^1]: see commit odoo/odoo@9e6d598e6a96434c68634149ecf1acf3e714ca03 Forward-Port-Of: odoo/enterprise#46103 Forward-Port-Of: odoo/enterprise#45476
We added the feature receipt of goods and services for vendor bills according to General Resol from SII Nº 19.983. Before these changes, the reception could be made from the SII site, but now we can use a button to create this reception directly from Odoo. Originally was PR #37551 but as it is a new feature, this was moved to 16 Forward-Port-Of: odoo/enterprise#43335 Forward-Port-Of: odoo/enterprise#37891
Original PR description
We added the feature receipt of goods and services for vendor bills according to General Resol from SII Nº 19.983. Before these changes, the reception could be made from the SII site, but now we can use a button to create this reception directly from Odoo. Originally was PR #37551 but as it is a new feature, this was moved to 16 Forward-Port-Of: odoo/enterprise#43335 Forward-Port-Of: odoo/enterprise#37891
Forward-Port-Of: odoo/enterprise#46138
Original PR description
Forward-Port-Of: odoo/enterprise#46138
1) add neutralize and improve VPAID keys generation This commit adds the neutralize file to avoid sending WebPush notification on "Staging" databases. Also, we have modified how the VAPID keys are generated to be sure to always have keys generated if they are deleted by the neutralize script. 2) avoid error when serviceWorker not available Link: https://www.odoo.com/documentation/master/administration/odoo_sh/getting_started/branches.html?#staging Forward-Port-Of: odoo/enterprise
Original PR description
1) add neutralize and improve VPAID keys generation This commit adds the neutralize file to avoid sending WebPush notification on "Staging" databases. Also, we have modified how the VAPID keys are generated to be sure to always have keys generated if they are deleted by the neutralize script. 2) avoid error when serviceWorker not available Link: https://www.odoo.com/documentation/master/administration/odoo_sh/getting_started/branches.html?#staging Forward-Port-Of: odoo/enterprise#44745
Since CFDI 4.0, the field "Fiscal Regime" should be added to the PDF Invoice. https://www.sat.gob.mx/cs/Satellite?blobcol=urldata&blobkey=id&blobtable=MungoBlobs&blobwhere=1461174766901&ssbinary=true This commit move the position of l10n_mx_edi_fiscal_regime under the partner VAT opw-3301699 Forward-Port-Of: odoo/enterprise#46107 Forward-Port-Of: odoo/enterprise#42921
Original PR description
Since CFDI 4.0, the field "Fiscal Regime" should be added to the PDF Invoice. https://www.sat.gob.mx/cs/Satellite?blobcol=urldata&blobkey=id&blobtable=MungoBlobs&blobwhere=1461174766901&ssbinary=true This commit move the position of l10n_mx_edi_fiscal_regime under the partner VAT opw-3301699 Forward-Port-Of: odoo/enterprise#46107 Forward-Port-Of: odoo/enterprise#42921
This commit resolves a bug in the tax report xml wizard, where the wizard would not automatically close after a user pressed the "Export XML" button. Task-id: 3463017 Forward-Port-Of: odoo/enterprise#46064 Forward-Port-Of: odoo/enterprise#45857
Original PR description
This commit resolves a bug in the tax report xml wizard, where the wizard would not automatically close after a user pressed the "Export XML" button. Task-id: 3463017 Forward-Port-Of: odoo/enterprise#46064 Forward-Port-Of: odoo/enterprise#45857
Steps to reproduce: - Go to document app. - Select any existing PDF document. - Use the replace action to change the PDF. - The thumbnail is broken (until changing it again). Solution: Since we really only get the PDFs thumbnails from the js side, specifically from the `documents_pdf_thumbnail_service.js` we won't be able to generate the thumbnail from the `_compute_thumbnail`. This means that the issue is the conflict between the backend generation of the thumbnail and the js, s
Original PR description
Steps to reproduce: - Go to document app. - Select any existing PDF document. - Use the replace action to change the PDF. - The thumbnail is broken (until changing it again). Solution: Since we really only get the PDFs thumbnails from the js side, specifically from the `documents_pdf_thumbnail_service.js` we won't be able to generate the thumbnail from the `_compute_thumbnail`. This means that the issue is the conflict between the backend generation of the thumbnail and the js, so for the PDFs we will only need the js part to generate and set the proper status for the thumbnails. opw-3371883 opw-3371883 Forward-Port-Of: odoo/enterprise#44266
When writing formulas `ODOO.PIVOT` or `ODOO.LIST` that would point towards non-existent datasources, the cell would end up in error. However, trying to autofill such cells would crash as the autofill functions need access to the datasources. This commit fixes this issue by: 1. Such formulas will only be duplicated on autofill 2. the autofill tooltip will explicitely raise the absence of the datasource. Task: 3431973 X-original-commit: 984d738 Forward-Port-Of: odoo/enterprise#46090 Forw
Original PR description
When writing formulas `ODOO.PIVOT` or `ODOO.LIST` that would point towards non-existent datasources, the cell would end up in error. However, trying to autofill such cells would crash as the autofill functions need access to the datasources. This commit fixes this issue by: 1. Such formulas will only be duplicated on autofill 2. the autofill tooltip will explicitely raise the absence of the datasource. Task: 3431973 X-original-commit: 984d738 Forward-Port-Of: odoo/enterprise#46090 Forward-Port-Of: odoo/enterprise#45605
In the new flow, `button_draft` unnlinks the documents that are not sent. linked pr: https://github.com/odoo/odoo/pull/130383 opw-3281007 Forward-Port-Of: odoo/enterprise#45973 Forward-Port-Of: odoo/enterprise#45550
Original PR description
In the new flow, `button_draft` unnlinks the documents that are not sent. linked pr: https://github.com/odoo/odoo/pull/130383 opw-3281007 Forward-Port-Of: odoo/enterprise#45973 Forward-Port-Of: odoo/enterprise#45550