İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

What is wrong with my command line install of a module?

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
cliv8.0rc1odoo.py shell
3 Cevaplar
9145 Görünümler
Avatar
Michael Watchorn

I'm writing a script to install some modules. It starts out alright, but errors out part way through. I can't figure out why this is happening.

Here's my command:

/opt/odoo/odoo-server/odoo.py -d "Dev_testDB1" --addons-path "/opt/odoo/odoo-server/addons,/opt/odoo/odoo-server/addons/custom,/opt/odoo/odoo-server/addons/downloaded" -i "stock"

which should just install the stock module. I can log in to the server and install the module through the web interface without problem. Why is the command line causing problems? (I'm running V8)

Why is it saying I "can't create a user from here"?

/opt/odoo/odoo-server/odoo.py -d "Dev_testDB1" --addons-path "/opt/odoo/odoo-server/addons,/opt/odoo/odoo-server/addons/custom,/opt/odoo/odoo-server/addons/downloaded" -i "stock"
2015-01-09 21:16:49,637 30845 INFO ? openerp: OpenERP version 8.0rc1
2015-01-09 21:16:49,638 30845 INFO ? openerp: addons paths: ['/home/teiadmin/.local/share/Odoo/addons/8.0', u'/opt/odoo/odoo-server/addons', u'/opt/odoo/odoo-server/addons/custom', u'/opt/odoo/odoo-server/addons/downloaded', '/opt/odoo/odoo-server/openerp/addons']
2015-01-09 21:16:49,638 30845 INFO ? openerp: database hostname: localhost
2015-01-09 21:16:49,638 30845 INFO ? openerp: database port: 5432
2015-01-09 21:16:49,638 30845 INFO ? openerp: database user: teiadmin
2015-01-09 21:16:49,803 30845 INFO ? openerp.service.server: HTTP service (werkzeug) running on 0.0.0.0:8069
2015-01-09 21:16:49,814 30845 INFO Dev_testDB1 openerp.modules.loading: loading 1 modules...
2015-01-09 21:16:50,003 30845 INFO Dev_testDB1 openerp.modules.loading: 1 modules loaded in 0.19s, 0 queries
2015-01-09 21:16:50,038 30845 INFO Dev_testDB1 openerp.modules.loading: loading 48 modules...
2015-01-09 21:16:50,137 30845 INFO Dev_testDB1 openerp.addons.report.models.report: You need wkhtmltopdf to print a pdf version of the reports.
2015-01-09 21:16:51,299 30845 INFO Dev_testDB1 openerp.modules.module: module stock: creating or updating database tables
2015-01-09 21:16:52,106 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/security/stock_security.xml
2015-01-09 21:16:53,086 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/security/ir.model.access.csv
2015-01-09 21:16:53,353 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_data.xml
2015-01-09 21:16:53,586 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_data.yml
2015-01-09 21:16:53,651 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/wizard/stock_move_view.xml
2015-01-09 21:16:53,701 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/wizard/stock_change_product_qty_view.xml
2015-01-09 21:16:53,745 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/wizard/stock_return_picking_view.xml
2015-01-09 21:16:53,839 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/wizard/make_procurement_view.xml
2015-01-09 21:16:53,870 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/wizard/orderpoint_procurement_view.xml
2015-01-09 21:16:53,924 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_incoterms.xml
2015-01-09 21:16:53,975 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_report.xml
2015-01-09 21:16:54,064 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_view.xml
2015-01-09 21:16:55,792 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_sequence.xml
2015-01-09 21:16:55,842 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/product_view.xml
2015-01-09 21:16:56,171 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/partner_view.xml
2015-01-09 21:16:56,263 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/report/report_stock_view.xml
2015-01-09 21:16:56,360 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/res_config_view.xml
2015-01-09 21:16:56,436 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/views/report_package_barcode.xml
2015-01-09 21:16:56,457 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/views/report_lot_barcode.xml
2015-01-09 21:16:56,494 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/views/report_location_barcode.xml
2015-01-09 21:16:56,529 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/views/report_stockpicking.xml
2015-01-09 21:16:56,565 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/views/report_stockinventory.xml
2015-01-09 21:16:56,624 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/views/stock.xml
2015-01-09 21:16:56,718 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_demo_pre.yml
2015-01-09 21:16:56,802 30845 INFO Dev_testDB1 openerp.modules.loading: loading stock/stock_demo.xml
2015-01-09 21:16:56,808 30845 CRITICAL Dev_testDB1 openerp.service.server: Failed to initialize database `Dev_testDB1`.
Traceback (most recent call last):
  File "/opt/odoo/odoo-server/openerp/service/server.py", line 901, in preload_registries
    registry = RegistryManager.new(dbname, update_module=update_module)
  File "/opt/odoo/odoo-server/openerp/modules/registry.py", line 322, in new
    openerp.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 353, in load_modules
    force, status, report, loaded_modules, update_module)
  File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 263, in load_marked_modules
    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)
  File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 185, in load_module_graph
    _load_data(cr, module_name, idref, mode, kind='demo')
  File "/opt/odoo/odoo-server/openerp/modules/loading.py", line 118, in _load_data
    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
  File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 984, in convert_file
    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
  File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 1070, in convert_xml_import
    obj.parse(doc.getroot())
  File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 937, in parse
    self._tags[rec.tag](self.cr, rec, n)
  File "/opt/odoo/odoo-server/openerp/tools/convert.py", line 855, in _tag_record
    id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )
  File "/opt/odoo/odoo-server/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 1027, in _update
    res_id = model_obj.create(cr, uid, values, context=context)
  File "/opt/odoo/odoo-server/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/addons/auth_signup/res_users.py", line 302, in create
    user_id = super(res_users, self).create(cr, uid, values, context=context)
  File "/opt/odoo/odoo-server/openerp/api.py", line 204, in wrapper
    return old_api(self, *args, **kwargs)
  File "/opt/odoo/odoo-server/addons/mail/res_users.py", line 75, in create
    raise openerp.exceptions.RedirectWarning(msg, action_id, _('Go to the configuration panel'))
ParseError: "You cannot create a new user from here.
 To create new user please go to configuration panel.
76
Go to the configuration panel" while parsing /opt/odoo/odoo-server/addons/stock/stock_demo.xml:5, near
<record id="base.user_demo" model="res.users">
            <field eval="[(4, ref('group_stock_user'))]" name="groups_id"/>
        </record>

 

0
Avatar
Vazgeç
Avatar
Med Said BARA
En İyi Yanıt

You are installing "stock" with "Demo Data", which needs to create a "user" !!!

0
Avatar
Vazgeç
Avatar
Mahmoud Naguib
En İyi Yanıt

You may delete or deactive the demo user in the users ... the demo user is required to install the demo data

you should recreate the demo user

0
Avatar
Vazgeç
Avatar
john5000
En İyi Yanıt

Check that the addons path is correct and that you're not picking up a different version of the stock module.

0
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

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

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
Open command line odoo.py in Windows Çözüldü
odoo.py shell
Avatar
Avatar
Avatar
Avatar
11
Ara 23
49900
How to script the creation of a new database? Çözüldü
database cli
Avatar
Avatar
Avatar
Avatar
Avatar
5
Şub 24
27020
AttributeError: module 'odoo' has no attribute 'cli'
cli AttributeError
Avatar
0
Ağu 22
9921
Add custom CLI argument
commands cli
Avatar
0
Oca 22
3538
Is it possible to add a custom cli command in a custom module?
cli odoo10
Avatar
1
Kas 21
6009
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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