Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Facing Error When Creating New Branch in Development Stage

Subscribe

Get notified when there's activity on this post

This question has been flagged
stageStagesodoo.shOdoo.sh.sh
2 Replies
3056 Views
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
Discard
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
Discard
Avatar
Technology Pill Business Solution
Author 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
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How to avoid using certain data from production on the test environment? - Odoo.sh
Stages odoo.sh Odoo.sh
Avatar
Avatar
1
Apr 25
3302
Unable to drag builds between branches in Odoo.sh (works on other computers) Solved
odoo.sh Odoo.sh
Avatar
Avatar
1
Oct 25
1100
How can I extend an Odoo.sh staging branch due to expire soon? Solved
odoo.sh Odoo.sh
Avatar
Avatar
2
Nov 25
5235
module working fine on staging but not production on odoo.sh
odoo.sh Odoo.sh
Avatar
Avatar
1
Mar 24
3119
CVE-2023-44487 vulnerability Solved
odoo.sh Odoo.sh
Avatar
Avatar
1
Oct 25
4815
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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