← Back to team overview

savoirfairelinux-openerp team mailing list archive

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

 

Hi Stefan, i saw some results after searching for this issue on google,
but can't find the fix for that. Did you know if this issues was fixed
in another branch ?

-- 
You received this bug notification because you are a member of
E-Commerce Addons Core Editors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1291260

Title:
  sale_reset_order method is not defined but used in 'mycart'

Status in OpenERP Addons (modules):
  New

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1291260/+subscriptions