Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Website Coupon Code v 10.0
  4. Sales Conditions FAQ

Website Coupon Code

by Cybrosys Techno Solutions https://www.cybrosys.com
Odoo 9
v 10.0 v 11.0 v 12.0 Third Party 2871
Download for v 10.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Sales (sale)
• eCommerce (website_sale)
• Invoicing (account)
• Discuss (mail)
• Website Builder (website)
Technical Name website_coupon
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 10.0 11.0 12.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Sales (sale)
• eCommerce (website_sale)
• Invoicing (account)
• Discuss (mail)
• Website Builder (website)
Technical Name website_coupon
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Versions 10.0 11.0 12.0

Website Coupon

..Manage Your Coupons Simply..

Cybrosys Technologies

Overview

This module by Cybrosys Technologies allows us to manage our customers in a better way by providing discount coupons to our special customers, and thereby increase the sales.

Features

Create and configure vouchers for providing a discount based on product, product category or for all products.

Generate a unique code for each coupon.

Limit the usage of coupons by each user.

Provide a validity for the coupons.

History of coupons used by each customer.

Enable the voucher option from the website.

When we added some product to our cart, under the 'Customize' menu, we can see the 'Voucher Code' option.

Apply the coupon by providing the secret code.

After enabling the 'Voucher Code' option, we can enter our coupon code. If that code is valid, it will be applied to the order. The validation is based on the expiry date of the voucher, the voucher type, coupon code entered, coupon balance, etc. The total amount of an order can't be zero or less than, zero.

After we have entered the coupon code and pressed the apply button, the system will check the amount after applying the coupon specified is greater than zero or not. If not, we cannot apply this coupon to this order. In this case we will see a notification saying that this coupon is not applicable.

Create and configure vouchers.

For creating a voucher, there are three options. We can create a voucher for a single product or a product category or for the complete products. For the first option, we need to specify a product, that means, this voucher will be applicable only if the customer has selected this product in his order. The minimum and maximum voucher values can be set here. The expiry date indicates the validity of this voucher.

For creating voucher for a product category, we need to select a category. In this case, this voucher will be applicable only if the cart contains products from this category.

The third option can be used to provide discounts for all the products.

Create and configure coupons and codes.

When we create the coupon, a unique, auto-generated and editable code will be there for each coupon. There are mainly two types of coupons, fixed and percentage. The fixed type is used to deduct a fixed amount from the order. The percentage type will deduct a certain percentage of amount from the order. The total number of available coupons and the number of times one user can use this coupon can be set here. It is also possible to limit this coupon to a single customer, i.e, only one customer can use this coupon.

Coupon History.

Under the 'Coupon History' menu, we can see the details of coupons used by all the customers.

Our Service

Odoo
Customization

Odoo
Implementation

Odoo
Integration

Odoo
Support

Hire
Odoo Developer

Our Industries

Odoo Industry

Trading

Easily procure and sell your products.

Odoo Industry

Manufacturing

Plan, track and schedule your operations.

Odoo Industry

Restaurant

Run your bar or restaurant methodical.

Odoo Industry

POS

Easy configuring and convivial selling.

Odoo Industry

E-commerce & Website

Mobile friendly, awe-inspiring product pages.

Odoo Industry

Hotel Management

An all-inclusive hotel management application.

Odoo Industry

Education

A Collaborative platform for educational management.

Odoo Industry

Service Management

Keep track of services and invoice accordingly.

Email us

odoo@cybrosys.com

Contact Us

www.cybrosys.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
  • Ratings
  • Discuss
If you add the code to the cart and then remove products, the discount is not recalculated
by
Davide Gazzotti
on 4/4/20, 3:38 AM

Unfortunately you can experience discounts larger than products amount: this module calculated the % amount of the discount code when you add it to the cart. If you then remove products from the cart, thus lowering the value of the order, the discount is not recalculated and you may end up processing negative sales orders!!!! Tested personally on v10


Works good. No multi currency option.
by
Frank Miao
on 12/14/18, 8:29 AM

Is there any plan to add multi currencies for the module. Seems only company currency is supported for the module.


Work as expected. Good code. Devs quickly answer questions.
by
Xavier Brochard
on 9/26/18, 11:26 AM

by
Reshma krishnan
on 5/25/17, 12:19 AM

Install error ODOO10ce
by
Jaf Faizal Jalaluddin
on 10/7/18, 2:16 PM

Got following error msg: ----------------------------------------------------------------------------------------------------------------------------- Traceback (most recent call last): File "/odoo/odoo-server/odoo/http.py", line 642, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) ........... ..... ... File "/odoo/odoo-server/odoo/models.py", line 1081, in _validate_fields raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e))) ParseError: "Error while validating constraint Element '<xpath expr="//table[@id='cart_products']/tbody//td[@id='td-qty']/div">' cannot be located in parent view Error context: View `Optional products` [view_id: 830, xml_id: website_sale_options.optional_products, model: n/a, parent_id: 699] None" while parsing None:32, near <xpath expr="//table[@id='cart_products']" position="replace">

Product Quantity Price

Remove
Remove
--------------------------------------------------------------------------------------------------------------------- Assistance much appreciated.

by
Xavier Brochard
on 9/26/18, 11:28 AM

@Deyvys Current module doesn't work if optional products in cart are set (setting option of website). A patch has been released in the repository.


error install
by
Deyvys
on 9/17/18, 7:14 PM

File "/opt/odoo/odoo/models.py", line 1081, in _validate_fields raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e))) ParseError: "Error mientras se validaban las restricciones El elemento '<xpath expr="//table[@id='cart_products']/tbody//td[@id='td-qty']/div">' no puede ser localizado en la vista padre Error de contexto: Vista `Optional products` [view_id: 1070, xml_id: website_sale_options.optional_products, model: n/a, parent_id: 899] None" while parsing None:32, near <xpath expr="//table[@id='cart_products']" position="replace">

Product Quantity Price

Remove
Remove

error intall
by
Deyvys
on 9/17/18, 7:13 PM

bug with fixed amount type
by
j3st3r
on 12/26/17, 1:04 PM

if i choose type of gift coupon percentage - everything works fine but if I choose'fixed amount' there is an error: ocal variable 'amount_final' referenced before assignment Traceback (most recent call last): File "/opt/odoo/addons/website/models/ir_http.py", line 273, in _handle_exception response = super(Http, cls)._handle_exception(exception) File "/opt/odoo/odoo/addons/base/ir/ir_http.py", line 169, in _handle_exception return request._handle_exception(exception) File "/opt/odoo/odoo/http.py", line 768, in _handle_exception return super(HttpRequest, self)._handle_exception(exception) File "/opt/odoo/odoo/addons/base/ir/ir_http.py", line 195, in _dispatch result = request.dispatch() File "/opt/odoo/odoo/http.py", line 827, in dispatch r = self._call_function(**self.params) File "/opt/odoo/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/opt/odoo/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/opt/odoo/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/opt/odoo/odoo/http.py", line 935, in call return self.method(*args, **kw) File "/opt/odoo/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) File "/opt/odoo/addons/website_coupon/controllers/main.py", line 128, in gift_coupon res = coupon_product.product_tmpl_id.write({'list_price': -amount_final}) UnboundLocalError: local variable 'amount_final' referenced before assignment could you please help with it?


Can you provide update for v11
by
Vinay Khosla
on 11/27/17, 10:04 AM

Hi Can you provide v11 of this module? Thanks,


Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with