Saturday, July 30, 2022
3 changes · master
Miscellaneous changes
When the payment reference on an invoice is empty an error occurs when trying to post. The error comes from trying to retrieve a slice on a bool. To solve this, a t-if has been added in this commit, such that the function is not called when the field is empty. Forward-Port-Of: odoo/odoo#97089
Original PR description
When the payment reference on an invoice is empty an error occurs when trying to post. The error comes from trying to retrieve a slice on a bool. To solve this, a t-if has been added in this commit, such that the function is not called when the field is empty. Forward-Port-Of: odoo/odoo#97089
What are the steps to reproduce your issue ? 1. Install "website_sale_comparison" 2. Go to an e-commerce website 3. Open 2 different products on separate tabs 4. Click compare on 1 of the product tabs 5. Switch to the other product tab and click compare What is currently happening ? There is a JavaScript error. What are you expecting to happen ? Both products to be added to the comparison panel. Why is this happening ? Because the product
Original PR description
What are the steps to reproduce your issue ? 1. Install "website_sale_comparison" 2. Go to an e-commerce website 3. Open 2 different products on separate tabs 4. Click compare on 1 of the product…
What are the steps to reproduce your issue ?
1. Install "website_sale_comparison"
2. Go to an e-commerce website
3. Open 2 different products on separate tabs
4. Click compare on 1 of the product tabs
5. Switch to the other product tab and click compare
What is currently happening ?
There is a JavaScript error.
What are you expecting to happen ?
Both products to be added to the comparison panel.
Why is this happening ?
Because the product ID from the first tab was never loaded into the comparison table before adding the second product.
The user is required to first refresh the page or navigate to the second product after adding the first.
How to fix the bug ?
Check whether the product ID of the first item exists inside product_data before trying to access it.
Although it means the first item still does not appear, both products will be present in the user's cookies.
When the user refreshes the page or navigates away, both products will be visible in the comparison panel.
Forward-Port-Of: odoo/odoo#64259Description of the issue/feature this PR addresses: In the pos restaurant/bar the orders are linked to a table. The tables can be deleted but the order still exists. In the POS, when we go to "orders" and search for paid orders, it will not work if a table was deleted before. As the table does not exist anymore, we can't find the floor on which was the table fixes opw-2835603 Current behavior before PR: The order doesn't show because we have an error in the console Desired beha
Original PR description
Description of the issue/feature this PR addresses: In the pos restaurant/bar the orders are linked to a table. The tables can be deleted but the order still exists. In the POS, when we go to "orders" and search for paid orders, it will not work if a table was deleted before. As the table does not exist anymore, we can't find the floor on which was the table fixes opw-2835603 Current behavior before PR: The order doesn't show because we have an error in the console Desired behavior after PR is merged: the orders are showing normally -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#96873