Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

E-commerce bug

Subscriure's

Get notified when there's activity on this post

This question has been flagged
dockere-commerce13
3 Respostes
3468 Vistes
Avatar
Kolda

I created odoov13 container from github.com/zurawsm3/odoov13RPI 

I got Odoo source code from: github.com/odoo/docker/tree/master/13.0

EROR:

web_1 | 2020-02-13 09:45:43,404 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 910, 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 1320, 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 1312, 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 184, 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 see in logs that before 'save' I didn't have any errors/warnings

I tried with older versions of odoov13 nightly builds and postgresql v12.0. I've got the same error

IMHO changing price of product is common feature. I don't know why it's not working


0
Avatar
Descartar
Kolda
Autor

What I did is in comment, because I have number of chars limit:

1) docker-compose up

2) create database * in GUI

3) install Website app

4) choose Bootswatch

5) install E-commerce app

6) add product

7) edit product price

8) save

Kolda
Autor

I realized that in English language everything works, but in Polish language not

Avatar
Ravi Gadhia
Best Answer

I confirm this is a bug. 
Error raise because of thousand separators not set for polish language.
ref: https://imgur.com/a/oZsD6xZ
I wonder why this bug is not detected earlier because there are many languages were a thousand separators not available.
ref: https://github.com/odoo/odoo/blob/13.0/odoo/addons/base/data/res.lang.csv

1
Avatar
Descartar
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
I can't find created modules
module scaffold docker 13
Avatar
0
de febr. 20
5886
Generate user after checkout completion
e-commerce
Avatar
0
de set. 25
1810
Price configuration in e-commerce
e-commerce
Avatar
Avatar
1
d’abr. 24
3040
How to automate initial configuration? Solved
13
Avatar
Avatar
Avatar
Avatar
4
de febr. 24
8058
Where can I find a report on cash in / out? Solved
13
Avatar
Avatar
Avatar
Avatar
3
de març 24
3752
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now