Community mailing list archives

community@mail.odoo.com

Shop Payment - Unable to ship your order

by
Laura
- 05/18/2016 05:57:20



Hi Community! 


On Odoo website. I want to restrict the shop payment when the users choose any country that I dont want that they buy.

When user select on billing information any country except that I want the next message will be:

"Sorry, we are unable to ship your order

No shipping method is available for your current order and shipping address. Please contact us for more information."


This message on model is:     website_sale_delivery/models/sale_order.py

Then I suppose that there is  an option in odoo backend that I can activate. Does anyone know the solution?

Because on Warehouse/Configuration/Delivery Methods. When I select destination only the country that I want. Nothing happen. 


Thanks a lot!







Laura Muñoz
Departament de Disseny
administracio@syc-cylinders.eu
SYC Cylinders Europe, SA
Huelva, 1
08940 Cornellà de Llobregat
Barcelona

T 93 336 36 17
F 93 335 81 22
info@syc-cylinders.eu

www.syc-cylinders.eu