Daily updates from Odoo
Friday, June 7, 2019
5 changes · master
Resolved issues and error corrections
This corrects a small typo in the Website Slides app introduced by an earlier change. It helps keep online course content and interface text polished without changing functionality.
Original PR description
…323d82758ed4c487 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 issue from a previous code merge that could leave the Buy Now button disabled in the online shop. Customers should now have the expected purchasing option available when selecting product variants.
Original PR description
Some code was not correctly merged during forward port. commit introducing the new method 51ef851 commit introducing the issue: 71a50a2 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where signature-related screens could fail to load all required interface components. Users signing documents through the web or portal should see a more reliable signing experience without missing elements.
Original PR description
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 PayPal checkout flows so customers are returned to the correct Odoo page after completing or cancelling a payment. It prevents error screens and dead ends, improving the reliability of ecommerce payments in test and cancellation scenarios.
Original PR description
[1] Paypal configured in test mode in Odoo-> traceback after successful payment when going back to Odoo in an ecommerce checkout. [2] Cancel transaction in paypal interface heads to a deadend screen in Odoo. task-1997961 pad link- https://pad.odoo.com/p/r.390991ba2d29a56232ba3abdc58ec8a3
This update ensures the signing dialog waits for all required signature components to load before users interact with it. It helps prevent errors or incomplete signature fields when opening signature-related popups.
Original PR description
The name and signature widget needs to load additional xml dependencies which is asynchronous so the start method of this widget (originally called by 'replace' when the modal was opened) cannot be called in the modal opened handler like it used to as this breaks the loading promise chain since nothing would wait on the promise returned by the start of the name and signature widget. The start of this widget is now relegated to the willStart of the dialog such that it can be waited for appropriately. However, the start of name and signature used to call resetSignature, which would not work properly unless the node is in the DOM, which is not yet the case during willStart. So it was changed so that it would not call resetSignature in its start method. It is now the responsibility of the widget which uses name and signature to call resetSignature when it is in the DOM, so the code of sign has to be adapted as well.