¡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

Se marcó esta pregunta
2219 Vistas

Hola, muy buenas comunidad, antes que nada quisiera agradecer por la ayuda que recibo desde este foro, me alegra mucho poder contar con una comunidad asi.

Estoy teniendo un problema en mi POS (TPV) al querer imprimir o validar para la impresion del ticket, el error es el siguiente:

Traceback (most recent call last): File "/home/odoo/odoo/openerp/http.py", line 536, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/odoo/openerp/http.py", line 573, in dispatch result = self._call_function(**self.params) File "/home/odoo/odoo/openerp/http.py", line 309, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/odoo/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/odoo/openerp/http.py", line 306, in checked_call return self.endpoint(*a, **kw) File "/home/odoo/odoo/openerp/http.py", line 802, in __call__ return self.method(*args, **kw) File "/home/odoo/odoo/openerp/http.py", line 402, in response_wrap response = f(*args, **kw) File "/home/odoo/odoo/addons/web/controllers/main.py", line 944, in call_kw return self._call_kw(model, method, args, kwargs) File "/home/odoo/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 "/home/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/addons/point_of_sale/point_of_sale.py", line 619, in create_from_ui order_id = self._process_order(cr, uid, order, context=context) File "/home/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/addons/point_of_sale/point_of_sale.py", line 580, in _process_order order_id = self.create(cr, uid, self._order_fields(cr, uid, order, context=context),context) File "/home/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/addons/point_of_sale/point_of_sale.py", line 761, in create return super(pos_order, self).create(cr, uid, values, context=context) File "/home/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/api.py", line 336, in old_api result = method(recs, *args, **kwargs) File "/home/odoo/odoo/openerp/models.py", line 4075, in create record = self.browse(self._create(old_vals)) File "/home/odoo/odoo/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/api.py", line 462, in new_api result = method(self._model, cr, uid, *args, **kwargs) File "/home/odoo/odoo/openerp/models.py", line 4277, in _create self.pool[model_name]._store_set_values(cr, user, ids, fields2, context) File "/home/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/models.py", line 4387, in _store_set_values result = self._columns[val[0]].get(cr, self, ids, val, SUPERUSER_ID, context=context) File "/home/odoo/odoo/openerp/osv/fields.py", line 1466, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "/home/odoo/odoo/addons/point_of_sale/point_of_sale.py", line 1294, in _amount_line_all taxes = account_tax_obj.compute_all(cr, uid, taxes_ids, price, line.qty, product=line.product_id, partner=line.order_id.partner_id or False) File "/home/odoo/odoo/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/home/odoo/edydsi-addons/numa_shared_taxes/taxes.py", line 203, in compute_all if taxes and taxes[0].company_id and taxes[0].company_id.tax_calculation_rounding_method == 'round_globally': File "/home/odoo/odoo/openerp/fields.py", line 822, in __get__ self.determine_value(record) File "/home/odoo/odoo/openerp/fields.py", line 924, in determine_value record._prefetch_field(self) File "/home/odoo/odoo/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/models.py", line 3230, in _prefetch_field result = records.read(list(fnames), load='_classic_write') File "/home/odoo/odoo/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/models.py", line 3175, in read self._read_from_database(stored, inherited) File "/home/odoo/odoo/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/home/odoo/odoo/openerp/models.py", line 3298, in _read_from_database cr.execute(query_str, [tuple(sub_ids)] + where_params) File "/home/odoo/odoo/openerp/sql_db.py", line 158, in wrapper return f(self, *args, **kwargs) File "/home/odoo/odoo/openerp/sql_db.py", line 234, in execute res = self._obj.execute(query, params) File "/usr/lib/python2.7/dist-packages/psycopg2/extensions.py", line 129, in getquoted pobjs = [adapt(o) for o in self._seq] ProgrammingError: can't adapt type 'account.tax'

Alguien que pueda guiarme o intermpretar este error, para una posible solucion?

Desde ya gracias nuevamente!

Saludos!!

Avatar
Descartar
Autor

Alguien que me pueda ayudar con este error?