← Back to team overview

openerp-india team mailing list archive

[Bug 1174329] Re: bug in subscription module

 

Hello Arturo,

I have checked this with the latest v7 and its completely generate the
correct recurring document. I think the total interval is not completed
thats why you are not able to seen the all the document.

When you create the rules on subscription with number of document then
there is a interval qty and interval unit. When you create this rule
then it will create a schedule action (ir.corn) with the same interval
qty and unit and it will be called based the cron process then create
the document.

So I think the corn process still running and not completed and all
interval thats why you seen the 30 invoice rather then 30.

Now for the error of version 6.1. We are consider only the bug for trunk version and last stable version. So for this type of issue, If you have support and maintenance contract with us then you can contact our OPW team at support@xxxxxxxxxxx .
They will defiantly helps you .

Thanks for the reporting!

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

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

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