Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3364 Vistas

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
Descartar
Mejor respuesta

Hello Apoorv Soral,

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

Regards, Peter



Avatar
Descartar
Autor

No. I still have the same issue

Autor

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
oct 22
3620
1
ago 24
2103
0
nov 23
2001
0
ene 22
2863
2
jun 18
7897