← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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

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

-- 
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):
  New

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


Follow ups

References