Daily updates from Odoo
Navigate
Branch
Tuesday, April 20, 2021
10 changes
Enhancements to existing features
Automatically created time off allocations are now linked to the related employee contract. This makes it easier to find and manage allocations from the contract, and linked allocations are cancelled automatically when a contract is cancelled.
Original PR description
Link automatically created time off allocation to their contracts. Add a link from the contract form view to the time off allocation view. A linked time off allocation will be cancelled if the contract is cancelled. Change was made to reduce steps to remove an allocation in the case of a contract needing to be signed again (new contract). Task ID: 2487397
Code cleanup and technical improvements
This update reorganizes JavaScript code across messaging, live chat, documents, approvals, CRM, and accounting-related areas into a more modern module format. It is mainly an internal technical cleanup that helps developers maintain and evolve these features more reliably, with little expected direct change for end users.
Original PR description
task id: 2487514
Miscellaneous changes
The codes used in the check were not consistent with the other tax report lines ; the also needed to be added in community. Before, the report crashed with a KeyError when trying to do the final step of the check, if amounts['c44'] > 99999. Forward-Port-Of: odoo/enterprise#17828
Original PR description
The codes used in the check were not consistent with the other tax report lines ; the also needed to be added in community. Before, the report crashed with a KeyError when trying to do the final step of the check, if amounts['c44'] > 99999. Forward-Port-Of: odoo/enterprise#17828
When there is more than one sequence purchase.order (eg. in multi company) an error: Invalid prefix or suffix for sequence 'false' Happens. opw-2504500 opw-2500500 opw-2501566 opw-2511356 opw-2510473 opw-2509228 opw-2505816 Forward-Port-Of: odoo/enterprise#17817
Original PR description
When there is more than one sequence purchase.order (eg. in multi company) an error: Invalid prefix or suffix for sequence 'false' Happens. opw-2504500 opw-2500500 opw-2501566 opw-2511356 opw-2510473 opw-2509228 opw-2505816 Forward-Port-Of: odoo/enterprise#17817
When computing acquisition date, we should take into account the prorata date only in case the prorata temporis is actually checked. opw-2427537 Forward-Port-Of: odoo/enterprise#17818 Forward-Port-Of: odoo/enterprise#17811
Original PR description
When computing acquisition date, we should take into account the prorata date only in case the prorata temporis is actually checked. opw-2427537 Forward-Port-Of: odoo/enterprise#17818 Forward-Port-Of: odoo/enterprise#17811
This should normally not be a change for stable but since the social_youtube module is brand new and not used yet, we take this opportunity to change some IAP routes to match the new naming best practices. (All routes should contain a version number). This will avoid having some deprecated routes right at the release of the module. See IAP PR for more information: odoo/iap-apps#284 Task-2209729 Forward-Port-Of: odoo/enterprise#17713
Original PR description
This should normally not be a change for stable but since the social_youtube module is brand new and not used yet, we take this opportunity to change some IAP routes to match the new naming best practices. (All routes should contain a version number). This will avoid having some deprecated routes right at the release of the module. See IAP PR for more information: odoo/iap-apps#284 Task-2209729 Forward-Port-Of: odoo/enterprise#17713
Various test tools have been updated in community. This commit updates enterprise code accordingly. See community PR for more details about reasons and changes. Task ID-2508643 Prepares Task ID-27033 (support QWeb in templates) Prepares Task ID-2377974 (clean trace and status management in mass mailing) Community PR odoo/odoo# Enterprise PR odoo/enterprise# Forward-Port-Of: odoo/enterprise#17809 Forward-Port-Of: odoo/enterprise#17780
Original PR description
Various test tools have been updated in community. This commit updates enterprise code accordingly. See community PR for more details about reasons and changes. Task ID-2508643 Prepares Task ID-27033 (support QWeb in templates) Prepares Task ID-2377974 (clean trace and status management in mass mailing) Community PR odoo/odoo# Enterprise PR odoo/enterprise# Forward-Port-Of: odoo/enterprise#17809 Forward-Port-Of: odoo/enterprise#17780
[IMP] account_reports: display 'all' instead of 'everything' when 'all' foreign vat option is selected For consistency with the dropdown menu. [FIX] account_reports: tax report: don't display fiscal position option on generic report The generic tax report should only use 'all' as fiscal position option, and never allow selecting anything else. It used to allow selecting the fiscal positions of the domestic country, which was wrong. [FIX] account reports: tax report: don't always
Original PR description
[IMP] account_reports: display 'all' instead of 'everything' when 'all' foreign vat option is selected For consistency with the dropdown menu. [FIX] account_reports: tax report: don't display fiscal…
[IMP] account_reports: display 'all' instead of 'everything' when 'all' foreign vat option is selected For consistency with the dropdown menu. [FIX] account_reports: tax report: don't display fiscal position option on generic report The generic tax report should only use 'all' as fiscal position option, and never allow selecting anything else. It used to allow selecting the fiscal positions of the domestic country, which was wrong. [FIX] account reports: tax report: don't always keep 'all' fiscal position filter when coming from the generic report The issue wasn't visible in the interface, but the options ended up being inconsistent doing this. To reproduce: 1) open the localized tax report from your fiscal country >> the fiscal position is 'domestic' 2) switch to the generic layout >> fiscal position option becomes 'all' 3) switch back to the localized report >> 'all' was kept, while 'domestic' should have been set instead Forward-Port-Of: odoo/enterprise#17759
**Description of the issue/feature this PR addresses / Current behavior before PR:** When Master Production Schedule is active, the time range radio button isn't getting updated when a new setting is selected and saved. It was always set to the default value configured in res_config_settings. **Desired behavior after PR is merged:** When Master Production Schedule is active and a new setting is selected and saved, the radio button gets updated and persists. OPW: 2502919 -- I confirm I
Original PR description
**Description of the issue/feature this PR addresses / Current behavior before PR:** When Master Production Schedule is active, the time range radio button isn't getting updated when a new setting is selected and saved. It was always set to the default value configured in res_config_settings. **Desired behavior after PR is merged:** When Master Production Schedule is active and a new setting is selected and saved, the radio button gets updated and persists. OPW: 2502919 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/enterprise#17760
Steps to follow to reproduce the bug: - Create a German company - Go to accounting settings / in “Fiscal Localization” install German-Accounting - Create any journal entries - Go to Reporting / General Ledger > Export DATEV - Open generated CSV Problem : In the "belegdatum" field, the date is not formatted as "DD-MM", like mentioned in the official DATEV documentation (cf: https://apps.datev.de/dnlexka/document/1003221#D162129592909910539). Opw-2492900 Forward-Port-Of: odoo/enterpr
Original PR description
Steps to follow to reproduce the bug: - Create a German company - Go to accounting settings / in “Fiscal Localization” install German-Accounting - Create any journal entries - Go to Reporting / General Ledger > Export DATEV - Open generated CSV Problem : In the "belegdatum" field, the date is not formatted as "DD-MM", like mentioned in the official DATEV documentation (cf: https://apps.datev.de/dnlexka/document/1003221#D162129592909910539). Opw-2492900 Forward-Port-Of: odoo/enterprise#17632