Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][FIX] website_sale: Terms and conditions keep button disabled #159587

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Mar 27, 2024

Steps to reproduce:

  • Setup sendcloud shipping (shipping product 10-30KG)
  • Enable demo payment
  • On the website proceed to checkout (customizable desk)
  • Select sendcloud (Pay button is disabled)
  • Edit website and add terms and conditions
  • Now if you uncheck and recheck terms and conditions
  • Pay button is enabled although carrier is in error

Fix:
when reenabling the pay button we check that the
carrier is ready but we only check if there's pickup point ensure that the shipping method is avialable before enabling the pay button

opw-3698804

Forward-Port-Of: #159133

@robodoo
Copy link
Contributor

robodoo commented Mar 27, 2024

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Mar 27, 2024
@C3POdoo C3POdoo added the OE the report is linked to a support ticket (opw-...) label Mar 27, 2024
@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 27, 2024

@HANNICHE-Walid @AntoineVDV ci/runbot failed on this forward-port PR

@HANNICHE-Walid HANNICHE-Walid force-pushed the master-saas-16.3-opw-3698804-TCPayButton-waha-qpMw-fw branch from 1a12fc5 to 003e156 Compare March 28, 2024 10:07
Steps to reproduce:
- Setup sendcloud shipping (shipping product 10-30KG)
- Enable demo payment
- On the website proceed to checkout (customizable desk)
- Select sendcloud (Pay button is disabled)
- Edit website and add terms and conditions
- Now if you uncheck and recheck terms and conditions
- Pay button is enabled although carrier is in error

Fix:
when reenabling the pay button we check that the
carrier is ready but we only check if there's pickup point
ensure that the shipping method is avialable before enabling
the pay button

opw-3698804

X-original-commit: 7682c4b
@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 28, 2024

@HANNICHE-Walid @AntoineVDV this PR was modified / updated and has become a normal PR. It should be merged the normal way (via @robodoo)

@HANNICHE-Walid
Copy link
Member

@fw-bot r+

@fw-bot
Copy link
Contributor Author

fw-bot commented Mar 28, 2024

@HANNICHE-Walid I can only do this on unmodified forward-port PRs, ask robodoo.

@HANNICHE-Walid
Copy link
Member

@robodoo r+

robodoo pushed a commit that referenced this pull request Mar 30, 2024
Steps to reproduce:
- Setup sendcloud shipping (shipping product 10-30KG)
- Enable demo payment
- On the website proceed to checkout (customizable desk)
- Select sendcloud (Pay button is disabled)
- Edit website and add terms and conditions
- Now if you uncheck and recheck terms and conditions
- Pay button is enabled although carrier is in error

Fix:
when reenabling the pay button we check that the
carrier is ready but we only check if there's pickup point
ensure that the shipping method is avialable before enabling
the pay button

opw-3698804

closes #159587

X-original-commit: 7682c4b
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Signed-off-by: Walid Hanniche (waha) <waha@odoo.com>
@robodoo robodoo closed this Mar 31, 2024
@robodoo robodoo added the 17.3 label Mar 31, 2024
@fw-bot fw-bot deleted the master-saas-16.3-opw-3698804-TCPayButton-waha-qpMw-fw branch April 14, 2024 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
17.3 forwardport This PR was created by @fw-bot OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants