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

Facing Error When Creating New Branch in Development Stage

S'inscrire

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

Cette question a été signalée
stageStagesodoo.shOdoo.sh.sh
2 Réponses
2917 Vues
Avatar
Technology Pill Business Solution

Hello everyone,


I'm encountering an issue on Odoo.sh while creating a new branch in my Odoo project's development stage. Each attempt triggers an error message similar to this:


"odoo.tests.result: 2 failed, 0 error(s) of 1116 tests when loading database."


I've experimented with various methods, including forking from the main or staging branches, but the error persists. Oddly, this issue only arises in the development branch, even when I'm working on a completely new database.


Has anyone using Odoo.sh experienced this problem before? Any insights into what might be causing it or suggestions on how to resolve it would be greatly appreciated.


Thank you for your help and advice!

0
Avatar
Ignorer
Avatar
John Jacobson
Meilleure réponse

Hi. I'm getting similar situation.

1 failed, 0 error(s) of 1421 tests when loading database

When I look at the build I get

FAIL: TestTranslationExport.test_export_translatable_resources
Traceback (most recent call last):
  File "/home/odoo/src/odoo/odoo/addons/base/tests/test_translate.py", line 360, in test_export_translatable_resources
    with self.assertNoLogs('odoo.tools.translate', "ERROR"):
  File "/usr/lib/python3.10/unittest/_log.py", line 75, in __exit__
    self._raiseFailure(
AssertionError: Unexpected logs found: ['ERROR:odoo.tools.translate:Failed to extract terms from /home/odoo/src/user/grt_view_invoice_button/models/ir_server_actions.py\nTraceback (most recent call last):\n  File "/home/odoo/src/odoo/odoo/tools/translate.py", line 1295, in _babel_extract_terms\n    for extracted in extract.extract(extract_method, src_file, keywords=extract_keywords, options=options):\n  File "/usr/lib/python3/dist-packages/babel/messages/extract.py", line 325, in extract\n    for lineno, funcname, messages, comments in results:\n  File "/usr/lib/python3/dist-packages/babel/messages/extract.py", line 418, in extract_python\n    for tok, value, (lineno, _), _, _ in tokens:\n  File "/usr/lib/python3.10/tokenize.py", line 523, in _tokenize\n    raise TokenError("EOF in multi-line statement", (lnum, 0))\ntokenize.TokenError: (\'EOF in multi-line statement\', (14, 0))']

Did you find an answer to your problem?

My module is a really small one with just a minor code change.

0
Avatar
Ignorer
Avatar
Technology Pill Business Solution
Auteur Meilleure réponse

Today, I made several additional attempts to resolve this issue with no success, and I wanted to share the details of my efforts:

  1. Creating a New Project:
    • I started by creating a completely new project on Odoo.sh.
    • I attempted to fork a new branch from the main branch while it was in the development stage.
    • Unfortunately, I encountered the same error: "odoo.tests.result: 2 failed, 0 error(s) of 1116 tests when loading database."
    • 2024-01-09 [Timestamp] [Error]: No app found, it's possible that we are not on the home menu/app menu
      [Detailed Error Trace]
  2. Using Odoo.sh Interface:
    • I continued to experiment with different methods using the Odoo.sh interface, but the issue persisted.
  3. Command Line (CLI):
    • I also tried to create branches using the command line with 'git checkout -b "branchname"'.
    • Regrettably, the error remained consistent.
  4. GitHub Interface:
    • As a last resort, I attempted to create branches from the GitHub interface by forking both the main and staging branches.
    • To my disappointment, this also led to the same error.

I'm reaching out once again to seek assistance. Has anyone else using Odoo.sh encountered this particular problem, especially when trying various methods like I have?

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é
How to avoid using certain data from production on the test environment? - Odoo.sh
Stages odoo.sh Odoo.sh
Avatar
Avatar
1
avr. 25
3218
Unable to drag builds between branches in Odoo.sh (works on other computers) Résolu
odoo.sh Odoo.sh
Avatar
Avatar
1
oct. 25
938
How can I extend an Odoo.sh staging branch due to expire soon? Résolu
odoo.sh Odoo.sh
Avatar
Avatar
2
nov. 25
5050
module working fine on staging but not production on odoo.sh
odoo.sh Odoo.sh
Avatar
Avatar
1
mars 24
3044
CVE-2023-44487 vulnerability Résolu
odoo.sh Odoo.sh
Avatar
Avatar
1
oct. 25
4623
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