Friday, June 7, 2024
4 changes
1 change
Resolved issues and error corrections
This change ensures the website live chat chatbot flow test can run reliably when demo data is not installed. It creates the needed portal user during the test, reducing build failures and improving confidence in release checks.
Original PR description
Before this PR, the `website_livechat_chatbot_flow_tour` was failing in no-demo builds. This test uses the demo portal user, which is not available in these cases. This PR fixes the issue by creating a portal user for this test. fixes runbot-65497
2 changes
Resolved issues and error corrections
This fixes an unnecessary warning that appeared when a customer saved a payment token on a subscription. The change helps keep subscription payment flows cleaner and avoids misleading log messages without changing the customer-facing process.
Original PR description
Before this commit, the following warning was visible when customer saved a token on his subscription following https://github.com/odoo/enterprise/pull/49963/files#diff-2ad4b41ff096801e7a6846995ca51ebd96103c40c3591f5b8446771cb3a730e5L172-R182 ``` 2024-06-03 14:52:35,361 130974 INFO prout werkzeug: 127.0.0.1 - - [03/Jun/2024 14:52:35] "POST /payment/status/poll HTTP/1.1" 200 - 215 0.104 4.095 2024-06-03 14:52:35,506 130974 WARNING prout py.warnings: <634>:14: UserWarning: unsupported operand type(s) for "==": 'payment.token()' == '1' ```
1 change
Resolved issues and error corrections
Fixed a bug where the payment term preview was not displaying when a payment term had only one line. Previously, the preview would only appear after adding a second line. Now users can see the payment term preview immediately with just one line configured.
Original PR description
BEFORE (runbot 30/05/2024): https://github.com/odoo/odoo/assets/56789189/81f717b0-29c2-4ae5-8fc0-89b8c6fbf6b4 AFTER: https://github.com/odoo/odoo/assets/56789189/acd9777c-bb46-4aff-a7a9-4f389768fc55 STEP TO REPRODUCE: -Create a payment 15 days after invoice date with one payment term line only -The preview of payment term now should be display on the right bottom corner but it doesn't until we create a second line for it FIX by correct computation of 'example_invalid' will now become True if none lines found 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
This fixes an internal naming issue in the Data Cleaning app introduced during a previous merge. It helps ensure the app references the correct model, reducing the risk of errors in data cleanup workflows.
Original PR description
model name was not changed after merge in 4fc497861fbefee7f4761c3341a3c2bd289edb31