6 Commits
Author SHA1 Message Date
mathysPaul d9b6faea4d [FIX] payment_stripe: Correct Afterpay shipping info
Resolves an issue with Afterpay via Stripe not receiving correct
shipping address details, causing transaction failures. Now,
ensures shipping address from the order or invoice is accurately
sent to Stripe if we have it.

opw-3419984

closes odoo/odoo#160300

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-04-08 07:35:54 +00:00
mathysPaul 64d1febc43 [FIX] sale_loyalty: prevent coupon removal on double apply
Addresses the issue where reapplying an already applied coupon
in the website shop led to the disappearance of the discount.
With this fix, the discount remains applied, and the system
continues to inform the user that the coupon has already been
used, preventing confusion and maintaining consistency in the
discount application process.

task-3621246

closes odoo/odoo#153485

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2024-03-28 18:06:43 +00:00
mathysPaulandVictor Feyens 865b6703a1 [FIX] product,sale(_*): pricelists multi-company checks
Since 83c52575d0, there
is no default pricelist in new database, and a magic
pricelist is created for each company when the pricelist
setting is enabled.

But, since this automatically created pricelist is restricted
to a specific company, you couldn't use it as 'Base' for
rules of other pricelists, which are, by default, shared
between companies, unless you set a specific company on them.

This commit changes that default behavior, to restrict
pricelists to the current company (unless the field is
manually emptied), to avoid those multi-company issues,
particularly in single-company databases where
multi-company issues are not expected.

Also, while testing this task, we discovered that a user
could change the company of a pricelist, even if it conflicted
with existing rules.  To avoid this situation, we now trigger
the multi-company check on the pricelist rules when the
pricelist company is updated.

task-3610823

closes odoo/odoo#147014

Related: odoo/enterprise#55857
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Co-authored-by: Victor Feyens <vfe@odoo.com>
2024-02-27 17:40:50 +00:00
mathysPaul e2f29f48f5 [FIX] payment_stripe: Store Stripe mandates
Addresses the issue where mandates returned by Stripe were not
being saved in the database, rendering them unused. The fix
involves retrieving mandate information from the charge object
in Stripe, as the mandate data is included in the payment method
details of the charge object, rather than in the payment methods
object.

task-3594745

closes odoo/odoo#153329

X-original-commit: 1db395eb8a12058702b5e7dbd7213c65ae2ac52b
Signed-off-by: Valentin Chevalier <vcr@odoo.com>
2024-02-09 11:57:31 +00:00
mathysPaul 0340c73f44 [FIX] sale: Change 'create invoice' shortcut to alt-i
Resolves the conflict where two shortcuts (alt-c for 'new' and
'create invoice') existed, but only 'new' could be triggered.
Updates the shortcut for 'create invoice' to alt-i, ensuring
both shortcuts are functional and accessible.

task-3628572

closes odoo/odoo#146307

Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2024-02-05 19:43:36 +00:00
mathysPaul 93d7f33fce [FIX] website_sale: Fix poor quality image tags
Addresses the pixelation of tag images by adjusting their size
in the backend to 200x200. This change resolves the issue of
images being resized from 50x50 to 60x20 in the frontend, which
caused pixelation, ensuring improved image quality.

task-3607604

closes odoo/odoo#144724

Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2024-02-05 19:43:35 +00:00