Website Coupon Code

by
Odoo 4
v 10.0 Third Party 1651
Download for 10.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name website_coupon
LicenseAGPL-3
Websitehttps://www.cybrosys.com
Repositorygit@github.com:CybroOdoo/CybroAddons.git#10.0
Read description for v 11.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.

Please log in to comment on this module

Odoo
Works good. No multi currency option.
by on

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

Odoo
Install error ODOO10ce
by on

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.
Odoo
by on

@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.

Odoo
Work as expected. Good code. Devs quickly answer questions.
by on
Odoo
error install
by on

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
Odoo
error intall
by on
Odoo
Bug fixed
by on

Hi j3st3r, The mentioned issue is cleared and you can now download the module and use

Odoo
bug with fixed amount type
by on

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?

Odoo
Can you provide update for v11
by on

Hi Can you provide v11 of this module? Thanks,

Odoo
by on