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

POS rescue session errors

Subscriure's

Get notified when there's activity on this post

This question has been flagged
posrecoveryodoov10
1 Respondre
14110 Vistes
Avatar
Jim Tambling

Hi,


I still have an issue with a POS session that I do not know how to fix. When I open the POS session it shows that 90 transactions are waiting to be committed to the back end and I get this error on screen:

Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/http.py", line 638, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo/odoo-server/odoo/http.py", line 675, in dispatch
    result = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 331, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 119, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 324, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 933, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 504, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 878, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 870, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 679, in call_kw
    return call_kw_model(method, model, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 664, in call_kw_model
    result = method(recs, *args, **kwargs)
  File "/odoo/odoo-server/addons/point_of_sale/models/pos_order.py", line 512, in create_from_ui
    pos_order = self._process_order(order)
  File "/odoo/odoo-server/addons/point_of_sale/models/pos_order.py", line 102, in _process_order
    pos_order['pos_session_id'] = self._get_valid_session(pos_order).id
  File "/odoo/odoo-server/addons/point_of_sale/models/pos_order.py", line 73, in _get_valid_session
    'rescue': True,    # avoid conflict with live sessions
  File "/odoo/odoo-server/addons/point_of_sale/models/pos_session.py", line 194, in create
    res = super(PosSession, self.with_context(ctx).sudo(uid)).create(values)
  File "/odoo/odoo-server/odoo/models.py", line 3821, in create
    record = self.browse(self._create(old_vals))
  File "/odoo/odoo-server/odoo/models.py", line 3984, in _create
    self._validate_fields(vals)
  File "/odoo/odoo-server/odoo/models.py", line 1070, in _validate_fields
    check(self)
  File "/odoo/odoo-server/addons/point_of_sale/models/pos_session.py", line 135, in _check_pos_config
    raise ValidationError(_("You cannot create two active sessions related to the same point of sale!"))
ValidationError: (u'You cannot create two active sessions related to the same point of sale!', None)


When I  "OK" the error, I start seeing this in the logs:

 5001 WARNING testepos odoo.addons.point_of_sale.models.pos_order:
session POS/2017/03/12/163 (ID: 163) was closed but received order Order 00163-001-0024 (total: 0.7) belonging to
it

 

WARNING testepos odoo.addons.point_of_sale.models.pos_order: attempting to create recovery session for saving order Order 00163-001-0024

 

5001 WARNING testepos odoo.models: pos.session.create() includes unknown fields: rescue

The user OK'd the error also and continued selling, so none if the transactions for the new session got committed. It seems that the new transactions are not been committed due to that one order from the previous session.

Is there anyway I can reopen session ID 163 as I'm sure that is what's stopping the other transactions from being recovered.

Also the "unknown fields: rescue" is throwing me. Any help would be appreciated.


Jim



1
Avatar
Descartar
Avatar
Samdy Lonh
Best Answer

Hi


I have exactly the same issues. anyone here would help please?

Jim Tabling, you got solution or any fix yet?


---------------- I found solution for this-----------------------------------

Hi,

Now i am be able to get back to green light connection. to do it you may try follow this steps

1. Login as Administrator

2. Activate Developer Mode

3. Go to POS --> Start Session

4. you will notice on the right side there are some message in black box

5. you click on Delete Unpaid Order --> message popup and ask you if you want to remove offline data --> click yes

6. you click on Delete Paid Order --> message popup and ask you if you want to remove offline data --> click yes

7. you will see the green light  back.

8. log out from system and login again.


you are good to go now. remember that all your offline transaction will be lost with this method.


let me know if this method work.

--------------------------------------------------------end--------------------------------------------------


Thanks

Samdy

0
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
Odoo 10 POS not working after DB restore
pos odoov10
Avatar
Avatar
1
de febr. 22
2755
Really slow or stuck pos loading with large number of product Solved
pos Point Of Sale odoov10
Avatar
Avatar
Avatar
2
de febr. 22
18166
Purchase Order variations
pos purchase_order odoov10
Avatar
Avatar
1
de des. 17
4444
ODOO 10 Enterprise - POS Ticket From Sales Order?
pos sale.order odoov10
Avatar
0
de nov. 17
3249
what is cashier on Odoo10c
pos cashier odoov10
Avatar
Avatar
1
de març 17
4498
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