Odoo Help


Is it possible to add a discount coupon code field in e-commerce??

Maitane Itoiz
on 11/7/14, 5:28 AM 3,119 views


I work with Odoo 8 and I've done a e-commerce for sell a product. Everything works fine but I want to add a discount coupon code field and I don't know how to do it. I've seen in the e-commerce module's website that this option is available (as you can see in the picture below, in the right bottom side) but I can't find the way to do it. Is there any module available or someone knows how to add the discount coupon code field?


Thank you in advance.


Tim Norton
On 4/13/15, 6:09 PM

I have a fix for this in v8

In my installation, the view product.pricelist.website.form had a group set to public.

Removing this allowed the Promotional Code field to appear in the pricelist.

However the shopping cart still was not applying the discount when I entered the code in Coupon Code.

This was due to a bug, which was fixed in this patch.


I hope this saves you a lot of time.

Jean-Marc Dupont
On 1/29/15, 12:21 PM

It doesn't work on my installation

I enter the promotional code in the Shopping cart page and nothing happens !




| 5 5 7
Bikaner, India

OpenERP Developer at SunARC Technology

On 11/11/14, 3:07 AM

The below steps to Configure ecommerce shop coupons:-

1) In Admin Role Menu  Settings --> Configuration --> Sales
Customer Features check "Use pricelists to adapt your price per customers" and Apply

2) Create/Edit  PriceList and Subtab Create PriceList Version and Price List Item using the below odoo document link 


  You can define/Edit a pricelist from the menu Sales --> Configuration --> Pricelists --> Pricelists

  For each list you should define:
  Promotional Code (is equal to Coupon Code)

  a Name for the list,

  a Type of list: Sale for customers or Purchase for suppliers,

  the Currency in which the prices are expressed.
   In sub tab create Price List Version and Price List Items

3) In the Page http://localhost:8069/shop/cart
   Menu --> Customize --> check "Reduction Code" after tht you can view "Coupon Code" options
   and Apply based on the Product Pricelist Rule amount will be calculate   

One key point you have missed here is that the ecommerce module needs to be installed for the field 'promotional code' to be available on pricelists, it is not generally available for use in simple back-office system.

Hertford Developments Limited, Kurt Haselwimmer
on 11/19/14, 1:22 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

2 follower(s)


Asked: 11/7/14, 5:28 AM
Seen: 3119 times
Last updated: 4/13/15, 6:09 PM