Tuesday, September 27, 2022
19 changes
Enhancements to existing features
The website appointment area now has a tailored kanban view for content managers. This makes appointment types easier to browse and manage when working on website content, improving day-to-day usability without changing core appointment behavior.
Original PR description
**TO BE BACKPORTED IN 16.0** The goal of this commit is to tweak the 'appointment.type' kanban view and use it for website content manager. task-2889981
The Documents shortcut on the employee form is now shown first, making it easier for HR users to access employee documents quickly. This is a small usability improvement that helps streamline navigation in employee records.
Original PR description
task - 2984690
Resolved issues and error corrections
This fix prevents an error when users create an asset from a project’s Assets button. It ensures the asset form receives the right type information, allowing project-related asset creation to work reliably.
Original PR description
1. Go to Projects -> edit 2. Click on the "Assets" smart button 3. Try to create an asset -> Traceback This happens because the `asset_type` depends on the context and it is better to explicitly pass it to the view. task-2927428
Miscellaneous changes
Due to the recent jsonb fields update, the product origin country name as retrieved by the sql intrastat query is in the form of a json string e.g. {'en_US': 'Algeria'} To correct this we use the ->> operator to parse the json in the field and retrieve the correctly translated value for the country name. Forward-Port-Of: odoo/enterprise#31830
Original PR description
Due to the recent jsonb fields update, the product origin country name as retrieved by the sql intrastat query is in the form of a json string e.g. {'en_US': 'Algeria'}
To correct this we use the ->> operator to parse the json in the field and retrieve the correctly translated value for the country name.
Forward-Port-Of: odoo/enterprise#31830Intrastat reports now show the product origin country name correctly instead of displaying raw translation data. This prevents confusing country labels and helps users read reporting information accurately.
Original PR description
Due to the recent jsonb fields update, the product origin country name as retrieved by the sql intrastat query is in the form of a json string e.g. {'en_US': 'Algeria'}
To correct this we use the ->> operator to parse the json in the field and retrieve the correctly translated value for the country name.1. Before the commit, the code was formatting an erroneous query. Indeed, a "case" by itself was in a group by which made a traceback with a syntax error. The reason was that adding a clause in the order by also adds it in the group by, but it is only compatible with a subset of values, which this CASE clause is not part of which made a traceback with a syntax error. 2. In the reconcile_widget.py, in the get_data_for_manuel_reconciliation query. The query needed to be adapted to new json fiel
Original PR description
1. Before the commit, the code was formatting an erroneous query. Indeed, a "case" by itself was in a group by which made a traceback with a syntax error. The reason was that adding a clause in the order by also adds it in the group by, but it is only compatible with a subset of values, which this CASE clause is not part of which made a traceback with a syntax error. 2. In the reconcile_widget.py, in the get_data_for_manuel_reconciliation query. The query needed to be adapted to new json field. (See:https://github.com/odoo/odoo/pull/97692) 3. In the community PR (see:https://github.com/odoo/odoo/pull/100788), i've removed the open_move function and replace the use by action_open_business_doc (previously action_open_business_doc_from_aml but renamed in the same community PR) task-id: 2988037 Forward-Port-Of: odoo/enterprise#31618
The following bugs have been introduced by the recent rework of the followup report: - groupby responsible not working since it's not stored (groupby removed, replaced by a 'assigned to me' filter) - followup status was not always properly computed (and it could lead to an ugly traceback) - printed letter layout a bit off: tables breaking and style not applied correctly Also improved the filters overall, by only including those relevant to followups Forward-Port-Of: odoo/enterprise#31616
Original PR description
The following bugs have been introduced by the recent rework of the followup report: - groupby responsible not working since it's not stored (groupby removed, replaced by a 'assigned to me' filter) - followup status was not always properly computed (and it could lead to an ugly traceback) - printed letter layout a bit off: tables breaking and style not applied correctly Also improved the filters overall, by only including those relevant to followups Forward-Port-Of: odoo/enterprise#31616
Forward-Port-Of: odoo/enterprise#31609
Original PR description
Forward-Port-Of: odoo/enterprise#31609
A few toggles for options in some reports were wrong and thus didn't work anymore. The impacted reports were: intrastat_reports, multicurrency_revaluation_report, and EC sales list. This will add the missing -bs in the xml to fix them. Forward-Port-Of: odoo/enterprise#31827
Original PR description
A few toggles for options in some reports were wrong and thus didn't work anymore. The impacted reports were: intrastat_reports, multicurrency_revaluation_report, and EC sales list. This will add the missing -bs in the xml to fix them. Forward-Port-Of: odoo/enterprise#31827
Community: https://github.com/odoo/odoo/pull/100678 Forward-Port-Of: odoo/enterprise#31844
Original PR description
Community: https://github.com/odoo/odoo/pull/100678 Forward-Port-Of: odoo/enterprise#31844
itsme is required to be used with the registered trademark (itsme®) all times, except when the itsme logo is already there. In this case, we should use plain itsme. This commit fixes this. task-2969605 Forward-Port-Of: odoo/enterprise#31814
Original PR description
itsme is required to be used with the registered trademark (itsme®) all times, except when the itsme logo is already there. In this case, we should use plain itsme. This commit fixes this. task-2969605 Forward-Port-Of: odoo/enterprise#31814
Make it possible to override both before and after execute actions on all view controllers using `useViewButtons`. This avoids having to change a value in the env to override the function being called when clicking on a button. Forward-Port-Of: odoo/enterprise#31715
Original PR description
Make it possible to override both before and after execute actions on all view controllers using `useViewButtons`. This avoids having to change a value in the env to override the function being called when clicking on a button. Forward-Port-Of: odoo/enterprise#31715
…le_subcontracted_product tour The `displayBarcodeLines` take a recordId as argument to check as a line id (stock.move.line or stock.quant) but the `recordId` given was always related main component record (`stock.picking` by example). Then `displayBarcodeLines` compare ids of different model (a RPC call) which doesn't make any sense. => Remove argument in `displayBarcodeLines` and `toggleBarcodeLines` (only use with the wrong model id) and all code related to it. Forward-Port-Of: odo
Original PR description
…le_subcontracted_product tour The `displayBarcodeLines` take a recordId as argument to check as a line id (stock.move.line or stock.quant) but the `recordId` given was always related main component record (`stock.picking` by example). Then `displayBarcodeLines` compare ids of different model (a RPC call) which doesn't make any sense. => Remove argument in `displayBarcodeLines` and `toggleBarcodeLines` (only use with the wrong model id) and all code related to it. Forward-Port-Of: odoo/enterprise#31518
This corrects the forward-port of 6908ac3 This was changed in 14+ with 9ecf88f and was overwritten by mistake Forward-Port-Of: odoo/enterprise#31792
Original PR description
This corrects the forward-port of 6908ac3 This was changed in 14+ with 9ecf88f and was overwritten by mistake Forward-Port-Of: odoo/enterprise#31792
This PR converts the helpdesk team dashboard and kanban view to owl. Task-2924239 Forward-Port-Of: odoo/enterprise#31685
Original PR description
This PR converts the helpdesk team dashboard and kanban view to owl. Task-2924239 Forward-Port-Of: odoo/enterprise#31685
Steps to reproduce: - create two products (A and B) with a barcode; - go in the barcode app; - scan products in non-consecutive order (A-B-A-B); Issue: Multiple lines will be created instead of two lines where all the quantities are merged. Cause: A condition to find the line of an already scanned product was not correct. Solution: Modify the condition. opw-2958923 Forward-Port-Of: odoo/enterprise#31745 Forward-Port-Of: odoo/enterprise#30747
Original PR description
Steps to reproduce:
- create two products (A and B) with a barcode;
- go in the barcode app;
- scan products in non-consecutive order (A-B-A-B);
Issue:
Multiple lines will be created instead of two lines where all the quantities are merged.
Cause:
A condition to find the line of an already scanned product was not correct.
Solution:
Modify the condition.
opw-2958923
Forward-Port-Of: odoo/enterprise#31745
Forward-Port-Of: odoo/enterprise#30747This PR is the following of that community PR: https://github.com/odoo/odoo/pull/100570 task id: 2822553 Forward-Port-Of: odoo/enterprise#31733
Original PR description
This PR is the following of that community PR: https://github.com/odoo/odoo/pull/100570 task id: 2822553 Forward-Port-Of: odoo/enterprise#31733
Reproduction: 1. Install Sale, Inventory, Website, and eCommerce. In the setting of Inventory, enable Delivery Methods, USPS Connector. In the setting of Website, enable Shipping Costs, USPS Connector. In shipping methods of Website, publish USPS Domestic Flat Rate Envelope. 2. Go to Website -> Go To Website -> shop -> add a deliverable product -> go to cart -> checkout 3. In the step Choose a delivery method, the price of USPS Domestic Flat Rate Envelope is not calculated. Reason: Wh
Original PR description
Reproduction: 1. Install Sale, Inventory, Website, and eCommerce. In the setting of Inventory, enable Delivery Methods, USPS Connector. In the setting of Website, enable Shipping Costs, USPS…
Reproduction: 1. Install Sale, Inventory, Website, and eCommerce. In the setting of Inventory, enable Delivery Methods, USPS Connector. In the setting of Website, enable Shipping Costs, USPS Connector. In shipping methods of Website, publish USPS Domestic Flat Rate Envelope. 2. Go to Website -> Go To Website -> shop -> add a deliverable product -> go to cart -> checkout 3. In the step Choose a delivery method, the price of USPS Domestic Flat Rate Envelope is not calculated. Reason: When compiling the delivery_usps.usps_price_request template, the parameter inherit_branding is not defined. If it’s not defined, the inherit_branding_auto attribute is used which is based on access rights. The inherit_branding is True in the current case. In saas-15.3, the template is rendered via ir.qweb. Before, the template is rendered via ir.ui.view. The access rights are different in saas-15.3, which will add additional attributes to the template. Fix: set the inherit_branding as False explicitly when rendering the template in usps_rate_request opw-2945583 Related PR: https://github.com/odoo-dev/odoo/commit/880954ebfc1106411b7f7a7d60aee05dfae60893 Forward-Port-Of: odoo/enterprise#31307
This reverts https://github.com/odoo/enterprise/pull/27400. The tax report should only have a 0 value that is visible in grid00 when in VAT Unit. In all other cases, this should stay invisible. Before 15.0, VAT Unit is not available in Odoo, so we revert the previous commit. In 15.0, we will be able to take VAT Unit into account. t-2898473 Forward-Port-Of: odoo/enterprise#31420 Forward-Port-Of: odoo/enterprise#30649
Original PR description
This reverts https://github.com/odoo/enterprise/pull/27400. The tax report should only have a 0 value that is visible in grid00 when in VAT Unit. In all other cases, this should stay invisible. Before 15.0, VAT Unit is not available in Odoo, so we revert the previous commit. In 15.0, we will be able to take VAT Unit into account. t-2898473 Forward-Port-Of: odoo/enterprise#31420 Forward-Port-Of: odoo/enterprise#30649