此问题已终结

Hi Odoo Community,


I'm seeking guidance on two aspects related to the display of promo codes in the order overview:


  1. Editing Promo Code Picture: When a discount code is applied to an order, a default picture frame appears in the overview - which I find unappealing. Is there a way to customize this by either adding a specific image or removing the picture box altogether?



  2. Promo Code Quantity Display: The applied promo code shows as "1 x" in the order overview. Since it doesn’t make sense to apply the same discount multiple times, is it possible to remove or hide this quantity indication? - It tends to clutter the display and can be confusing.



Any insights on how to achieve these customizations would be greatly appreciated. Looking forward to your suggestions!


Thanks!

形象
丢弃
最佳答案

Hi Sergio:

For point 1, you can configure the image by setting the image of the product "10% off your order thanks to Eevee!".

For point 2, you will have to customize the underlying view to hide the qty if the product on that line is one of the discount products. This is a slightly complex customization that is difficult to explain here.

形象
丢弃