Saturday, April 13, 2024
10 changes · saas-17.2
Miscellaneous changes
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#161548
Original PR description
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#161548
- Transfer move line with amount_currency $0, balance 1000đ - Wizard transfer not generate counterpart lines Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#160946 Forward-Port-Of: odoo/odoo#157011
Original PR description
- Transfer move line with amount_currency $0, balance 1000đ - Wizard transfer not generate counterpart lines Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#160946 Forward-Port-Of: odoo/odoo#157011
Steps: - Create a Customer Invoice CI - Register a full payment P - Create a Bank Transaction BT - Reconcile BT with P - Go to the payment's move and click on "Reverse Entry" button -> First issue: Two buttons ("Reverse" and "Reverse and create invoice") It should be only one ("Reverse") - Click on "Reverse" button -> The invoice is still marked as "paid", it should be "not paid" The reason is that `is_cancel_needed` variable is not well computed in `reverse_moves()` as since 4d3ac4cbd87fa3
Original PR description
Steps:
- Create a Customer Invoice CI
- Register a full payment P
- Create a Bank Transaction BT
- Reconcile BT with P
- Go to the payment's move and click on "Reverse Entry" button
-> First issue: Two buttons ("Reverse" and "Reverse and create invoice")
It should be only one ("Reverse")
- Click on "Reverse" button
-> The invoice is still marked as "paid", it should be "not paid"
The reason is that `is_cancel_needed` variable is not well computed
in `reverse_moves()` as since 4d3ac4cbd87fa3db2bf7ac21d729a91eaf52a9be,
there is no `refund_method` on the reversal wizard, which was used
instead of `is_modify` parameter, which is not enough in our case.
opw-3772117
Forward-Port-Of: odoo/odoo#161534
Forward-Port-Of: odoo/odoo#159740**Steps to reproduce:** - Enable debug mode. - Select a document (say a pdf file). - Replace it with a non-pdf file (say png). **Issue:** Currently, the file extension is not updated on replacing a document according to the newly uploaded document. **Cause:** The compute method of file extension fetched and set its value only if it was not set already. As a result, the extension was never updated as the field already had a set value (of the older file). **Fix:** This PR alters th
Original PR description
**Steps to reproduce:** - Enable debug mode. - Select a document (say a pdf file). - Replace it with a non-pdf file (say png). **Issue:** Currently, the file extension is not updated on replacing a document according to the newly uploaded document. **Cause:** The compute method of file extension fetched and set its value only if it was not set already. As a result, the extension was never updated as the field already had a set value (of the older file). **Fix:** This PR alters the code of `_compute_file_extension` to ensure that the extension is recomputed and set every time the name of a document file changes. Task: [3801686](https://www.odoo.com/web#id=3801686&menu_id=4722&cids=2&action=333&active_id=10888&model=project.task&view_type=form) Forward-Port-Of: odoo/enterprise#58656
Steps to reproduce ================== - Go to consolidation - Open a record from the dashboard - Go to "trial balance grid" by clicking on the edit button - Clicks on any consolidation account => It gives the traceback Cause of the issue ================== The value of the "range" variable is undefined, thus giving the traceback while trying to access the "name". Forward-Port-Of: odoo/enterprise#60442
Original PR description
Steps to reproduce ================== - Go to consolidation - Open a record from the dashboard - Go to "trial balance grid" by clicking on the edit button - Clicks on any consolidation account => It gives the traceback Cause of the issue ================== The value of the "range" variable is undefined, thus giving the traceback while trying to access the "name". Forward-Port-Of: odoo/enterprise#60442
### Steps to reproduce * install `l10n_lu` * open the Tax Report * create a tax closing and attempt to post it You will be met with a traceback: `Trying to dispatch an action on a report not compatible with the provided options` ### Cause The bug occurs when attempting to post a tax closing for a tax report that includes sections. This issue originates from the behavior of the `get_options()` method, which, when invoked on a report containing sections, retrieves the `report_id` o
Original PR description
### Steps to reproduce * install `l10n_lu` * open the Tax Report * create a tax closing and attempt to post it You will be met with a traceback: `Trying to dispatch an action on a report not…
### Steps to reproduce * install `l10n_lu` * open the Tax Report * create a tax closing and attempt to post it You will be met with a traceback: `Trying to dispatch an action on a report not compatible with the provided options` ### Cause The bug occurs when attempting to post a tax closing for a tax report that includes sections. This issue originates from the behavior of the `get_options()` method, which, when invoked on a report containing sections, retrieves the `report_id` of a section instead of the main report's ID. This discrepancy occurs because of a feature in the code known as 'rerouting', which intentionally changes the `report_id` to that of the section. Consequently, when an action is dispatched to the main report using these options, an error is triggered due to the mismatch between the expected report ID and the one provided through the options. ### Fix To resolve this issue, the fix involves utilizing the `on_sections_source` parameter when dispatching the action for tax closing. By setting this parameter to true for composite reports, it effectively disables the rerouting behavior, ensuring that the action is directed to the correct report ID, thus avoiding the error. opw-3816175 opw-3833979 Forward-Port-Of: odoo/enterprise#59472
Added partners tax id to DateV export. When exporting the DateV zip file from the General Ledger (in Germany namely), the Customers and Vendors CSV files miss the TAX ID of the partners. The auditors demand it to check the validity of the taxes applied to each transaction. VAT number should be added to the csv files (10th column) according to the DATEV documentation: https://developer.datev.de/datev/platform/de/dtvf/formate/debitoren_kreditoren task-3806969 Forward-Port-Of: odoo/enterp
Original PR description
Added partners tax id to DateV export. When exporting the DateV zip file from the General Ledger (in Germany namely), the Customers and Vendors CSV files miss the TAX ID of the partners. The auditors demand it to check the validity of the taxes applied to each transaction. VAT number should be added to the csv files (10th column) according to the DATEV documentation: https://developer.datev.de/datev/platform/de/dtvf/formate/debitoren_kreditoren task-3806969 Forward-Port-Of: odoo/enterprise#59333
When creating a write-off during the reconciliation, the label defined is set on only one line instead of all the line of the write-off journal entry. opw-3773178 closes odoo/enterprise#59142 Signed-off-by: Laurent Smet (las) <las@odoo.com> Forward-Port-Of: odoo/enterprise#60641 Forward-Port-Of: odoo/enterprise#60056
Original PR description
When creating a write-off during the reconciliation, the label defined is set on only one line instead of all the line of the write-off journal entry. opw-3773178 closes odoo/enterprise#59142 Signed-off-by: Laurent Smet (las) <las@odoo.com> Forward-Port-Of: odoo/enterprise#60641 Forward-Port-Of: odoo/enterprise#60056
Current request to mapbox matrix API is failing because the matrix requested have a size of 1. Based on their documentation: "The minimum number of elements per request is two (one source × two destinations, or two sources × one destination); requests with single-element results are not supported." Therefore we add the first coordinate point as destination. First distance received by API will be 1st to 1st point then second one is 1st to 2nd point. opw-3845936 Forward-Port-Of: odoo/en
Original PR description
Current request to mapbox matrix API is failing because the matrix requested have a size of 1. Based on their documentation: "The minimum number of elements per request is two (one source × two destinations, or two sources × one destination); requests with single-element results are not supported." Therefore we add the first coordinate point as destination. First distance received by API will be 1st to 1st point then second one is 1st to 2nd point. opw-3845936 Forward-Port-Of: odoo/enterprise#60598
Link the brand new documentation in the settings. PR note: starting in saas-16.1 we can use `documentation=` instead.  Forward-Port-Of: odoo/enterprise#49678 Forward-Port-Of: odoo/enterprise#48040
Original PR description
Link the brand new documentation in the settings. PR note: starting in saas-16.1 we can use `documentation=` instead.  Forward-Port-Of: odoo/enterprise#49678 Forward-Port-Of: odoo/enterprise#48040