Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5304 Lượt xem

Installing the module website_livechat in a database with demodata works, but with an empty database this message appears when I try to install the module (im_chat and im_livechat already installed and working fine):

File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 884, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % (xmlid)) ParseError: "External ID not found in the system: im_livechat.channel_website" while parsing /opt/odoo/odoo-server/addons/website_livechat/website_livechat_data.xml:5, near <record id="website.default_website" model="website"> <field name="channel_id" ref="im_livechat.channel_website"/> </record>

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Uncomment the line website_livechat_data.xml in __openerp__.py did the trick.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The error tells us that the demo data of the module you are trying to install is relying on the demo data for "Channel website" in the im_livechat module. The potential cause of the error would that after installing the im_livechat module, some demo data was removed from the database. You can always try to update the livechat module and then try again to install the module you provided.

If that does not work, then verify that an XML file exists in the im_livechat module that actually has the tag (id="channel_website"), because that one is required for this module to install. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 16
3792
3
thg 7 25
8636
1
thg 5 25
929
0
thg 1 24
1668
2
thg 7 23
4261