Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Error al Ingresar Pago desde Factura

por
Gisela
en 12/4/16 15:23 446 vistas

Buen dia;

Tengo instalado Odoo V8 sobre Debian.

Me da el siguiente error al intentar ingresar el pago desde la factura.

si lo ingreso desde la opcion pagos funciona bien, alguno sabe que es lo que me ocurre?

 

Muchas Gracias de antemano!

ERROR

Traceback (most recent call last):

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

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

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

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

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

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

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

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

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

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

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

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

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

    response = f(*args, **kw)

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

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

  File "/opt/odoo/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/openerp/api.py", line 268, in wrapper

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

  File "/opt/odoo/addons/account_voucher/account_voucher.py", line 932, in button_proforma_voucher

    self.signal_workflow(cr, uid, ids, 'proforma_voucher')

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

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

  File "/opt/odoo/openerp/models.py", line 3571, in signal_workflow

    result[res_id] = workflow.trg_validate(uid, self._name, res_id, signal, cr)

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

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

  File "/opt/odoo/openerp/workflow/service.py", line 91, in validate

    res2 = wi.validate(signal)

  File "/opt/odoo/openerp/workflow/instance.py", line 80, in validate

    wi.process(signal=signal, force_running=force_running, stack=stack)

  File "/opt/odoo/openerp/workflow/workitem.py", line 120, in process

    ok = self._split_test(activity['split_mode'], signal, stack)

  File "/opt/odoo/openerp/workflow/workitem.py", line 248, in _split_test

    self._join_test(t[0], t[1], stack)

  File "/opt/odoo/openerp/workflow/workitem.py", line 257, in _join_test

    WorkflowItem.create(self.session, self.record, activity, inst_id, stack=stack)

  File "/opt/odoo/openerp/workflow/workitem.py", line 95, in create

    workflow_item.process(stack=stack)

  File "/opt/odoo/openerp/workflow/workitem.py", line 116, in process

    if not self._execute(activity, stack):

  File "/opt/odoo/openerp/workflow/workitem.py", line 162, in _execute

    returned_action = self.wkf_expr_execute(activity)

  File "/opt/odoo/openerp/workflow/workitem.py", line 313, in wkf_expr_execute

    return self.wkf_expr_eval_expr(activity['action'])

  File "/opt/odoo/openerp/workflow/workitem.py", line 291, in wkf_expr_eval_expr

    result = eval(line, env, nocopy=True)

  File "/opt/odoo/openerp/tools/safe_eval.py", line 314, in safe_eval

    return eval(c, globals_dict, locals_dict)

  File "", line 1, in <module>

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

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

  File "/opt/odoo/sources/odoo-argentina/l10n_ar_account_voucher/models/account_voucher.py", line 84, in proforma_voucher

    res = super(account_voucher, self).proforma_voucher()

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

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

  File "/opt/odoo/openerp/api.py", line 592, in new_api

    result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)

  File "/opt/odoo/sources/odoo-addons/account_check/models/account_voucher.py", line 98, in proforma_voucher

    cr, uid, ids, context=None)

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

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

  File "/opt/odoo/addons/account_voucher/account_voucher.py", line 936, in proforma_voucher

    self.action_move_line_create(cr, uid, ids, context=context)

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

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

  File "/opt/odoo/sources/odoo-addons/account_voucher_payline/models/account_voucher.py", line 204, in action_move_line_create

    move_line_pool.create(cr, uid, ml_writeoff, local_context)

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

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

  File "/opt/odoo/sources/account-financial-tools/account_asset_management/account_move.py", line 132, in create

    cr, uid, vals, context, check)

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

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

  File "/opt/odoo/addons/account/account_move_line.py", line 1301, in create

    if ('account_id' in vals) and not account_obj.read(cr, uid, [vals['account_id']], ['active'])[0]['active']:

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

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

  File "/opt/odoo/openerp/models.py", line 3144, in read

    result = BaseModel.read(records, fields, load=load)

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

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

  File "/opt/odoo/openerp/models.py", line 3179, in read

    self._read_from_database(stored, inherited)

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

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

  File "/opt/odoo/openerp/models.py", line 3400, in _read_from_database

    forbidden = missing.exists()

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

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

  File "/opt/odoo/openerp/models.py", line 4901, in exists

    self._cr.execute(query, [tuple(ids)])

  File "/opt/odoo/openerp/sql_db.py", line 158, in wrapper

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

  File "/opt/odoo/openerp/sql_db.py", line 234, in execute

    res = self._obj.execute(query, params)

ValueError: "el operador no existe: integer = boolean

L\xcdNEA 1: SELECT id FROM "account_account" WHERE id IN (false)

                                                   ^

SUGERENCIA:  Ning\xfan operador coincide con el nombre y el tipo de los argumentos. Puede ser necesario agregar conversiones expl\xedcitas de tipos.

" while evaluating

u'proforma_voucher()'

 

Mantener informado

Acerca de esta comunidad

Esta comunidad es para profesionales y entusiastas de nuestros productos y servicios, compartir los mejores contenidos y nuevas ideas de marketing, construir su perfil profesional y mejorar el mercado para todos. Lea las directrices

Herramientas de las preguntas

37 seguidor(es)

Estadísticas

Preguntado: 12/4/16 15:23
Visto: 446 veces
Última actualización: 14/4/18 12:41