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

Odoo Server Error
Traceback (most recent call last):
File "C:\BUSINESSCONTROL\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 360, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\BUSINESSCONTROL\server\odoo\service\model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 913, in __call__
return self.method(*args, **kw)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 532, in response_wrap
response = f(*args, **kw)
File "C:\BUSINESSCONTROL\server\odoo\addons\web\controllers\main.py", line 1389, in call_kw
return self._call_kw(model, method, args, kwargs)
File "C:\BUSINESSCONTROL\server\odoo\addons\web\controllers\main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 392, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 365, in _call_kw_model
result = method(recs, *args, **kwargs)
File "C:\BUSINESSCONTROL\server\odoo\addons\point_of_sale\models\pos_order.py", line 555, in create_from_ui
order_ids.append(self._process_order(order, draft, existing_order))
File "C:\BUSINESSCONTROL\server\odoo\addons\pos_orders_all\models\discount_n_coupon.py", line 83, in _process_order
pos_order = self.create(self._order_fields(order))
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 323, in _model_create_single
return create(self, arg)
File "C:\BUSINESSCONTROL\server\odoo\addons\point_of_sale\models\pos_order.py", line 327, in create
return super(PosOrder, self).create(values)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 344, in _model_create_multi
return create(self, [arg])
File "C:\BUSINESSCONTROL\server\odoo\addons\base\models\ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 345, in _model_create_multi
return create(self, arg)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 3864, in create
records = self._create(data_list)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 4024, in _create
for other, data in zip(others, data_list)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3041, in create
self.write_batch(record_values, True)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3067, in write_batch
return self.write_real(records_commands_list, create)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3239, in write_real
flush()
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3203, in flush
comodel.create(to_create)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 326, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 326, in
return self.browse().concat(*(create(self, vals) for vals in arg))
File "C:\BUSINESSCONTROL\server\odoo\addons\point_of_sale\models\pos_order.py", line 801, in create
return super(PosOrderLine, self).create(values)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 344, in _model_create_multi
return create(self, [arg])
File "C:\BUSINESSCONTROL\server\odoo\addons\base\models\ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 345, in _model_create_multi
return create(self, arg)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 3864, in create
records = self._create(data_list)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 3936, in _create
col_val = field.convert_to_column(val, self, stored)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 1327, in convert_to_column
result = float(value or 0.0)
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 640, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 316, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: could not convert string to float: 'remove'

Odoo Server Error
Traceback (most recent call last):
File "C:\BUSINESSCONTROL\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 684, in dispatch
result = self._call_function(**self.params)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 360, in _call_function
return checked_call(self.db, *args, **kwargs)
File "C:\BUSINESSCONTROL\server\odoo\service\model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 348, in checked_call
result = self.endpoint(*a, **kw)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 913, in __call__
return self.method(*args, **kw)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 532, in response_wrap
response = f(*args, **kw)
File "C:\BUSINESSCONTROL\server\odoo\addons\web\controllers\main.py", line 1389, in call_kw
return self._call_kw(model, method, args, kwargs)
File "C:\BUSINESSCONTROL\server\odoo\addons\web\controllers\main.py", line 1381, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 392, in call_kw
result = _call_kw_model(method, model, args, kwargs)
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 365, in _call_kw_model
result = method(recs, *args, **kwargs)
File "C:\BUSINESSCONTROL\server\odoo\addons\point_of_sale\models\pos_order.py", line 555, in create_from_ui
order_ids.append(self._process_order(order, draft, existing_order))
File "C:\BUSINESSCONTROL\server\odoo\addons\pos_orders_all\models\discount_n_coupon.py", line 83, in _process_order
pos_order = self.create(self._order_fields(order))
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 323, in _model_create_single
return create(self, arg)
File "C:\BUSINESSCONTROL\server\odoo\addons\point_of_sale\models\pos_order.py", line 327, in create
return super(PosOrder, self).create(values)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 344, in _model_create_multi
return create(self, [arg])
File "C:\BUSINESSCONTROL\server\odoo\addons\base\models\ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 345, in _model_create_multi
return create(self, arg)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 3864, in create
records = self._create(data_list)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 4024, in _create
for other, data in zip(others, data_list)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3041, in create
self.write_batch(record_values, True)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3067, in write_batch
return self.write_real(records_commands_list, create)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3239, in write_real
flush()
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 3203, in flush
comodel.create(to_create)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 326, in _model_create_single
return self.browse().concat(*(create(self, vals) for vals in arg))
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 326, in
return self.browse().concat(*(create(self, vals) for vals in arg))
File "C:\BUSINESSCONTROL\server\odoo\addons\point_of_sale\models\pos_order.py", line 801, in create
return super(PosOrderLine, self).create(values)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 344, in _model_create_multi
return create(self, [arg])
File "C:\BUSINESSCONTROL\server\odoo\addons\base\models\ir_fields.py", line 534, in create
recs = super().create(vals_list)
File "", line 2, in create
File "C:\BUSINESSCONTROL\server\odoo\api.py", line 345, in _model_create_multi
return create(self, arg)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 3864, in create
records = self._create(data_list)
File "C:\BUSINESSCONTROL\server\odoo\models.py", line 3936, in _create
col_val = field.convert_to_column(val, self, stored)
File "C:\BUSINESSCONTROL\server\odoo\fields.py", line 1327, in convert_to_column
result = float(value or 0.0)
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 640, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "C:\BUSINESSCONTROL\server\odoo\http.py", line 316, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: could not convert string to float: 'remove'


Avatar
Descartar
Mejor respuesta

You seem to be using a custom module called: pos_orders_all,

That could be the source of your problem.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
oct 25
779
1
sept 25
1571
2
sept 25
1701
1
ago 25
1446
1
jul 25
1691