← Back to team overview

savoirfairelinux-openerp team mailing list archive

[Bug 1291260] [NEW] sale_reset_order method is not defined but used in 'mycart'

 

You have been subscribed to a public bug by Stefan Badenhorst (stefan-badenhorst):

File: addons/website_sale/controllers/main.py
Class: Ecommerce
Method: mycart

Defective code:

316              if order and order.state != 'draft': 
317              request.registry['website'].sale_reset_order(cr, uid, context=context) 
318              return request.redirect('/shop/') 

sale_reset_order is not defined in the website class.

Causes '500: Internal Server Error' Message: 'website' object has not
attribute 'sale_reset_order'

Platform: Ubuntu

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
sale_reset_order method is not defined but used in 'mycart'
https://bugs.launchpad.net/bugs/1291260
You received this bug notification because you are a member of E-Commerce Addons Core Editors, which is subscribed to the bug report.