Skip to Content
Menu
This question has been flagged

Odoo v13

I can't change price of product:

web_1 | 2020-02-12 12:43:22,351 1 ERROR nowa_baza odoo.http: Exception during JSON request handling.
web_1 | Traceback (most recent call last):
web_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 619, in _handle_exception
web_1 | return super(JsonRequest, self)._handle_exception(exception)
web_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 309, in _handle_exception
web_1 | raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
web_1 | File "/usr/lib/python3/dist-packages/odoo/tools/pycompat.py", line 14, in reraise
web_1 | raise value
web_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 664, in dispatch
web_1 | result = self._call_function(**self.params)
web_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 345, in _call_function
web_1 | return checked_call(self.db, *args, **kwargs)
web_1 | File "/usr/lib/python3/dist-packages/odoo/service/model.py", line 93, in wrapper
web_1 | return f(dbname, *args, **kwargs)
web_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 338, in checked_call
web_1 | result = self.endpoint(*a, **kw)
web_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 909, in __call__
web_1 | return self.method(*args, **kw)
web_1 | File "/usr/lib/python3/dist-packages/odoo/http.py", line 510, in response_wrap
web_1 | response = f(*args, **kw)
web_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1319, in call_kw
web_1 | return self._call_kw(model, method, args, kwargs)
web_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web/controllers/main.py", line 1311, in _call_kw
web_1 | return call_kw(request.env[model], method, args, kwargs)
web_1 | File "/usr/lib/python3/dist-packages/odoo/api.py", line 395, in call_kw
web_1 | result = _call_kw_multi(method, model, args, kwargs)
web_1 | File "/usr/lib/python3/dist-packages/odoo/api.py", line 382, in _call_kw_multi
web_1 | result = method(recs, *args, **kwargs)
web_1 | File "/usr/lib/python3/dist-packages/odoo/addons/website/models/ir_ui_view.py", line 430, in save
web_1 | super(View, self).save(value, xpath=xpath)
web_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_ui_view.py", line 178, in save
web_1 | self.save_embedded_field(arch_section)
web_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_ui_view.py", line 50, in save_embedded_field
web_1 | value = converter.from_html(Model, Model._fields[field], el)
web_1 | File "/usr/lib/python3/dist-packages/odoo/addons/web_editor/models/ir_qweb.py", line 408, in from_html
web_1 | return float(value.replace(lang.thousands_sep, '')
web_1 | TypeError: replace() argument 1 must be str, not bool

I can change image, name of product, but not it's price...

How can I change price of product?



Avatar
Discard
Related Posts Replies Views Activity
1
Jan 24
486
1
May 23
3162
0
Dec 16
4352
0
Aug 16
2355
0
Nov 24
111