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

[15.0][IMP] payment_redsys: remove website_sale dependency #3804

Merged

Conversation

Tisho99
Copy link
Contributor

@Tisho99 Tisho99 commented Nov 12, 2024

Backward Port of #3777

T-6685

@Tisho99
Copy link
Contributor Author

Tisho99 commented Nov 12, 2024

Copy link
Contributor

@ValentinVinagre ValentinVinagre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@pedrobaeza pedrobaeza added this to the 15.0 milestone Nov 12, 2024
@@ -105,7 +105,7 @@ def _get_website_url(self):
or self.env.context.get("website_id")
and self.env["website"].browse(self.env.context["website_id"])
)
domain = website and website.domain or ""
domain = website and website.domain
Copy link
Member

@pedrobaeza pedrobaeza Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?Por qué quitar el or ""? Así, puedes tener un False pululando por ahí que dé error.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eso diría que se tendría que haber preguntado en el PR original de https://github.com/OCA/l10n-spain/pull/3777/files 😝 ya que realizaron ellos el cambio. Podemos volverlo a añadir en esta versión si es necesario.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, ahí no revisé yo como vi 3 aprobados y lo único que hice fue fusionar, pero no debería quitarse. Si no, no tiene sentido tampoco el and y bastaría con website.domain. Restituidlo por favor.

Copy link
Contributor

@ValentinVinagre ValentinVinagre Nov 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

te parece que se haga en un segundo commit por si se quiere pasar a las superiores?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No merece la pena un commit aparte.

…eration to make web.base.url the default if website is not installed
@Tisho99 Tisho99 force-pushed the 15.0-payment_redsys-website-dep-deleted branch from 12b5729 to 3ee60ac Compare November 12, 2024 16:27
@Jaimermaccione
Copy link

@Tisho99 LGTM! Probado en entorno local.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 15.0-ocabot-merge-pr-3804-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit d806d82 into OCA:15.0 Nov 13, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 0fb9b09. Thanks a lot for contributing to OCA. ❤️

@HaraldPanten HaraldPanten deleted the 15.0-payment_redsys-website-dep-deleted branch November 13, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants