← Back to team overview

openerp-india team mailing list archive

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

 

Hello,

    It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1048706-vba
    Revision ID: vba@xxxxxxxxxxx-20120917100356-qxo6yoxe3p2710zs
    Revision NO: 7470

Thanks,
  vba

** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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):
  Fix Committed

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