Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

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

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

Why native test fails?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
testtesting
2 Răspunsuri
7347 Vizualizări
Imagine profil
Antonio M. Vigliotti

Fresh OpenERP V7 installation; create new database called empty. There are just 11 modules.

Started native test with command

./lp/openerp/openerp-server --log-level=test -i base --test-enable -d empty --test-file  /opt/openerp/lp/openerp/openerp/addons/base/test/base_test.yml

Response in log file

2014-06-03 17:08:21,525 29763 ERROR empty openerp.tools.yaml_import: test_categ_0 not found when processing /opt/openerp/lp/openerp/openerp/addons/base/test/base_test.yml.

2014-06-03 17:08:21,526 29763 ERROR empty openerp: Failed to initialize database `empty` and run test file `/opt/openerp/lp/openerp/openerp/addons/base/test/base_test.yml`.

2014-06-03 17:08:11,362 29763 TEST empty openerp.modules.module: `
2014-06-03 17:08:11,362 29763 TEST empty openerp.modules.module: Ran 81 tests in 2.254s
2014-06-03 17:08:11,362 29763 TEST empty openerp.modules.module: FAILED
2014-06-03 17:08:11,362 29763 TEST empty openerp.modules.module:  (failures=2)
2014-06-03 17:08:11,362 29763 ERROR empty openerp.modules.module: module openerp: at least one error occurred in a test

2014-06-03 17:08:11,365 29763 TEST empty openerp.modules.module: module base: executing 7 `fast_suite` and/or `checks` sub-modules
2014-06-03 17:08:11,366 29763 TEST empty openerp.modules.module: test_00_res_partner_name_create (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:11,433 29763 TEST empty openerp.modules.module: test_10_res_partner_find_or_create (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:11,483 29763 TEST empty openerp.modules.module: test_15_res_partner_name_search (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:11,550 29763 TEST empty openerp.modules.module: test_20_res_partner_address_sync (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:11,617 29763 TEST empty openerp.modules.module: test_30_res_partner_first_contact_sync (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:11,617 29763 TEST empty openerp.modules.module: ` Test initial creation of company/contact pair where contact address gets copied to
2014-06-03 17:08:11,665 29763 TEST empty openerp.modules.module: test_40_res_partner_address_getc (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:11,665 29763 TEST empty openerp.modules.module: ` Test address_get address resolution mechanism: it should first go down through descendants,
2014-06-03 17:08:11,924 29763 TEST empty openerp.modules.module: test_50_res_partner_commercial_sync (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:12,116 29763 TEST empty openerp.modules.module: test_60_read_group (openerp.addons.base.tests.test_base.test_base)
2014-06-03 17:08:12,374 29763 TEST empty openerp.modules.module: test_101_res_partner_recursion (openerp.addons.base.tests.test_base.test_partner_recursion)

 

Why?

 

 

0
Imagine profil
Abandonează
Imagine profil
eLBati
Cel mai bun răspuns

I suspected you are using a totally empty database.

You need a demo database.

Also see the FAQ

1
Imagine profil
Abandonează
Imagine profil
Antonio M. Vigliotti
Autor Cel mai bun răspuns

Thanks for your answer!

Database empty was created with demo data (parameter without_demo = False in config and with checkbox "Load Demostration data checked when Create New Database).

Opening psql console, i can see demo data, i.e. partner Asustek in res_partner table.

Tests fails about "test_fields_browse_restriction" of test_acl.py and "test_evil_malicious_code" of test_mail.py.

Both of them are OpenERP core test. 

Evil_malicious code is a test about cross site scripting. See here 

https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet#Tests

This means a weak code inside core

Native test still fails.

 

Antonio Maria Vigliotti

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

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

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Override test
test testing
Imagine profil
0
nov. 19
5001
Test execution
test testing
Imagine profil
Imagine profil
Imagine profil
2
mar. 15
5130
Very simple POS Tests go to backoffice Rezolvat
test testing frontend
Imagine profil
1
mar. 23
3159
How to test override create
test testing Odoo13.0
Imagine profil
0
iun. 21
3644
oerpscenario
test testing v8.0
Imagine profil
0
sept. 16
4032
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة 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 este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

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