Friday, March 22, 2024
52 changes · saas-17.1
Resolved issues and error corrections
Point of Sale users can now click optional products in the product information popup without encountering an error. This keeps the sales flow smoother and avoids interruptions caused by a missing action after a recent refactor.
Original PR description
Before this commit, clicking on an optional product in the product info popup would cause an error. This was due to the absence of the `setSelectedCategoryId` function, which was removed during the refactor. opw-3815392 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Creating a shift from a specific cell in the planning Gantt view now keeps the selected date instead of defaulting to the full visible calendar period. This prevents users from having to manually correct planned dates and restores the expected scheduling behavior.
Original PR description
Before this commit, when the user clicks on a gantt cell of the planning gantt view to create a shift for a specific date. By doing that, the planned dates set by default to the form view is the whole period of the gantt view instead of the date set on the gantt cell clicked. This commit removes the override erasing the default planned dates by the period of the gantt to keep the standard behavior as before.
This update resolves an issue preventing sale reports from generating correctly when multiple bank accounts were used for a payment. The previous system required a single account payment, which is now corrected. This ensures accurate reporting for all sales transactions, regardless of payment method.
Original PR description
Following commit https://github.com/odoo/odoo/commit/d9190e34543c4a1151656859acb41556bcb3a364, generating a sale report became impossible if a session had more than one account payment. This was due to a ValueError: Expected singleton. opw-3799171 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#157426
This update fixes a default setting in the restaurant POS module that was incorrectly configured for US customers in the SaaS environment. Previously, the system automatically enabled tipping after payment, regardless of the user's country. This change ensures a better experience for all users by removing the US-specific default.
Original PR description
In SaaS, the DB is pre-prepared with the generic chart of accounts before the new user finishes the form. Since the default country of the generic chart of accounts is the US, then `set_tip_after_payment` option in the pre-created pos.config is set to True. Now, when the form is submitted, the country is identified but the said option remains to be True. This is a problem because not all customers are creating an odoo instance for a US company. So customers from other countries will have the option activated by default which is not a good default for them. We introduced this behavior in aa1c5b53bf131c6df96ad621e00bd2ee3d44c6c0 and in this commit we won't set the option by default anymore. Forward-Port-Of: odoo/odoo#149542
Miscellaneous changes
### [FIX] account_peppol: handle participant not ready error If the participant is not active on the IAP server, the server sends back a Participant not ready error in response without raising an error. On the client side a user sees a traceback, because we're trying to retrieve a message uuid of a non-existent peppol message: `response['messages'][i]['message_uuid']`. That's because we treat that error in the try block and then proceed to the else block because technically there was no excep
Original PR description
### [FIX] account_peppol: handle participant not ready error If the participant is not active on the IAP server, the server sends back a Participant not ready error in response without raising an…
### [FIX] account_peppol: handle participant not ready error If the participant is not active on the IAP server, the server sends back a Participant not ready error in response without raising an error. On the client side a user sees a traceback, because we're trying to retrieve a message uuid of a non-existent peppol message: `response['messages'][i]['message_uuid']`. That's because we treat that error in the try block and then proceed to the else block because technically there was no exception. This commit moves that error handling to `else` block so that such invoices get the proper error messages. ### [FIX] account_peppol: mock external request Now that we check whether a participant exists on Peppol network first when they register, we should also mock that request. Currently, since that request is not mocked, all peppol tests are skipped. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158546 Forward-Port-Of: odoo/odoo#154926
Steps to reproduce: - Create pricelist with an end date in the past for a stored product - Click on manual replenishement - The created PO will have a price of 0 Bug: if no valid pricelist is found unit price is set to 0 product standard price is a better fallback opw-3692985 Forward-Port-Of: odoo/odoo#158650 Forward-Port-Of: odoo/odoo#157023
Original PR description
Steps to reproduce: - Create pricelist with an end date in the past for a stored product - Click on manual replenishement - The created PO will have a price of 0 Bug: if no valid pricelist is found unit price is set to 0 product standard price is a better fallback opw-3692985 Forward-Port-Of: odoo/odoo#158650 Forward-Port-Of: odoo/odoo#157023
Before this commit: In POS online payment the usually the user is either the logged in user/public user which ends up raising error `The phone number is invalid` even when the customer is selected After this commit: Razorpay doesn't raise the error instead we send no phone number due to which user has to enter his/her phone number manually on the razorpay checkout page task-3786679 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-
Original PR description
Before this commit: In POS online payment the usually the user is either the logged in user/public user which ends up raising error `The phone number is invalid` even when the customer is selected After this commit: Razorpay doesn't raise the error instead we send no phone number due to which user has to enter his/her phone number manually on the razorpay checkout page task-3786679 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#157533
**Steps to reproduce:** 1- Install Point of sale module 2- Allow shipping later configuration 3- Create a POS order with a shipping date **Current behavior before PR:** The expected shipping date was not printed in the pos receipt. This was happening because it was getting called wrong in xml file where it was called 'props.shippingDate'. By checking the JS file we found that the props object structure as follows https://github.com/odoo/odoo/blob/17.0/addons/point_of_sale/static/src/a
Original PR description
**Steps to reproduce:** 1- Install Point of sale module 2- Allow shipping later configuration 3- Create a POS order with a shipping date **Current behavior before PR:** The expected shipping date was not printed in the pos receipt. This was happening because it was getting called wrong in xml file where it was called 'props.shippingDate'. By checking the JS file we found that the props object structure as follows https://github.com/odoo/odoo/blob/17.0/addons/point_of_sale/static/src/app/screens/receipt_screen/receipt/order_receipt.js#L16:L19 **Desired behavior after PR is merged:** The expected shipping date is printed not if exists. As we it is now getting called correctly 'props.data.shippingDate' opw-3746053 Forward-Port-Of: odoo/odoo#155844
Commit [1] was introduced to fix an issue where the website menu cache is incompatible with having a slug url in one of its menu. But in the enterprise build, since the website_helpdesk module is adding one menu containing a slug url, it would disable the menu cache. Unfortunately, the website_blog perf tests (at_install) are executed after website_helpdesk is installed, meaning that in enterprise, the perf test of website_blog would fail since it would require some more SQL Queries (1 or 2 d
Original PR description
Commit [1] was introduced to fix an issue where the website menu cache is incompatible with having a slug url in one of its menu. But in the enterprise build, since the website_helpdesk module is adding one menu containing a slug url, it would disable the menu cache. Unfortunately, the website_blog perf tests (at_install) are executed after website_helpdesk is installed, meaning that in enterprise, the perf test of website_blog would fail since it would require some more SQL Queries (1 or 2 depending of the test) to render a blog post as it would have to query the website.menu table. It's still unclear how commit [1] was merged in the codebase since the enterprise staging should have failed. runbot-60466 runbot-60467 [1]: https://github.com/odoo/odoo/commit/948235079f002794f9837d3cf91e2d20e3254e20 Forward-Port-Of: odoo/odoo#158533
Before this commit, it happens that the taxes display on the pdf were wrap, specially when the description in the pdf were too long. This commit will add a text-nowrap on the taxes when the len of the taxes is shorter than 10 characters. task: 3754824 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158774 Forward-Port-Of: odoo/odoo#154709
Original PR description
Before this commit, it happens that the taxes display on the pdf were wrap, specially when the description in the pdf were too long. This commit will add a text-nowrap on the taxes when the len of the taxes is shorter than 10 characters. task: 3754824 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158774 Forward-Port-Of: odoo/odoo#154709
Steps to reproduce: * Activate multi-currency (Company currency `USD`, another currency activated 'EUR') * Create invoice/bill in `EUR` and post it * Archive `EUR` * Open Invoice/Bill Issue: * Alert for inactivated currency is always displayed Fix: * Alert for inactivated currency should be displayed in draft state only Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed th
Original PR description
Steps to reproduce: * Activate multi-currency (Company currency `USD`, another currency activated 'EUR') * Create invoice/bill in `EUR` and post it * Archive `EUR` * Open Invoice/Bill Issue: * Alert for inactivated currency is always displayed Fix: * Alert for inactivated currency should be displayed in draft state only 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#158639 Forward-Port-Of: odoo/odoo#98341
Those are optional, commit [1] mimicked the python code in JS but with a mistake: "required" instead of "optional". Steps to reproduce: - Enable cookies setting on website - Drag & drop a snippet - Modify that snippet conditional visibility to "Utm Campaign: Sale" - Visit in incognito /?utm_campaign=Sale, you don't see the snippet, which is good - Now click on "Only Essentials" in the cookies banner - The snippet will be shown, because when accepting the essentials cookies, the utm ones
Original PR description
Those are optional, commit [1] mimicked the python code in JS but with a mistake: "required" instead of "optional". Steps to reproduce: - Enable cookies setting on website - Drag & drop a snippet - Modify that snippet conditional visibility to "Utm Campaign: Sale" - Visit in incognito /?utm_campaign=Sale, you don't see the snippet, which is good - Now click on "Only Essentials" in the cookies banner - The snippet will be shown, because when accepting the essentials cookies, the utm ones were set, since they were marked as required. [1]: https://github.com/odoo/odoo/commit/90ada07ecfc308ad181748d3e809810bb90f3eec Forward-Port-Of: odoo/odoo#158720 Forward-Port-Of: odoo/odoo#158590
In the Point of Sale app, some terms were not translatable by our translators on Transifex. In this commit we make sure that the missing terms are either made translatable or exported in the related .pot file. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#156929
Original PR description
In the Point of Sale app, some terms were not translatable by our translators on Transifex. In this commit we make sure that the missing terms are either made translatable or exported in the related .pot file. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#156929
Related to: https://github.com/OCA/l10n-spain/issues/3054 FYI: tax mapping tags have not been added, as Odoo hasn't "Modelo 123" in V14. @pedrobaeza @rafaelbn @acysos I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#139978 Forward-Port-Of: odoo/odoo#124688
Original PR description
Related to: https://github.com/OCA/l10n-spain/issues/3054 FYI: tax mapping tags have not been added, as Odoo hasn't "Modelo 123" in V14. @pedrobaeza @rafaelbn @acysos I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#139978 Forward-Port-Of: odoo/odoo#124688
commit that introduced the issue : https://github.com/odoo/odoo/commit/8e516dccac4ced7e48adfabe756a899784bac9ca Issue: ====== valuation unit cost is wrong when we do backorder with real time unit price computation Steps to reproduce the issue: ============================= - Create a kit with 2 components with product quntity to produce = 3 - Put qty = 2 for the first component and qty = 1 for the second component - Assign product category to the kit product and the components as fi
Original PR description
commit that introduced the issue : https://github.com/odoo/odoo/commit/8e516dccac4ced7e48adfabe756a899784bac9ca Issue: ====== valuation unit cost is wrong when we do backorder with real time unit…
commit that introduced the issue : https://github.com/odoo/odoo/commit/8e516dccac4ced7e48adfabe756a899784bac9ca Issue: ====== valuation unit cost is wrong when we do backorder with real time unit price computation Steps to reproduce the issue: ============================= - Create a kit with 2 components with product quntity to produce = 3 - Put qty = 2 for the first component and qty = 1 for the second component - Assign product category to the kit product and the components as fifo one with automatec price computation - Create a purchase order with 30 quantity of the kit and price unit = 90 - confirm order and go to receipt - Confirm 4 qty for the first component and 2 qty for the second. - Create backorder - Go to the confirmed receipt and go to valuation - You will see that the total sum corresponds to the price of all the products and not only the confirmed ones. Solution: ========= We need to use the bom quantities and not the order line to get the unit_cost of each component. opw-3790132 Forward-Port-Of: odoo/odoo#158592 Forward-Port-Of: odoo/odoo#158072
Many banks (Itaú, Santander, Caixa) don't support Pix codes without a reference. To fix set a dummy reference of "***" when none is set (this is what Santander bank does when generating Pix codes without a reference). Again thanks to INGO for testing. opw-3818534 Forward-Port-Of: odoo/odoo#158713
Original PR description
Many banks (Itaú, Santander, Caixa) don't support Pix codes without a reference. To fix set a dummy reference of "***" when none is set (this is what Santander bank does when generating Pix codes without a reference). Again thanks to INGO for testing. opw-3818534 Forward-Port-Of: odoo/odoo#158713
Steps to repreduce: - with SE Company: - Accounting > Vendor > Bills - Create and confirm a vendor bill with any of the `Ingående moms` tax - Reporting > Tax report **The values of Block F and G appears in negative** Cause of the issue: - The erroneous values come from the `se_48` formula of the `account_tax_report_data` which provides minus the value it should: https://github.com/odoo/odoo/blob/bd7aadf589ef1ba4556164bc70fc0fbb62928e48/addons/l10n_se/data/account_tax_report_data.xml
Original PR description
Steps to repreduce: - with SE Company: - Accounting > Vendor > Bills - Create and confirm a vendor bill with any of the `Ingående moms` tax - Reporting > Tax report **The values of Block F and G…
Steps to repreduce: - with SE Company: - Accounting > Vendor > Bills - Create and confirm a vendor bill with any of the `Ingående moms` tax - Reporting > Tax report **The values of Block F and G appears in negative** Cause of the issue: - The erroneous values come from the `se_48` formula of the `account_tax_report_data` which provides minus the value it should: https://github.com/odoo/odoo/blob/bd7aadf589ef1ba4556164bc70fc0fbb62928e48/addons/l10n_se/data/account_tax_report_data.xml#L374 This is due to the fact that the `plus_report_expression_ids` and the `minus_report_expression_ids` refering to the `tax_report_line_48_tag` are swapped on all purchase taxes, as suggested by the other report expressions in that file e.g. https://github.com/odoo/odoo/blob/bd7aadf589ef1ba4556164bc70fc0fbb62928e48/addons/l10n_se/data/account_tax_template.xml#L361-L366 Fix: - We swap back these references for all tax tags on puchases taxes. opw-3750771 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158097 Forward-Port-Of: odoo/odoo#155744
If the 'cancel next move' feature is enabled, canceling a SOL could lead to unexpected picking creation To reproduce the issue: (Debug mode enabled) 1. In Settings, enable "Multi-Step Routes" 2. Edit the warehouse: - Outgoing shipments: 2 steps 3. Edit the delivery route: - For each rule: - Cancel next move: True 4. Confirm a SO with one product 5. Set the SOL quantity to 0 Error: A third picking is created, from customer to output location Step 4, it creates two SM
Original PR description
If the 'cancel next move' feature is enabled, canceling a SOL could lead to unexpected picking creation To reproduce the issue: (Debug mode enabled) 1. In Settings, enable "Multi-Step Routes" 2. Edit…
If the 'cancel next move' feature is enabled, canceling a SOL could
lead to unexpected picking creation
To reproduce the issue:
(Debug mode enabled)
1. In Settings, enable "Multi-Step Routes"
2. Edit the warehouse:
- Outgoing shipments: 2 steps
3. Edit the delivery route:
- For each rule:
- Cancel next move: True
4. Confirm a SO with one product
5. Set the SOL quantity to 0
Error: A third picking is created, from customer to output location
Step 4, it creates two SM:
\- SM_SO: from Stock to Ouput
\- SM_OC: from Output to Customer
Step 5, thanks to the procurement process, we create a stock move:
\- SM_OC_neg, from Output to Customer with a negative qty.
While confirming this SM, and thanks to the same process, we then
create a second stock move :
\- SM_SO_neg, from Stock to Output, with a negative qty.
Both negative SM are linked. While confirming SM_SO_neg, we merge it
with SM_SO. Therefore:
\- Dest moves of SM_SO_neg are given to SM_SO
\- SM_SO_neg is deleted (fully absorbed by SM_SO)
\- SM_SO has now a zero demand, so we cancel it:
https://github.com/odoo/odoo/blob/bd7aadf589ef1ba4556164bc70fc0fbb62928e48/addons/stock/models/stock_move.py#L1024-L1025
However, because of step 3, we also cancel its dest moves:
https://github.com/odoo/odoo/blob/bd7aadf589ef1ba4556164bc70fc0fbb62928e48/addons/stock/models/stock_move.py#L1740-L1745
i.e., we cancel SM_OC *and* SM_OC_neg. This leads to an inconsistency:
Back to the confirmation of SM_SO_neg. As explained, this SM has
been canceled during the procurement process. Still, we keep
processing its confirmation (we overwrite its state, we assign it to a
picking, and so on). Hence the error.
In `_merge_moves`, when deleting a stock move, we first clean it
(for instance, we disable the cancel propagation):
https://github.com/odoo/odoo/blob/bd7aadf589ef1ba4556164bc70fc0fbb62928e48/addons/stock/models/stock_move.py#L1018-L1020
We should do the same with SMs we are going to cancel. That way, we
fix the root cause of the issue: when cancelling SM_SO, we don't
cancel neither SM_OC neither SM_OC_neg, so we don't have any
inconsistency when going back to the confirmation of SM_SO_neg, and
everything will work correctly.
OPW-3753453
Forward-Port-Of: odoo/odoo#158663
Forward-Port-Of: odoo/odoo#158562With a SA company setup Open a jounrnal entry Hit 'Reverse Entry' > Reverse Error: "For Credit/Debit notes issued in Saudi Arabia, you need to specify a Reason" This occurs because with SA localization we need to provide a reason for move reversal but by default the reason field is invisible for journal entries opw-3789732 Forward-Port-Of: odoo/odoo#157996
Original PR description
With a SA company setup Open a jounrnal entry Hit 'Reverse Entry' > Reverse Error: "For Credit/Debit notes issued in Saudi Arabia, you need to specify a Reason" This occurs because with SA localization we need to provide a reason for move reversal but by default the reason field is invisible for journal entries opw-3789732 Forward-Port-Of: odoo/odoo#157996
Versions -------- - 16.0+ Steps ----- 1. Create a leave spanning multiple days; 2. create a public holiday that falls inside that leave; 3. check leave in list view & form view. Issue ----- The leave's duration no longer matches between the two views. In form view, the duration was updated, in list view, it remained unchanged. Cause ----- The field in form view uses a non-stored computed field `number_of_days_display`, whereas the field used in the list view is the stored comp
Original PR description
Versions -------- - 16.0+ Steps ----- 1. Create a leave spanning multiple days; 2. create a public holiday that falls inside that leave; 3. check leave in list view & form view. Issue ----- The leave's duration no longer matches between the two views. In form view, the duration was updated, in list view, it remained unchanged. Cause ----- The field in form view uses a non-stored computed field `number_of_days_display`, whereas the field used in the list view is the stored computed field `duration_display` which depends on the non-stored one. As a consequence, changes to the non-stored field don't trigger a recomputation of the stored field, leaving it unchanged. Solution -------- Call `_compute_duration_display` from the compute methods of its dependents, and add the dependents to the view as invisible fields to trigger recomputation. opw-3642500 Forward-Port-Of: odoo/odoo#158296 Forward-Port-Of: odoo/odoo#157210
**Steps to reproduce:** - Open an event and go to the Community page - Try to customize it => traceback on clicking the 'Customize' tab. **Cause:** The `_getRpcData` function called by '_computeWidgetState' method does not exist anymore since https://github.com/odoo/odoo/commit/03c5526 **Fix:** This PR eliminates the call to the `_getRpcData` function and alters the code of 'options.js' to get rpcData for the 'allow room creation' checkbox, through an implementation similar to that of
Original PR description
**Steps to reproduce:** - Open an event and go to the Community page - Try to customize it => traceback on clicking the 'Customize' tab. **Cause:** The `_getRpcData` function called by '_computeWidgetState' method does not exist anymore since https://github.com/odoo/odoo/commit/03c5526 **Fix:** This PR eliminates the call to the `_getRpcData` function and alters the code of 'options.js' to get rpcData for the 'allow room creation' checkbox, through an implementation similar to that of 'website menu'. Task: [3805901](https://www.odoo.com/web#id=3805901&menu_id=4722&cids=2&action=333&active_id=10888&model=project.task&view_type=form) Forward-Port-Of: odoo/odoo#158684 Forward-Port-Of: odoo/odoo#157831
Before this commit, the header was considered as mobile at the `SM` screen breakpoint, while it is already displayed as in mobile view at `MD`. This made some of the header behaviors inconsistent: 1) A menu open at `MD` is not closed when resizing the screen: - Resize the screen at `MD` and open the menu. - Resize the screen above `LG`. - Resize back at `MD`. => The menu was not closed. It is when we start resizing at `SM`, which is inconsistent as they are both displayed like in mobil
Original PR description
Before this commit, the header was considered as mobile at the `SM` screen breakpoint, while it is already displayed as in mobile view at `MD`. This made some of the header behaviors inconsistent: 1)…
Before this commit, the header was considered as mobile at the `SM`
screen breakpoint, while it is already displayed as in mobile view at
`MD`. This made some of the header behaviors inconsistent:
1) A menu open at `MD` is not closed when resizing the screen:
- Resize the screen at `MD` and open the menu.
- Resize the screen above `LG`.
- Resize back at `MD`.
=> The menu was not closed. It is when we start resizing at `SM`, which
is inconsistent as they are both displayed like in mobile view.
2) The menus are hoverable at `MD` but not at `SM`:
- Add sub-menus and mega menus with the menu editor.
- In edit mode, set the menus as hoverable (set the "Sub Menus" option
to "On Hover") and save.
- Hover the menus:
- above `LG` (= desktop view) => they open.
- under `SM` (= mobile view) => they do not open because we need to
click to open them on mobile view.
- between `SM` and `LG` => they open even though it is displayed like
in mobile view, so the behaviors are inconsistent.
This commit considers the header as mobile under the `LG` screen
breakpoint, to uniformize the behaviors of the mobile header.
task-3801970
Forward-Port-Of: odoo/odoo#158571
Forward-Port-Of: odoo/odoo#157601Steps to reproduce: - Install Invoicing (and Sales for product creation rights) - From a company, create a Branch company - Switch to parent company - In Invoicing settings of parent company, set default taxes - Switch to branch company - In Invoicing settings of branch company, set no default taxes - Create a user with only the branch company as allowed companies - Give the user the right to create a product (e.g. Sales: Administrator) - Connect with the created user - Try to create a
Original PR description
Steps to reproduce: - Install Invoicing (and Sales for product creation rights) - From a company, create a Branch company - Switch to parent company - In Invoicing settings of parent company, set default taxes - Switch to branch company - In Invoicing settings of branch company, set no default taxes - Create a user with only the branch company as allowed companies - Give the user the right to create a product (e.g. Sales: Administrator) - Connect with the created user - Try to create a product Issue: An Access Error is raised due to "company rule employee" rule because the system tries to fetch the default taxes from the parent company, which is not activated in the company selector. opw-3790360 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158567 Forward-Port-Of: odoo/odoo#157565
Those master data would break the basic accounting pdf generation flow as those are widely used and it is not expected from end users to delete them. Example of support ticket from that issue: 3790875 TaskID: 3802440 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#158403 Forward-Port-Of:
Original PR description
Those master data would break the basic accounting pdf generation flow as those are widely used and it is not expected from end users to delete them. Example of support ticket from that issue: 3790875 TaskID: 3802440 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#158403 Forward-Port-Of: odoo/odoo#158080
Purpose ======= Lots of tickets are issues when the end user deleted this product category, leading to the impossibility to install another carrier as this category is referenced by all the specific carriers products Ticket example: 3789116 TaskID: 3802440 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
Original PR description
Purpose ======= Lots of tickets are issues when the end user deleted this product category, leading to the impossibility to install another carrier as this category is referenced by all the specific carriers products Ticket example: 3789116 TaskID: 3802440 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#158420 Forward-Port-Of: odoo/odoo#158084
This fix was merged yesterday: https://github.com/odoo/odoo/pull/154239 The fix is ok but the test is testing the display name on the product. It is not necessary for the purpose of the change. Forward-Port-Of: odoo/odoo#157546
Original PR description
This fix was merged yesterday: https://github.com/odoo/odoo/pull/154239 The fix is ok but the test is testing the display name on the product. It is not necessary for the purpose of the change. Forward-Port-Of: odoo/odoo#157546
**Current behavior before PR:** When you increase the height or width of cells in a table and subsequently delete a row or column, the adjacent rows or columns experience an increase in their height or width. This happens because the table preserves its overall dimensions even after resizing individual cells. **Desired behavior after PR is merged:** Now, the table no longer preserves its height or width. When resizing the table, the height or width of its rows or columns does not in
Original PR description
**Current behavior before PR:** When you increase the height or width of cells in a table and subsequently delete a row or column, the adjacent rows or columns experience an increase in their height or width. This happens because the table preserves its overall dimensions even after resizing individual cells. **Desired behavior after PR is merged:** Now, the table no longer preserves its height or width. When resizing the table, the height or width of its rows or columns does not increase. task-3636212 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#146091
Steps to reproduce ================== In 17: - Install hr_holidays,project - Switch the language to dutch - Go to project > three dots > Projectupdates We can see `x/y Genomen`, it should be `x/y Taken` Cause of the issue ================== The original term is Tasks. When loading the views, python translates them and changes Tasks to Taken. Owl then translates the template and transforms Taken to Genomen. Solution ======== Since the views are already translated, we don'
Original PR description
Steps to reproduce ================== In 17: - Install hr_holidays,project - Switch the language to dutch - Go to project > three dots > Projectupdates We can see `x/y Genomen`, it should be `x/y Taken` Cause of the issue ================== The original term is Tasks. When loading the views, python translates them and changes Tasks to Taken. Owl then translates the template and transforms Taken to Genomen. Solution ======== Since the views are already translated, we don't need to translate them with owl. We can simply set the attribute t-translation to off on the view root node. opw-3787336 Forward-Port-Of: odoo/odoo#158627 Forward-Port-Of: odoo/odoo#158278
There are currently translation issues related to the chart template. Due to this the names of some records do not receive the necessary / intended translations when installing a localization or new language. When installing a new localization / chart some records have the following problem with the values of their translatabe fields: They are only installed in the language that was active when the localization / chart was installed. Thus when switching languages (or using a different us
Original PR description
There are currently translation issues related to the chart template. Due to this the names of some records do not receive the necessary / intended translations when installing a localization or new…
There are currently translation issues related to the chart template.
Due to this the names of some records do not receive the necessary
/ intended translations when installing a localization or new language.
When installing a new localization / chart some records have the following
problem with the values of their translatabe fields:
They are only installed in the language that was active when the localization / chart was installed.
Thus when switching languages (or using a different user with a different language)
the names are displayed in the "installation language".
Translations for all active languages should be installed (for all relevant records).
The same problem happens when installing a new language
(the same records do not receive a translation for the new language).
The translation issue concerns for example (some) accounts and journals;
see the (incomplete) list at the end of this message.
This commit tries to fix the translation issue for the translatable
fields of all relevant models.
Note!
=====
* The translation mechanism only works for records with xmlid.
If a module creates a record without xmlid it will not be translated.
* The problem is only fixed for records with xmlid for which at least 1 of the
following conditions holds:
* The record (and the translatable field value) is defined in
the body of the function decorated with 'https://github.com/template'
* The translation of the value of the translatable field can
be found in the module 'account' or in the module that
is associated with the record (by 'ir.model.data')
I.e. the problem is not solved for demo data: It is technically
difficult to determine the module they originate from.
This makes it difficult to load the right code translation (the
module information is needed for this).
* The translation mechanism is not necessarily triggered
if the record is (in principal) part of the chart template
but not installed as part of the chart template.
This can i.e. happen if a module is installed after the
localization / chart.
* Example: account.journal "Salaries" from hr_payroll_account
* We also want to "translate" / localize some untranslatable fields
(like account journal codes). For these fields the terms will be
installed in the language of the partner of the company for which
the chart will be installed (fallback to lang / user lang from the
env in case there is none set)
* Currently there is no language set for many (all?) demo comany.
Thus the values will remain in English for them (when the
respective module is installed).
Examples / Details
==================
**Reproduce**:
1. Switch to the French language (install if needed)
(Settings App > General Settings > Languages)
2. Install a localisation (e.g. l10n_fr).
3. Check the French translations of the localization
* Comptabilité > Configuration (Menu) > Journaux
(Accounting > Configuration (Menu) > Journals)
* Here the journal names are in French
* Comptabilité > Configuration (Menu) > Plan comptable
(Accounting > Configuration (Menu) > Chart of Accounts)
* All the account names are in French
4. Switch to English on the current user (or some other language)
via the user profile on the top right.
5. Check the names of the localization again
* Accounting
* The journal names are still in French
* Accounting > Configuration (Menu) > Chart of Accounts
* Some of the account names are still in French
* E.g. "Compte d'attente de la banque" ("Bank Suspense Account")
Other things to test:
* "Salaries" journal from enterprise module 'hr_payroll_account'
* Not demo data; it will (partly) work after this commit (see "Note" above)
* "IFRS Automatic transfers" journal from enterprise module
'account_auto_transfer' (installed when installing l10n_fr)
* Demo data; the problem remains after this commit
**Technically** the main problems are the following:
1. The information of some of the created records is only defined in
the code. Thus their translations have to be taken from the
translation of the code.
But at the point of translation it is not clear from which
module the data came from. This is needed to load the right translation.
* This was fixed for data from 'https://github.com/template' functions
2. Some records are created without an xmlid and thus
cannot be translated with the current translation mechanism at all.
* This was fixed for the relevant records from module 'account'
Example Records
---------------
Some affected **accounts**:
* from module 'account'
* Bank utility accounts
* Bank Suspense Account
* Outstanding Receipts
* Outstanding Payments
* Cash Discount Loss
* Cash Discount Gain
* Cash Difference Loss
* Cash Difference Gain
* Liquidity Transfer
* Bank / Cash journal default accounts
* Bank
* Cash
* Unaffected earnings account
* Undistributed Profits/Losses
Some affected **journals**
* from module 'account'
* Customer Invoices
* Vendor Bills
* Miscellaneuos Operations
* Exchange Difference
* Cash Basis Taxes
* Bank
* Cash
* from module 'account_auto_transfer' (enterprise)
* IFRS Automatic Transfers
* The problem will remain since it is demo data
* from module 'hr_payroll_account' (enterprise)
* Salaries
* The translation is only loaded if the module is installed
before the localization / chart
task info
=========
task-3414329
Forward-Port-Of: odoo/odoo#158382
Forward-Port-Of: odoo/odoo#137592Since [1] when options on background images have been applied as soon as they were modified instead of on save, those options were not reset when the background was removed. This commit removes those options when the background image is removed. Steps to reproduce: - Drop a Text snippet. - Add a background image. - Remove the background image. - Save. => Save failed. [1]: https://github.com/odoo/odoo/commit/4a797f51ec9d3d378fc30033e4fda2bc1e73586c task-3794812 Forward-Port-Of
Original PR description
Since [1] when options on background images have been applied as soon as they were modified instead of on save, those options were not reset when the background was removed. This commit removes those options when the background image is removed. Steps to reproduce: - Drop a Text snippet. - Add a background image. - Remove the background image. - Save. => Save failed. [1]: https://github.com/odoo/odoo/commit/4a797f51ec9d3d378fc30033e4fda2bc1e73586c task-3794812 Forward-Port-Of: odoo/odoo#158326 Forward-Port-Of: odoo/odoo#157414
Incorporate Christihan Laurel (CLaurelB) as Vauxoo's contributor. I confirm I have signed the CLA and read the PR guidelines at http://www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158615 Forward-Port-Of: odoo/odoo#158221
Original PR description
Incorporate Christihan Laurel (CLaurelB) as Vauxoo's contributor. I confirm I have signed the CLA and read the PR guidelines at http://www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158615 Forward-Port-Of: odoo/odoo#158221
Issue: Currently if we have taxes for our Purchase no matter if we set the tax to inactive or we archive it, we will have access to it on the purchase_order_line. Steps to reproduce: - Install Purchase - Create a new Tax and set it to inactive. - Now create a new RfQ and in the lines add any product. - Try to change the tax for this product. Solution: since commit 8ff6747 we got rid of an odd domain which was allowing us to always get every tax no matter if they were active or not. I
Original PR description
Issue: Currently if we have taxes for our Purchase no matter if we set the tax to inactive or we archive it, we will have access to it on the purchase_order_line.
Steps to reproduce:
- Install Purchase
- Create a new Tax and set it to inactive.
- Now create a new RfQ and in the lines add any product.
- Try to change the tax for this product.
Solution: since commit 8ff6747 we got rid of an odd domain which was allowing us to always get every tax no matter if they were active or not. In order for this domain to work we needed to set `context={'active_test': False}` which we no longer need and It's creating a bad behavior on how we want the active field on tax to act.
opw-3776871
Forward-Port-Of: odoo/odoo#158077After the fw-port of the fix in [1], it seems some references had changed, breaking the translations again. This commit fixes that. [1] 9d2f7f312c5d699b937bd5546085fc151a149a8f --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158557
Original PR description
After the fw-port of the fix in [1], it seems some references had changed, breaking the translations again. This commit fixes that. [1] 9d2f7f312c5d699b937bd5546085fc151a149a8f --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158557
This commit introduces an improvement in the hr_holidays module by making the duration field of leave allocations editable even after they have been approved. This change addresses a limitation where previously, allocations had to be refused and revalidated for any adjustments. Task-3716272 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#154553
Original PR description
This commit introduces an improvement in the hr_holidays module by making the duration field of leave allocations editable even after they have been approved. This change addresses a limitation where previously, allocations had to be refused and revalidated for any adjustments. Task-3716272 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#154553
With this PR https://github.com/odoo/odoo/pull/129717 we fixed multiple problems of the Swiss tax report but the 200 box is still not correct. Fix the computation of the box 200 of the Swiss tax report. We remove 382 and 383 boxes that are for purchases and shouldn't be included. We add box 205 and 289 so that the box 200 somehow represent the "gross" taxed amount, and 299 is therefore the "net" amount. 200 = 302 to 343 + 205 + 289 opw-3766215 Forward-Port-Of: odoo/odoo#158477 Forward
Original PR description
With this PR https://github.com/odoo/odoo/pull/129717 we fixed multiple problems of the Swiss tax report but the 200 box is still not correct. Fix the computation of the box 200 of the Swiss tax report. We remove 382 and 383 boxes that are for purchases and shouldn't be included. We add box 205 and 289 so that the box 200 somehow represent the "gross" taxed amount, and 299 is therefore the "net" amount. 200 = 302 to 343 + 205 + 289 opw-3766215 Forward-Port-Of: odoo/odoo#158477 Forward-Port-Of: odoo/odoo#158008
Some taxes of skr03 and skr04 were not set for the appropriate tax group. This was fixed, and each tax was set to its appropriate tax group. Taxes should not be set with wrong tax groups. task-3800915 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158555 Forward-Port-Of: odoo/odoo#158034
Original PR description
Some taxes of skr03 and skr04 were not set for the appropriate tax group. This was fixed, and each tax was set to its appropriate tax group. Taxes should not be set with wrong tax groups. task-3800915 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#158555 Forward-Port-Of: odoo/odoo#158034
This issue is occurring when the user tries to add a `VAT` number, while creating a new contact To reproduce this issue: 1) Install `contacts` and `partner_autocomplete` 2) Create a new contact from `Contacts` 3) Give a valid `VAT` number e.g:- `SK2120312645`(got it from sentry) 4) Traceback occurs in the terminal Error:- ``` IndexError: list index out of range File "odoo/http.py", line 2251, in __call__ response = request._serve_db() File "odoo/http.py", line 1826, in
Original PR description
This issue is occurring when the user tries to add a `VAT` number, while creating a new contact To reproduce this issue: 1) Install `contacts` and `partner_autocomplete` 2) Create a new contact from…
This issue is occurring when the user tries to add a `VAT` number,
while creating a new contact
To reproduce this issue:
1) Install `contacts` and `partner_autocomplete`
2) Create a new contact from `Contacts`
3) Give a valid `VAT` number e.g:- `SK2120312645`(got it from sentry)
4) Traceback occurs in the terminal
Error:-
```
IndexError: list index out of range
File "odoo/http.py", line 2251, in __call__
response = request._serve_db()
File "odoo/http.py", line 1826, in _serve_db
return self._transactioning(_serve_ir_http, readonly=ro)
File "odoo/http.py", line 1847, in _transactioning
return service_model.retrying(func, env=self.env)
File "odoo/service/model.py", line 134, in retrying
result = func()
File "odoo/http.py", line 1824, in _serve_ir_http
return self._serve_ir_http(rule, args)
File "odoo/http.py", line 1832, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "odoo/http.py", line 2057, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "odoo/addons/base/models/ir_http.py", line 222, in _dispatch
result = endpoint(**request.params)
File "odoo/http.py", line 740, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "addons/web/controllers/dataset.py", line 34, in call_kw
return self._call_kw(model, method, args, kwargs)
File "addons/web/controllers/dataset.py", line 30, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "odoo/api.py", line 458, in call_kw
result = getattr(recs, name)(*args, **kwargs)
File "addons/partner_autocomplete/models/res_partner.py", line 158, in read_by_vat
'city': zip_city[1],
```
In some cases, the expected `zip_city` value is not at the last of the address list ,
which leads to above traceback. As `zip_city` must contain both zip and city values.
https://github.com/odoo/odoo/blob/382b64c2f14073cfff1a8ef9290b5c7834d52188/addons/partner_autocomplete/models/res_partner.py#L143-L156
After applying this commit will resolve this issue by searching `zip_city` based on regex.
sentry-5058467547
Forward-Port-Of: odoo/odoo#158368
Forward-Port-Of: odoo/odoo#157697Steps to reproduce: - Install contacts and base_address_extended - Install a module adding "res.city" records (e.g. l10n_co_edi) - Go to Contacts and create a new one: * Name: [any] * Country: Colombia * City (city_id): [any] - Create a "child" contact of "Contact" type - Save the contact Issue: "city_id" field of the child contact is False. It is not possible to set the address of a contact-type contact manually. Some address fields ('street', 'street2', 'zip', 'city', 'state
Original PR description
Steps to reproduce: - Install contacts and base_address_extended - Install a module adding "res.city" records (e.g. l10n_co_edi) - Go to Contacts and create a new one: * Name: [any] * Country:…
Steps to reproduce:
- Install contacts and base_address_extended
- Install a module adding "res.city" records (e.g. l10n_co_edi)
- Go to Contacts and create a new one:
* Name: [any]
* Country: Colombia
* City (city_id): [any]
- Create a "child" contact of "Contact" type
- Save the contact
Issue:
"city_id" field of the child contact is False.
It is not possible to set the address of a contact-type contact manually. Some address fields ('street', 'street2', 'zip', 'city', 'state_id', 'country_id') are synchronized with the parent contact.
"city_id" is not and is not settable at all for contact-type contact. It could be an issue for Colombian or Mexican localizations if a child contact is used for an invoice as some data have to be retrieved from "city_id" field to generate the electronic invoice.
Solution:
Add "city_id" in the list of address fields to sync.
opw-3747296
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: odoo/odoo#156922Address several design and functional issues in prod. See sub commits, each of them addressing a different issue. Task-3718417 part-of task-3698364 Forward-Port-Of: odoo/odoo#152434
Original PR description
Address several design and functional issues in prod. See sub commits, each of them addressing a different issue. Task-3718417 part-of task-3698364 Forward-Port-Of: odoo/odoo#152434
Steps to reproduce: ``` | Step | Move | Action | Date | Name | | ---- | ---- | ----------- | ---------- | ----------- | | 1 | `A` | Add | 2023-02-01 | `2023/02/0001` | | 2 | `B` | Add | 2023-02-02 | `/` | | 3 | `B` | Post | 2023-02-02 | `2023/02/0002` | | 4 | `A` | Cancel | 2023-02-01 | `2023/02/0003` | -> Wrong ``` Issue: The first invoice should keep its se
Original PR description
Steps to reproduce:
```
| Step | Move | Action | Date | Name |
| ---- | ---- | ----------- | ---------- | ----------- |
| 1 | `A` | Add | 2023-02-01 | `2023/02/0001` |
| 2 | `B` | Add | 2023-02-02 | `/` |
| 3 | `B` | Post | 2023-02-02 | `2023/02/0002` |
| 4 | `A` | Cancel | 2023-02-01 | `2023/02/0003` | -> Wrong
```
Issue:
The first invoice should keep its sequence to 1
opw-3757022
Forward-Port-Of: odoo/odoo#158435
Forward-Port-Of: odoo/odoo#156865### Commit 1 [FIX] l10n_us_1099: clear lines when start or end date is changed Before this, setting the date fields to 2023 would show all 2023 lines in the wizard. Changing the date range to 2022 would add 2022 lines while keeping the 2023 lines. After this commit only 2022 lines remain in the wizard. opw-3774654 ### Commit 2 [FIX] l10n_us_1099: filter on date by default when adding new lines Typically a user clicks "Add a new line" on the lines_to_export o2m when they want to a
Original PR description
### Commit 1 [FIX] l10n_us_1099: clear lines when start or end date is changed Before this, setting the date fields to 2023 would show all 2023 lines in the wizard. Changing the date range to 2022 would add 2022 lines while keeping the 2023 lines. After this commit only 2022 lines remain in the wizard. opw-3774654 ### Commit 2 [FIX] l10n_us_1099: filter on date by default when adding new lines Typically a user clicks "Add a new line" on the lines_to_export o2m when they want to add lines in the selected date range from other accounts. Currently the user is presented with all journal items and will have to manually filter on the right date. Improve usability by filtering on the right date range by default. opw-3774654 Forward-Port-Of: odoo/enterprise#59180
This commit fixes the way we filter fields to show in the kanban editor sidebar, under the 'Add' tab. Since this view don't render what's included before the <templates> node from the xmlDoc. In other types of view, we can easily toggle the 'Show invisible' elements to display items that are considered being present in the view, but not in Kanban when they add items before the kanban card template. A test has been added too. task-3647045 Forward-Port-Of: odoo/enterprise#58911 Forward-P
Original PR description
This commit fixes the way we filter fields to show in the kanban editor sidebar, under the 'Add' tab. Since this view don't render what's included before the <templates> node from the xmlDoc. In other types of view, we can easily toggle the 'Show invisible' elements to display items that are considered being present in the view, but not in Kanban when they add items before the kanban card template. A test has been added too. task-3647045 Forward-Port-Of: odoo/enterprise#58911 Forward-Port-Of: odoo/enterprise#57322
The values of blocks F and G have been changed on the sweedish tax report on the `l10n_se` module. This commit adapt the tests accordingly. Forward-Port-Of: odoo/enterprise#58870 Forward-Port-Of: odoo/enterprise#58508
Original PR description
The values of blocks F and G have been changed on the sweedish tax report on the `l10n_se` module. This commit adapt the tests accordingly. Forward-Port-Of: odoo/enterprise#58870 Forward-Port-Of: odoo/enterprise#58508
The aim of this commit is to allow the user to make xslx export with custom composite report. Context: The customer made a custom report in which he is calling some other reports. Before this commit: Exporting the report would results in a traceback. This happenned because a keyError is raise when trying to access the `companies` key which isn't present in the dictionnary. The initializers for the `companies` key weren't consistent with each other. In some initializer, the `currenc
Original PR description
The aim of this commit is to allow the user to make xslx export with custom composite report. Context: The customer made a custom report in which he is calling some other reports. Before this commit:…
The aim of this commit is to allow the user to make xslx export with custom composite report. Context: The customer made a custom report in which he is calling some other reports. Before this commit: Exporting the report would results in a traceback. This happenned because a keyError is raise when trying to access the `companies` key which isn't present in the dictionnary. The initializers for the `companies` key weren't consistent with each other. In some initializer, the `currency_id` key was set. In other, it wasn't. In method `_add_options_xlsx_sheet` only the exact same options were kept before pursuing the operations. As the `currency_id` wasn't set for all the options, it was ignored. After this commit: The file can be exported with success. To solve the `currency_id` key difference issue and prevent it to happen again, we centralize the place where the dictionnaries are created to be sure the exact same keys are set for the `companies` options regardless of how those companies are chosen. opw-3802602 Forward-Port-Of: odoo/enterprise#58777
Uses `product_category_name` instead of `categ_id` when deciding how to sort SMLs in the barcode picking view. Previously, `categ_id` was used for sorting, however there are two issues with that: 1.) This would sort by the ID, not the name, which is probably not expected behavior. 2.) `categ_id` is actually always undefined in the `_sortingMethod` call because it is never passed into the front end in the first place. This fix adds `product_category_name` as a field to be read from the `s
Original PR description
Uses `product_category_name` instead of `categ_id` when deciding how to sort SMLs in the barcode picking view. Previously, `categ_id` was used for sorting, however there are two issues with that: 1.)…
Uses `product_category_name` instead of `categ_id` when deciding how to sort SMLs in the barcode picking view. Previously, `categ_id` was used for sorting, however there are two issues with that: 1.) This would sort by the ID, not the name, which is probably not expected behavior. 2.) `categ_id` is actually always undefined in the `_sortingMethod` call because it is never passed into the front end in the first place. This fix adds `product_category_name` as a field to be read from the `stock.move.line` within the `_get_stock_barcode_data` method of `stock_barcode/models/stock_picking.py`. It also changes `categ_id` to `product_category_name` with the `_sortingMethod` method of `stock_barcode/static/src/models/barcode_model.js` As a final note, I am unsure if `categ_id` should be removed from the [`_get_fields_stock_barcode` method in `stock_barcode/models/product_product.py`](https://github.com/odoo/enterprise/blob/5b2fb8d0f3baf4fdc13e9399061110e06e3c76da/stock_barcode/models/product_product.py#L19). In this context it should be removed, however I'm unsure if other code may use it, and for compatibility sake it would be best to leave it there. opw-3693232 Forward-Port-Of: odoo/enterprise#59169 Forward-Port-Of: odoo/enterprise#56633
In Approvals, you can create Approval Request where you select Products (in demo data : Create RFQ). When you do that, on the request creation itself, you'll be able to pick products and add it in lines. There's a column description, but that column is not populated correctly, it's just a copy of the name. It should be the description from the product, purchase tab. TaskID: 3794627 Forward-Port-Of: odoo/enterprise#58909 Forward-Port-Of: odoo/enterprise#58492
Original PR description
In Approvals, you can create Approval Request where you select Products (in demo data : Create RFQ). When you do that, on the request creation itself, you'll be able to pick products and add it in lines. There's a column description, but that column is not populated correctly, it's just a copy of the name. It should be the description from the product, purchase tab. TaskID: 3794627 Forward-Port-Of: odoo/enterprise#58909 Forward-Port-Of: odoo/enterprise#58492
Task: 36213 Forward-Port-Of: odoo/enterprise#58767 Forward-Port-Of: odoo/enterprise#55068
Original PR description
Task: 36213 Forward-Port-Of: odoo/enterprise#58767 Forward-Port-Of: odoo/enterprise#55068
When a user reads an article from the frontend view of Knowledge and clicks on the "Sign in" button to sign in: internal users will be redirected to the Odoo backend while portal users will be redirected to the `/my` page. The current redirection process is confusing because users may lose track of the article they were reading. If people re-open Knowledge after being redirected, they may no find the article they were reading as it could be hidden in the sidebar. When people click on the "
Original PR description
When a user reads an article from the frontend view of Knowledge and clicks on the "Sign in" button to sign in: internal users will be redirected to the Odoo backend while portal users will be…
When a user reads an article from the frontend view of Knowledge and clicks on the "Sign in" button to sign in: internal users will be redirected to the Odoo backend while portal users will be redirected to the `/my` page. The current redirection process is confusing because users may lose track of the article they were reading. If people re-open Knowledge after being redirected, they may no find the article they were reading as it could be hidden in the sidebar. When people click on the "Sign in" button from Knowledge, we assume that they probably wanted to edit the article, change the permissions, add new members, access their own workspace, etc. So, we will now redirect the user to the article they were reading after they sign in. With that change, portal users can still access the '/my' page from Knowledge by clicking on the home icon of the sidebar and internal users can view all apps of the backend by clicking on the home button of the Odoo navbar. task-3776350 Forward-Port-Of: odoo/enterprise#57972
Sugar tax groups were not present in saas-16.2+ fw-port, due to the new way Chart Templates are handled. https://github.com/odoo/enterprise/pull/50366/files Adding them back now. Old PR for saas-16.2: odoo/enterprise#53209 Task link: http://www.odoo.com/web#id=3569752&model=project.task task-3569752 Forward-Port-Of: odoo/enterprise#59176 Forward-Port-Of: odoo/enterprise#58802
Original PR description
Sugar tax groups were not present in saas-16.2+ fw-port, due to the new way Chart Templates are handled. https://github.com/odoo/enterprise/pull/50366/files Adding them back now. Old PR for saas-16.2: odoo/enterprise#53209 Task link: http://www.odoo.com/web#id=3569752&model=project.task task-3569752 Forward-Port-Of: odoo/enterprise#59176 Forward-Port-Of: odoo/enterprise#58802
One of our future bank synchronization provider, bLink, is asking us to make sure that customers can only connect to their banks if they have a 2FA to login on their database. As we don't want to enforce this behavior for other providers, we decide to send the value when we open the bank selection view. If a customer tries to connect with a bLink institution, an error will be sent by Odoo Fin proxy telling that connection with bLink need a 2FA enabled. NB: This commit is only for sending th
Original PR description
One of our future bank synchronization provider, bLink, is asking us to make sure that customers can only connect to their banks if they have a 2FA to login on their database. As we don't want to enforce this behavior for other providers, we decide to send the value when we open the bank selection view. If a customer tries to connect with a bLink institution, an error will be sent by Odoo Fin proxy telling that connection with bLink need a 2FA enabled. NB: This commit is only for sending the info when opening the iframe, all the logic is handled by Odoo Fin. task-id: 3637581 Forward-Port-Of: odoo/enterprise#58941 Forward-Port-Of: odoo/enterprise#56582
There were a few problems reported with the KMD INF and VD reports. 1. The namespace of the VD (EC Sales) XML export was incorrect, causing the file not to be accepted on the autorities platform. This was fixed. 2. In the VD XML export, the numbers were floats, while they had to be integers for the platform to accept the file. This was fixed. 3. Customer credit notes were not taken into account in the KMD INF report. This was a small issue in the SQL query, were we only considered lines wit
Original PR description
There were a few problems reported with the KMD INF and VD reports. 1. The namespace of the VD (EC Sales) XML export was incorrect, causing the file not to be accepted on the autorities platform. This was fixed. 2. In the VD XML export, the numbers were floats, while they had to be integers for the platform to accept the file. This was fixed. 3. Customer credit notes were not taken into account in the KMD INF report. This was a small issue in the SQL query, were we only considered lines with a tax balance > 0, where for credit notes it is < 0. opw-3758841 Forward-Port-Of: odoo/enterprise#58897
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