← Back to team overview

openerp-india team mailing list archive

[Bug 1174329] Re: bug in subscription module

 

Hello,

Tried the same on v7, working fine.
Would you please try the same with latest version7 and let me know have you still faced the problem on not.

Thanks and waiting for your reply!

** Changed in: openobject-addons
       Status: Triaged => Incomplete

-- 
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/1174329

Title:
  bug in subscription module

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Hello,
  my server returns this random  error when I try a subscription of an invoice.
  I checked that everything is correct, and I have 50 subscriptions...., randomly, no execute between 1 and 2.
  may be happening?

  2013-04-28 20:10:01,943 4526 ERROR ? openerp.addons.base.ir.ir_cron: Call of self.pool.get('subscription.subscription').model_copy(cr, uid, *([71],)) failed in Job 220
  Traceback (most recent call last):
    File "/home/server/openerp6.1-1/openerp-6.1-1/openerp/addons/base/ir/ir_cron.py", line 138, in _callback
      method(cr, uid, *args)
    File "/home/server/openerp6.1-1/openerp-6.1-1/openerp/addons/subscription/subscription.py", line 128, in model_copy
      id = self.pool.get(model_name).copy(cr, uid, id, default, context)
    File "/home/server/openerp6.1-1/openerp-6.1-1/openerp/addons/account/account_invoice.py", line 630, in copy
      return super(account_invoice, self).copy(cr, uid, id, default, context)
    File "/usr/local/lib/python2.6/dist-packages/openerp-6.1_1-py2.6.egg/openerp/osv/orm.py", line 4732, in copy
      new_id = self.create(cr, uid, data, context)
    File "/home/server/openerp6.1-1/openerp-6.1-1/openerp/addons/account/account_invoice.py", line 372, in create
      raise orm.except_orm(_('Unknown Error'), str(e))
  except_orm: ('Unknown Error', "'NoneType' object has no attribute 'close'")

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