Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Sales (sale_management) • eCommerce (website_sale) • Discuss (mail) • Invoicing (account) • Website (website) |
Lines of code | 302 |
Technical Name |
website_restrict_country |
License | AGPL-3 |
Website | https://www.cybrosys.com |
Versions | 15.0 16.0 17.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Inventory (stock)
• Sales (sale_management) • eCommerce (website_sale) • Discuss (mail) • Invoicing (account) • Website (website) |
Lines of code | 302 |
Technical Name |
website_restrict_country |
License | AGPL-3 |
Website | https://www.cybrosys.com |
Versions | 15.0 16.0 17.0 |

Website Restrict Country
Website Restrict Country for Products that are Unavailable in Certain Countries.

Key Highlights
Countries can be added in the website.
Restrict ordering unavailable products of the Country.
Top Navigation bar with country list.
Direct BUY NOW is restricted for unavailable Products.
custom messages for products they are unavailable.
Restricts the checkout process.

Set Countries in the backend.

User can add custom messages for products that are unavailable.

Product configuration for all or a specific country in the backend.

Top Navigation bar will display selected country list.

If the product is not available, users are restricted from using the direct "Buy Now" option.

On the cart page, created a custom message for the unavailable product in a country.

When the product is restricted in this country, the checkout process is restricted.
-
Customer can attach files in the "my account" screen and "payment" screen.
-
Customer can upload both image and pdf files.
-
Customer can upload multiple files.
-
It is available for all manual transactions.
-
Admin can see the uploaded file in the sale order section.
Initial Commit for Payment Proof Attachment.
Related Products
Our Services

Odoo Customization

Odoo Implementation

Odoo Support

Hire Odoo Developer

Odoo Integration

Odoo Migration

Odoo Consultancy

Odoo Implementation

Odoo Licensing Consultancy
Our Industries

Trading
Easily procure and sell your products

POS
Easy configuration and convivial experience

Education
A platform for educational management

Manufacturing
Plan, track and schedule your operations

E-commerce & Website
Mobile friendly, awe-inspiring product pages

Service Management
Keep track of services and invoice

Restaurant
Run your bar or restaurant methodically

Hotel Management
An all-inclusive hotel management application
Support
Got questions or need help? Get in touch.
Say hi to us on WhatsApp!
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedNot working
Hi Cybrosys,
I tried to install your module in new v16 database. I fill in the country on website and product. The moment I try to add the product to cart, i get this error. Any Idea?
RPC_ERROR
Odoo Server Error
Traceback (most recent call last):
File "<1539>", line 103, in template_1539
File "<1539>", line 57, in template_1539_content
TypeError: 'list' object is not callable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/odoo/src/odoo/odoo/http.py", line 1652, in _serve_db
return service_model.retrying(self._serve_ir_http, self.env)
File "/home/odoo/src/odoo/odoo/service/model.py", line 133, in retrying
result = func()
File "/home/odoo/src/odoo/odoo/http.py", line 1679, in _serve_ir_http
response = self.dispatcher.dispatch(rule.endpoint, args)
File "/home/odoo/src/odoo/odoo/http.py", line 1883, in dispatch
result = self.request.registry['ir.http']._dispatch(endpoint)
File "/home/odoo/src/odoo/addons/website/models/ir_http.py", line 237, in _dispatch
response = super()._dispatch(endpoint)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_http.py", line 154, in _dispatch
result = endpoint(**request.params)
File "/home/odoo/src/odoo/odoo/http.py", line 734, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/home/odoo/src/odoo/addons/website_sale/controllers/main.py", line 872, in cart_update_json
values['website_sale.short_cart_summary'] = request.env['ir.ui.view']._render_template(
File "/home/odoo/src/odoo/addons/website/models/ir_ui_view.py", line 419, in _render_template
return super()._render_template(template, values=values)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_ui_view.py", line 2129, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/home/odoo/src/odoo/odoo/tools/profiler.py", line 294, in _tracked_method_render
return method_render(self, template, values, **options)
File "/home/odoo/src/odoo/odoo/addons/base/models/ir_qweb.py", line 587, in _render
result = ''.join(rendering)
File "<1539>", line 109, in template_1539
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
TypeError: 'list' object is not callable
Template: website_sale.short_cart_summary
Path: /t/div/div/div/t[6]
Node: <t t-set="current_select_country" t-value="request.env[\'website\'].get_current_website().default_country_id.id"/>
The above server error caused the following client error:
null
Grt
Yung-Wa
Re: Not working
This is a V17 app, and you are using a V16 database. Please try the V16 app for better compatibility.
There are no comments yet!