This question has been flagged
3 Replies
3303 Views

I am getting this error when I install knowledge management . How can I solve it 

ParseError: "External ID not found in the system: base.module_category_knowledge_management" while parsing file:///C:/Program Files (x86)/Odoo 9.0-20160803/server/openerp/addons/knowledge/security/knowledge_security.xml:5, near
<record id="base.group_document_user" model="res.groups">
        <field name="name">User</field>
        <field name="category_id" ref="base.module_category_knowledge_management"/>
        <field name="users" eval="[(4, ref('base.user_root'))]"/>
    </record>
Avatar
Discard
Best Answer

Hi,

Try like this:

<record model="ir.module.category" id="base.module_category_knowledge_management">            
    <field name="name">Knowledge</field>
    <field name="sequence">999</field>
</record>

<record id="base.group_document_user" model="res.groups">
    <field name="name">User</field>
    <field name="category_id" ref="base.module_category_knowledge_management"/>
    <field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>

 

Avatar
Discard

you are the man, thank you!

pls do upvote if it helped you!

Best Answer

Hi Noble Man,

There is no record id like "module_category_knowledge_management" in Odoo V9.

If you have copied that code from V8 version then its will not work in V9.

Avatar
Discard
Best Answer

The 'knowledge' module depends on the 'base' module, and this error should not be there. There seems something strange happened while installation. Try to 'upgrade' the 'base' module and then install the 'knowledge' module again.

Avatar
Discard