Odoo Help


Coupon code / Promotional code

on 4/26/16, 8:10 AM 868 views

What is the proper way of setting up the coupon code / promotional code?
I have gone as far as setting up pricelist for the discount, and then activate Coupon-code on /shop/cart, but...


1. The discounted prices shows up everywhere on the site.

2. The promotional code always appears on the /shop/cart page, so even new user doesn't need to enter anything to obtain discount.

Can anybody help?

On 4/26/16, 9:24 AM

Never mind, just found it.

(Update 22:58: sorry for not explaining the reply earlier, I thought being newbie I asked something obvious/stupid that everybody knew.)

The solution is to create two pricelists: one as default and the other with discount.

Then in the website pricelist, we must also create two website-to-pricelist links (relations)  in the order : default-website-pricelist first and the discounted website-pricelist after.

On the website, the default pricelist (without discount) will be displayed as this website-pricelist is found first, and only when the user enters the promotional code (in shop/cart) that the discounted price will be displayed.


Actually at first I found it not very intuitive until I thought like a programmer, and ask myself what would I do to implement this functionality, and then it all makes sense. Some of odoo design is done from programmer's point of view (which is good now that I know about it).

It is useless, if you do not provide the answer you have found yourself. Please specify also the Odoo version and the corresponding module you have installed. I'm sure this would be useful for others facing the same issue.

Ermin Trevisan
on 4/26/16, 10:42 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 4/26/16, 8:10 AM
Seen: 868 times
Last updated: 4/26/16, 9:24 AM