Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Error when installing app: "ALL POS Reports in Odoo"

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
errorpospoint_of_sale
2 Réponses
2740 Vues
Avatar
Matthew Leyow

Hello, i get the following when trying to install the app on my current DB, but if i create a new DB the app installs and works fine. Any help would be greatly appreciated

Error:

Odoo Server Error



Traceback (most recent call last):

File "C:\Program Files (x86)\Odoo\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch

result = request.dispatch()

File "C:\Program Files (x86)\Odoo\server\odoo\http.py", line 684, in dispatch

result = self._call_function(**self.params)

File "C:\Program Files (x86)\Odoo\server\odoo\http.py", line 360, in _call_function

return checked_call(self.db, *args, **kwargs)

File "C:\Program Files (x86)\Odoo\server\odoo\service\model.py", line 94, in wrapper

return f(dbname, *args, **kwargs)

File "C:\Program Files (x86)\Odoo\server\odoo\http.py", line 348, in checked_call

result = self.endpoint(*a, **kw)

File "C:\Program Files (x86)\Odoo\server\odoo\http.py", line 913, in __call__

return self.method(*args, **kw)

File "C:\Program Files (x86)\Odoo\server\odoo\http.py", line 532, in response_wrap

response = f(*args, **kw)

File "C:\Program Files (x86)\Odoo\server\odoo\addons\web\controllers\main.py", line 1389, in call_kw

return self._call_kw(model, method, args, kwargs)

File "C:\Program Files (x86)\Odoo\server\odoo\addons\web\controllers\main.py", line 1381, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "C:\Program Files (x86)\Odoo\server\odoo\api.py", line 392, in call_kw

result = _call_kw_model(method, model, args, kwargs)

File "C:\Program Files (x86)\Odoo\server\odoo\api.py", line 365, in _call_kw_model

result = method(recs, *args, **kwargs)

File "C:\Program Files (x86)\Odoo\server\odoo\models.py", line 4833, in search_read

result = records.read(fields)

File "C:\Program Files (x86)\Odoo\server\odoo\models.py", line 3014, in read

return self._read_format(fnames=fields, load=load)

File "C:\Program Files (x86)\Odoo\server\odoo\models.py", line 3034, in _read_format

vals[name] = convert(record[name], record, use_name_get)

File "C:\Program Files (x86)\Odoo\server\odoo\models.py", line 5660, in __getitem__

return self._fields[key].__get__(self, type(self))

File "C:\Program Files (x86)\Odoo\server\odoo\fields.py", line 1019, in __get__

self.compute_value(recs)

File "C:\Program Files (x86)\Odoo\server\odoo\fields.py", line 1175, in compute_value

records._compute_field_value(self)

File "C:\Program Files (x86)\Odoo\server\odoo\addons\mail\models\mail_thread.py", line 410, in _compute_field_value

return super()._compute_field_value(field)

File "C:\Program Files (x86)\Odoo\server\odoo\models.py", line 4055, in _compute_field_value

getattr(self, field.compute)()

File "C:\Program Files (x86)\Odoo\server\odoo\addons\point_of_sale\models\pos_session.py", line 115, in _compute_cash_balance

result = self.env['pos.payment'].read_group([('session_id', '=', self.id), ('payment_method_id', '=', cash_payment_method.id)], ['amount'], ['session_id'])

File "C:\Program Files (x86)\Odoo\server\odoo\fields.py", line 3815, in __get__

raise ValueError("Expected singleton: %s" % record)

Exception



The above exception was the direct cause of the following exception:



Traceback (most recent call last):

File "C:\Program Files (x86)\Odoo\server\odoo\http.py", line 640, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "C:\Program Files (x86)\Odoo\server\odoo\http.py", line 316, in _handle_exception

raise exception.with_traceback(None) from new_cause

ValueError: Expected singleton: pos.session(72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1)

0
Avatar
Ignorer
Avatar
Matthew Leyow
Auteur Meilleure réponse

Hi Niyas,

Thanks for your reply. I had reported it to the module author and they said it was an issue with my database

0
Avatar
Ignorer
Avatar
Niyas Raphy (Walnut Software Solutions)
Meilleure réponse

Hi,

This is a programming error, you can report it to the module author and see what they says on it. Even in new database, you might receive the same error, when you have multiple pos sessions opened/closed.

To fix this issue, it is easy, once it is traced.

Singleton error in odoo:  https://www.youtube.com/watch?v=Rv44nFVn_5U

Thanks

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Issues with creating of pos.order in pos.ui.
error pos point_of_sale
Avatar
1
mars 18
4873
Problems when closing session in POS - Odoo v16
error pos point_of_sale Point Of Sale
Avatar
0
sept. 23
2221
[Odoo 11] Error when i close my POS
error pos point_of_sale odoo11
Avatar
Avatar
Avatar
6
janv. 18
5939
How to update point of sale order state?
pos point_of_sale
Avatar
Avatar
1
nov. 25
594
Pos product shows 0.0 units sold
pos point_of_sale
Avatar
Avatar
Avatar
3
avr. 25
1983
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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