Odoo Help


Recurring Order Agreement

Apoorv Soral
on 11/24/15, 8:17 AM 883 views

I get the below given error when I try to click "Generate Initial Order" under "Sales>Sales>Recurring Order Agreement"

Odoo Server Error

Traceback (most recent call last):

File "/opt/odoo/odoo8/openerp/http.py", line 537, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/odoo8/openerp/http.py", line 574, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/odoo8/openerp/http.py", line 310, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/opt/odoo/odoo8/openerp/service/model.py", line 118, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/odoo8/openerp/http.py", line 307, in checked_call

return self.endpoint(*a, **kw)

File "/opt/odoo/odoo8/openerp/http.py", line 803, in __call__

return self.method(*args, **kw)

File "/opt/odoo/odoo8/openerp/http.py", line 403, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/odoo8/addons/web/controllers/main.py", line 948, in call_button

action = self._call_kw(model, method, args, {})

File "/opt/odoo/odoo8/addons/web/controllers/main.py", line 936, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/odoo/odoo8/openerp/api.py", line 250, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo8/openerp/api.py", line 372, in old_api

result = method(recs, *args, **kwargs)

File "/opt/odoo/.local/share/Odoo/addons/8.0/sale_recurring_orders/models/recurring_orders.py", line 349, in generate_initial_order

self.env.uid, 'sale.order', order_id, 'order_confirm', self.env.cr)

File "/opt/odoo/odoo8/openerp/workflow/__init__.py", line 85, in trg_validate

return WorkflowService.new(cr, uid, res_type, res_id).validate(signal)

File "/opt/odoo/odoo8/openerp/workflow/service.py", line 37, in new

return cls(Session(cr, uid), Record(model_name, record_id))

File "/opt/odoo/odoo8/openerp/workflow/helpers.py", line 13, in __init__

assert isinstance(record_id, (int, long))


On 12/27/15, 4:16 PM

Hello Apoorv Soral,

I have the same problem, did you find a solution?

Regards, Peter

No. I still have the same issue

Dexciss Technology Pvt Ltd, Apoorv Soral
on 12/28/15, 1:37 AM

No I didn't get any resolution for the issue yet.

Dexciss Technology Pvt Ltd, Apoorv Soral
on 12/28/15, 11:55 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/24/15, 8:17 AM
Seen: 883 times
Last updated: 12/28/15, 1:36 AM