Odoo Help

Welcome!

This community 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.

0

Recurring Order Agreement

By
Apoorv Soral
on 11/24/15, 8:17 AM 466 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

1
Peter
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

Apoorv Soral
on 12/28/15, 1:37 AM

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

Apoorv Soral
on 12/28/15, 11:55 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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