← Back to team overview

openerp-india team mailing list archive

[Bug 1048706] Re: Cannot stop a subscription after deleting the cron

 

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1048706

Title:
  Cannot stop a subscription after deleting the cron

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  How to reproduce :

  - install the 'subscription' module
  - create a subscription based on anything (an invoice, for instance)
  - start the subscription
  - delete the cron just created
  - try to stop the subscription

    File ".../openerp-6.1-20120905-232133/openerp/addons/subscription/subscription.py", line 141, in set_done
      ids2 = [x['cron_id'][0] for x in res if x['id']]
  TypeError: 'bool' object is unsubscriptable

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


References