Foro de Odoo Argentina


¡BIENVENIDO AL FORO DE ODOO ARGENTINA!

BRINDAMOS UN ESPACIO A LA COMUNIDAD ARGENTINA DE ODOO PARA CENTRALIZAR EL DEBATE, COMPARTIR IDEAS, DESARROLLOS, Y FORMAR PARTE DE UNA COMUNIDAD QUE CRECE DÍA A DÍA

¿No estás registrado?  REGISTRATE

0

Error al agregar pagos

Avatar
Angel C.

Al querer registrar el pago de una factura y presionar AgregarPago, recibo

 

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 363, in old_api result = method(recs, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5830, in onchange record = self.new(values) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5417, in new record._cache.update(record._convert_to_cache(values, update=True)) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5316, in _convert_to_cache for name, value in values.iteritems() File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5317, in <dictcomp> if name in fields File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 1615, in convert_to_cache ids = OrderedSet(record[self.name].ids) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 5574, in __getitem__ return self._fields[key].__get__(self, type(self)) File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 820, in __get__ self.determine_draft_value(record) File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 928, in determine_draft_value self._compute_value(record) File "/usr/lib/python2.7/dist-packages/openerp/fields.py", line 867, in _compute_value self.compute(records) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 398, in new_api result = [method(rec, *args, **kwargs) for rec in self] File "/mnt/extra-addons/odoo-addons/account_payment_direction/account_voucher.py", line 32, in _get_available_journals journal_ids = self.env['account.journal'].search(domain) UnboundLocalError: local variable 'domain' referenced before assignment 

 

Qué puede estar causándolo?

Gracias

Avatar
Descartar
2 Respuestas
0
Avatar
Angel C.
Best Answer

Resuelto. Tenía mal configurados los diarios.

Gracias!

Avatar
Descartar
1
Avatar
Soporte ADHOC
Best Answer

Angel

Como estás? Te recomiendo que, en un ambiente de pruebas, previo backup, actualices los repositorios, corras un update de todos los módulos (odoo.py -c odoo.comf -u all). Puede haber alguna instalación incompleta o problemas similares.

Saludos!

Avatar
Descartar