Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Missing POS orders

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
salespos
7 Risposte
15102 Visualizzazioni
Avatar
samer alsarhan

Greeting All,

im our company we use odoo 9 to manage our activity, and every thing is realy greate , except one problem which caused by the POS, For some reason some of the orders (paid one) not found in the backend and no indicator In the POS shown any stacked Orders, any help will be appreciated

1
Avatar
Abbandona
Walid Baruni

Exactly the same problem here. Even the server logs don't show errors or any indication of orders not saved. We are using Firefox on Windows as POS clients, and I don't see any orders stuck in the client localcache.

samer alsarhan
Autore

am on windows using google chrom any one Can help please?

Avatar
jithesh
Risposta migliore

Hi, Samer AL-Sarhan

it is the common problem while running multi-company uses same pos

while you running pos the session automatically change to closed or any other sate

and your current order will lose.....................

i will send you a module in pos to solve the session problem.........it will check every second your session closed or not and it will display a popup while session close ,

my clients are still using this module in all odoo versions if you have any problem please contact me :9633097060(india) or email me i will send the module to you ,id :manakkunnathjith@gmail.com

py part.....................

class PosConfig(models.Model):
    _inherit = 'pos.config'

    check_session_state_frequency = fields.Integer(
        string="Frequency of Checking the State of the Session",
        default=1, help="The value is set in seconds.")

    @api.model
    def get_status(self, ref):
        lines = self.env['pos.session'].search([('id', '=', ref)])
        result = lines.state
        return result

    @api.model
    def update_status(self, ref):
        code_check = self.env['pos.session'].search([('id', '=', ref)])
        # if code_check == False:
        print 'No postcode in database, writing ....'
        print code_check.state
        code_check.write({'state': 'opened'})
        print code_check.state
        return ref


js part

odoo.define('pos_check_session_state',function(require){
"use strict";

var PopupWidgets = require('point_of_sale.popups');
var gui = require('point_of_sale.gui');
var chrome = require('point_of_sale.chrome');
var PosBaseWidget = require('point_of_sale.BaseWidget');
var popups = require('point_of_sale.popups');
var QWeb = core.qweb;
var _t = core._t;
var PopupWidget = require('point_of_sale.popups');
var _t = core._t;


var ErrorClosedSessionPopupWidget = PopupWidget.extend({
    template:'ErrorClosedSessionPopupWidget',

        init: function(parent, options) {
            var self = this;
            this._super(parent, options);


            self.intervalID = setInterval(function() {
                var order_new = self.pos.pos_session;
                 new Model('pos.config').call('get_status',[order_new.id]).then(function(result){
                    if (result=='opened'){
//                        console.log("opened the session");
                    }
                    else{
                        console.log("session blocked");2
                        self.gui.show_popup('lock1');
                    }
                });

            }, self.pos.config.check_session_state_frequency * 1000);
        },
        show: function(opts) {
            var self = this;
            this._super(opts);
            var order_new = self.pos.pos_session;
            this.$('.cancel').off('click').click(function(){
               new Model('pos.config').call('update_status',[order_new.id]).then(function(result){
                    console.log(result);
                    location.reload();

                });
            });
             this.$('.cancell').off('click').click(function(){
               window.history.back();
               new Model('pos.config').call('update_status',[order_new.id]).then(function(result){
                    console.log(result);


                });
            });
        }
});
gui.define_popup({name:'lock1', widget: ErrorClosedSessionPopupWidget});





chrome.Chrome.include({
//var module = init.PosBaseWidget.extend({
    build_widgets: function(){
        this._super();
            // Add a new Popup 'ErrorClosedSessionPopupWidget'
            this.error_closed_session_popup = new ErrorClosedSessionPopupWidget(this, {});
            this.error_closed_session_popup.appendTo(this.$el);

//            this.screen_selector.popup_set['error-closed-session'] = this.error_closed_session_popup;

            // Hide the popup because all pop up are displayed at the
            // beginning by default
            this.error_closed_session_popup.hide();
    },
});

});


0
Avatar
Abbandona
samer alsarhan
Autore

Thank for your replay, actually, it's single company and after I update to Odoo 10 I don't have the problem anymore.

Avatar
Jeffrey Castro
Risposta migliore

Hi, does anyone know if this situation still happens in v11?

0
Avatar
Abbandona
Avatar
Alexander
Risposta migliore

I have seen the same issue, seems the life of the order is not properly destroyed after the connection has been lost. However I thought the missing orders (we have printed receipt of product where no record exist in odoo) was because the user afterwards could edit a closed order. Under normal circumstances it is not possible to edit an order/receipt, however if there was a lost connection it is possible to edit the last order (which was not printed because there was no connection, but prints once connection comes back).

Also we found it difficult to debug as the POS ID (order id) cannot be printed directly onto the receipt, to get a unique order id we therefore print “receipt.name” which concatenates “Order + uid” e.g. this.name = _t("Order ") + this.uid; not what we want but at least unique for the sale. In the model.js there is a property invoice_id marked as TO DO line 1674 invoice_id: null, //TODO should that be the uid?

0
Avatar
Abbandona
Avatar
Thomas Guénard
Risposta migliore

one of the cause is that the POS session had lost the connection (internet or network) with the backend server (this is shown on the red button on top right side of the pos screen). 

Normally when the connection is resumed (green light) the paid transactions are then sent to the backend.

However this situation seems to be to much dependant from the browser used outside of odoo to run the POS session; one cannot guarantee that every POS transaction is saved onto the backend.

I feel this as a weakness for the POS. Please correct me if I am wrong

0
Avatar
Abbandona
samer alsarhan
Autore

you are correct, but i noticed that the missing orders not transfered from unpaid to paid, and the products inside the unpaid orders has been removed but the orders them selves still exist in unpaid local storage, i think there is a bug in the .js files

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Coupons redeem option not available in POS (Note : not Discountcoupon, Promo,or else 'Only coupons')
sales pos
Avatar
0
giu 24
2114
How do I integrate/connect Stripe M2 card reader/terminal with Odoo PoS
sales pos
Avatar
1
mag 24
4276
Sales & POS Payment Report
sales pos reporting
Avatar
Avatar
Avatar
3
ott 25
778
Inventory Forecast Analysis Report
stock sales pos
Avatar
Avatar
1
feb 25
1715
Related field on POS
sales pos point_of_sale
Avatar
0
mar 24
1670
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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