Thursday, May 9, 2024
8 changes · saas-17.2
Miscellaneous changes
At the end of the chat with odoobot, odoobot state is `idle` and the message which is sent to user in this state doesn't contain `start the tour` so at the end of the chat, user never knows that it's possible to start the tour again! This PR changes the wording in messages from odooBot in `idle` state to contain `start the tour` again possibility. This is a part of task-3570249 but since from 15.0 it's similar in all versions, the fix should be applied on all of them. Forward-Port-Of:
Original PR description
At the end of the chat with odoobot, odoobot state is `idle` and the message which is sent to user in this state doesn't contain `start the tour` so at the end of the chat, user never knows that it's possible to start the tour again! This PR changes the wording in messages from odooBot in `idle` state to contain `start the tour` again possibility. This is a part of task-3570249 but since from 15.0 it's similar in all versions, the fix should be applied on all of them. Forward-Port-Of: odoo/odoo#164784 Forward-Port-Of: odoo/odoo#163950
When printing a check, the pop-up window remains on the screen even after the user has already printed the check and this can confuse the user and print the check multiple times. So, closing the pop-up when a check is printed and downloaded. Task ID: 3860354 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#162067
Original PR description
When printing a check, the pop-up window remains on the screen even after the user has already printed the check and this can confuse the user and print the check multiple times. So, closing the pop-up when a check is printed and downloaded. Task ID: 3860354 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#162067
Box 49 of the Swedish tax report should be the total of the amounts in boxes 10, 11, 12, 30, 31, 32, 60, 61 and 62 minus the amount in box 48. See [doc](https://skatteverket.se/servicelankar/otherlanguages/inenglishengelska/businessesandemployers/startingandrunningaswedishbusiness/declaringtaxesbusinesses/vat/vatitemsboxbybox.4.3dfca4f410f4fc63c8680004502.html#:~:text=Here%20you%20enter%20the%20VAT%20that%20you%20will%20pay%20or%20have%20refunded%20for%20the%20period%2C%20meaning%20the%20total%2
Original PR description
Box 49 of the Swedish tax report should be the total of the amounts in boxes 10, 11, 12, 30, 31, 32, 60, 61 and 62 minus the amount in box 48. See…
Box 49 of the Swedish tax report should be the total of the amounts in boxes 10, 11, 12, 30, 31, 32, 60, 61 and 62 minus the amount in box 48. See [doc](https://skatteverket.se/servicelankar/otherlanguages/inenglishengelska/businessesandemployers/startingandrunningaswedishbusiness/declaringtaxesbusinesses/vat/vatitemsboxbybox.4.3dfca4f410f4fc63c8680004502.html#:~:text=Here%20you%20enter%20the%20VAT%20that%20you%20will%20pay%20or%20have%20refunded%20for%20the%20period%2C%20meaning%20the%20total%20of%20the%20amounts%20in%20boxes%2010%2C%2011%2C%2012%2C%2030%2C%2031%2C%2032%2C%2060%2C%2061%20and%2062%C2%A0minus%20the%20amount%20in%20box%2048.%20%C2%A0). Currently, Box 49 is defined as `Block B + Block I + Block D + Block F`, with: ``` Block B = (box 10 + box 11 + box 12) Block I = (box 60 + box 61 + box 62) Block D = (box 30 + box 31 + box 32) Block F = (box 48) ``` Therefore, Box 49 should be `Block B + Block I + Block D - Block F`. Enterprise PR: https://github.com/odoo/enterprise/pull/61525 opw-3860025 Forward-Port-Of: odoo/odoo#164780 Forward-Port-Of: odoo/odoo#162006
This traceback occurs when the user tries to edit the website searchbar To reproduce this issue:- 1) Install `website_sales` 2) open `website` and click on the `search icon` 3) A `website search box` will popup 4) Now open the `editor` and try to change the `inline text` 5) Save the record 6) A traceback appears Error:- ``` ValueError: not enough values to unpack (expected 1, got 0) ``` The issue is occurring because on `web search box` we are getting section_xpath - `/d
Original PR description
This traceback occurs when the user tries to edit the website searchbar To reproduce this issue:- 1) Install `website_sales` 2) open `website` and click on the `search icon` 3) A `website search box` will popup 4) Now open the `editor` and try to change the `inline text` 5) Save the record 6) A traceback appears Error:- ``` ValueError: not enough values to unpack (expected 1, got 0) ``` The issue is occurring because on `web search box` we are getting section_xpath - `/data/xpath[3]/form/t[1]/div[1]/button[1]/i[1]` and we are not getting any value in root from this `section_xpath` over here - https://github.com/odoo/odoo/blob/cdedc1752b845bed9acc0dd4bfeb4b343b675326/addons/web_editor/models/ir_ui_view.py#L121 To fix this issue `o_not_editable` class has been used on that website search bar sentry-3933794130 Forward-Port-Of: odoo/odoo#164129
### [FIX] payment_razorpay: fix proccessing data in token flow Steps: - Install razorpay and sales app. - Enable Razorpay provider. - Create a create a token in razorpay. - Pay via that token. Issue: - When we are paying via token we really don't need processing values because those processing values only needed when we open Razorpay form so here it is calling APIs(customer and order) and creating order unwantedly. Fix: - Return empty dict when operation is `online_token` in `_
Original PR description
### [FIX] payment_razorpay: fix proccessing data in token flow Steps: - Install razorpay and sales app. - Enable Razorpay provider. - Create a create a token in razorpay. - Pay via that token. Issue: - When we are paying via token we really don't need processing values because those processing values only needed when we open Razorpay form so here it is calling APIs(customer and order) and creating order unwantedly. Fix: - Return empty dict when operation is `online_token` in `_get_specific_processing_values` method IMP/REV of PR: https://github.com/odoo/odoo/pull/157533 task-3653372 Forward-Port-Of: odoo/odoo#164595 Forward-Port-Of: odoo/odoo#159250
Before this commit, users were not allowed to activate the bridge to the documents app to work on Bank and Cash journals. This commit allows Bank and Cash journal documents to be centralized the same way other journals are. There does not seem to be particular reason about excluding Bank and Cash journals from the documents bridge. The potential of showing unwanted bank account numbers in a general repository can always be managed by other means such as access rights. The exclusion was add
Original PR description
Before this commit, users were not allowed to activate the bridge to the documents app to work on Bank and Cash journals. This commit allows Bank and Cash journal documents to be centralized the same way other journals are. There does not seem to be particular reason about excluding Bank and Cash journals from the documents bridge. The potential of showing unwanted bank account numbers in a general repository can always be managed by other means such as access rights. The exclusion was added in this PR https://github.com/odoo/enterprise/pull/10141 but it seems unnecessary and needs to be removed. task-3839839 Forward-Port-Of: odoo/enterprise#62088
Community PR: https://github.com/odoo/odoo/pull/162006 opw-3860025 Forward-Port-Of: odoo/enterprise#62124 Forward-Port-Of: odoo/enterprise#61525
Original PR description
Community PR: https://github.com/odoo/odoo/pull/162006 opw-3860025 Forward-Port-Of: odoo/enterprise#62124 Forward-Port-Of: odoo/enterprise#61525
Avatax support confirmed to us that they now require a modeDescription for "Other" payment methods. There are other required attributes we can't easily add, so instead we change the cardTpIntegration type to one that doesn't need these new attributes. opw-3915009 Forward-Port-Of: odoo/enterprise#62161
Original PR description
Avatax support confirmed to us that they now require a modeDescription for "Other" payment methods. There are other required attributes we can't easily add, so instead we change the cardTpIntegration type to one that doesn't need these new attributes. opw-3915009 Forward-Port-Of: odoo/enterprise#62161