Odoo Help

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 1,173 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.

About This Community

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

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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