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

Point of sale - Can't send orders

Subscriure's

Get notified when there's activity on this post

This question has been flagged
errororderssequence
4 Respostes
15723 Vistes
Avatar
Jogle

Hello I testing the POS sales in a multi-company enviroment, I configured this one with store and wharehouse for an child company. My error happens when I try send one order after payment, button gren of point of sale is converted to red and firebug shows this error:

Failed to send order: Object { id=2, data={...}}

POST:

{"jsonrpc":"2.0","method":"call","params":{"model":"pos.order","method":"create_from_ui","args":[[{"id":2,"data":{"name":"Order 1372627409348","amount_paid":6,"amount_total":5.5,"amount_tax":0,"amount_return":0.5,"lines":[[0,0,{"qty":1,"price_unit":5.5,"discount":0,"product_id":37}]],"statement_ids":[[0,0,{"name":"2013-06-30 21:23:46","statement_id":13,"account_id":2174,"journal_id":55,"amount":6}]],"pos_session_id":8,"user_id":4}}]],"kwargs":{},"session_id":"1c41d0e2af8b4b22b8be1bb11efdb7fe","context":{"lang":"es_MX","tz":"America/Mexico_City","uid":4}},"id":"r546"}

RESPONSE:

{"jsonrpc": "2.0", "id": "r546", "error": {"message": "OpenERP Server Error", "code": 200, "data": {"debug": "Client Traceback (most recent call last):\n File \"/opt/bitnami/apps/openerp/lib/openerp-7.0_20130508_231028-py2.7.egg/openerp/addons/web/http.py\", line 204, in dispatch\n response[\"result\"] = method(self, *self.params)\n File \"/opt/bitnami/apps/openerp/lib/openerp-7.0_20130508_231028-py2.7.egg/openerp/addons/web/controllers/main.py\", line 1129, in call_kw\n return self._call_kw(req, model, method, args, kwargs)\n File \"/opt/bitnami/apps/openerp/lib/openerp-7.0_20130508_231028-py2.7.egg/openerp/addons/web/controllers/main.py\", line 1121, in _call_kw\n return getattr(req.session.model(model), method)(args, **kwargs)\n File \"/opt/bitnami/apps/openerp/lib/openerp-7.0_20130508_231028-py2.7.egg/openerp/addons/web/session.py\", line 43, in proxy\n result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)\n File \"/opt/bitnami/apps/openerp/lib/openerp-7.0_20130508_231028-py2.7.egg/openerp/addons/web/session.py\", line 31, in proxy_method\n result = self.session.send(self.service_name, method, *args)\n File \"/opt/bitnami/apps/openerp/lib/openerp-7.0_20130508_231028-py2.7.egg/openerp/addons/web/session.py\", line 92, in send\n raise xmlrpclib.Fault(code_string % (e.name, e.value), '')\n\n\nServer ", "fault_code": "warning -- Integrity Error\n\nThe operation cannot be completed, probably due to the following:\n- deletion: you may be trying to delete a record while other records still reference it\n- creation/update: a mandatory field is not correctly set\n\n[object with reference: name - name]", "type": "server_exception"}}}

thanks in advanced

0
Avatar
Descartar
Avatar
Martin Pascualon
Best Answer

Could u fix it?

Regards

0
Avatar
Descartar
Avatar
mozib khan
Best Answer

Please follow this link. you will get solution

 

http://mozibto.blogspot.in/

Thanks 

0
Avatar
Descartar
Avatar
ahmad
Best Answer

Follow Thierry Godin solution, makes sure you create different warehouse for the sub company.

0
Avatar
Descartar
Avatar
Thierry Godin
Best Answer

Hi,

Sorry I just read this question.

I had the same problem and I fixed it.

Read this : Multiple POS does not create sequence for each company

Regards

0
Avatar
Descartar
Sean Samborski

There is no fix at that link. Can you post the fix here, in this answer?

Thierry Godin

The fix is : duplicate pos.order sequence and pos.order.line sequence for each company.

Go to Configuration > Sequences & identifiants > Sequences

Then type "pos" in the search filter

Then duplicate code = "POS order" + "POS order line" and set it for each company

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
Error creating new sale order line Odoo 11
error orders
Avatar
0
d’ag. 22
2600
Odoo V16 POS Invoicing error
error pos orders
Avatar
0
d’abr. 24
2250
Error creating new record: _id_seq
error create sequence
Avatar
1
de març 15
7762
Error when trying to create Sales Order
sales error orders memory
Avatar
0
d’abr. 23
2644
[newbie] order management only
orders
Avatar
2
d’oct. 25
3289
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