Skip to Content
Menu
This question has been flagged
1 Reply
2608 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))

AssertionError

Avatar
Discard
Best Answer

Hello Apoorv Soral,

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

Regards, Peter



Avatar
Discard
Author

No. I still have the same issue

Author

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

Related Posts Replies Views Activity
1
Oct 22
2347
1
Aug 24
290
0
Nov 23
980
0
Jan 22
1834
2
Jun 18
6654