Odoo Help

Welcome!

This community 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.

0

How to show warning message when no delivery method is available for the total weight on ecommerce?

By
Alain Vanzella
on 11/7/14, 12:39 PM 877 views

When no delivery method is available for the total weight on ecommerce Odoo returns a 500 error.

Traceback (most recent call last):

  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\website\models\ir_http.py", line 204, in _handle_exception
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\base\ir\ir_http.py", line 100, in _handle_exception
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\http.py", line 595, in _handle_exception
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\base\ir\ir_http.py", line 126, in _dispatch
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\http.py", line 613, in dispatch
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\http.py", line 282, in _call_function
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\service\model.py", line 113, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\http.py", line 279, in checked_call
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\http.py", line 732, in __call__
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\http.py", line 375, in response_wrap
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\website_sale_delivery\controllers\main.py", line 18, in payment
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\api.py", line 237, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\website_sale_delivery\models\sale_order.py", line 86, in _check_carrier_quotation
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\api.py", line 235, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\api.py", line 552, in new_api
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\delivery\sale.py", line 92, in delivery_set
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\api.py", line 237, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\delivery\delivery.py", line 220, in get_price
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\.\openerp\api.py", line 237, in wrapper
  File "C:\Program Files (x86)\Odoo 8.0-20140920-000204\server\openerp\addons\delivery\delivery.py", line 237, in get_price_from_picking
except_orm: (u'Unable to fetch delivery method!', u"Selected product in the delivery method doesn't fulfill any of the delivery grid(s) criteria.")

It would be nice to have an editable warning message to advise the customer to request a special quote for heavy weights.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 11/7/14, 12:39 PM
Seen: 877 times
Last updated: 3/16/15, 8:10 AM