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

Facing Error When Creating New Branch in Development Stage

Subscriure's

Get notified when there's activity on this post

This question has been flagged
stageStagesodoo.shOdoo.sh.sh
2 Respostes
2878 Vistes
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
Descartar
Avatar
John Jacobson
Best Answer

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
Descartar
Avatar
Technology Pill Business Solution
Autor Best Answer

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
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
How to avoid using certain data from production on the test environment? - Odoo.sh
Stages odoo.sh Odoo.sh
Avatar
Avatar
1
d’abr. 25
3204
Unable to drag builds between branches in Odoo.sh (works on other computers) Solved
odoo.sh Odoo.sh
Avatar
Avatar
1
d’oct. 25
915
How can I extend an Odoo.sh staging branch due to expire soon? Solved
odoo.sh Odoo.sh
Avatar
Avatar
2
de nov. 25
5015
module working fine on staging but not production on odoo.sh
odoo.sh Odoo.sh
Avatar
Avatar
1
de març 24
3035
CVE-2023-44487 vulnerability Solved
odoo.sh Odoo.sh
Avatar
Avatar
1
d’oct. 25
4592
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