Skip to Content
Menu
This question has been flagged
4 Replies
9274 Views

i am building a custom odoo 10 module and extend the website module in it .but after adding the website module in the manifest.py file it raise an error says unmet dependencies :website .i have add the website module according to the documentation

my manifest.py file looks like this

# -*- coding: utf-8 -*-
{
    'name': "COET_WEBSITE",

    'summary': """
        Short (1 phrase/line) summary of the module's purpose, used as
        subtitle on modules listing or apps.openerp.com""",

    'description': """
        Long description of module's purpose
    """,

    'author': "My Company",
    'website': "http://www.yourcompany.com",

    # Categories can be used to filter modules in modules listing
    # Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml
    # for the full list
    'category': 'Uncategorized',
    'version': '0.1',

    # any module necessary for this one to work correctly
    'depends': ['base' , 'website'],

    # always loaded
    'data': [
        # 'security/ir.model.access.csv',
        'views/views.xml',
        'views/templates.xml',
    ],
    # only loaded in demonstration mode
    'demo': [
        'demo/demo.xml',
    ],
}

Avatar
Discard

Post your minifest.py file please.

Best Answer

I had faced the same issue while adding dependency as "account" module Solved by adding this to at the end of  manifest 

'installable': True,
'application': True,
'auto_install': False,
question is old but maybe useful for someone else


Avatar
Discard
Author Best Answer

the problem solved when i creat new database and configure the module dependencies before installing it.in the frist case i had installed the module before adding the dependencies.then later i treid to modfy the dependecies and restart my server.i dont know if that wos the problem.

 

 the module bef

Avatar
Discard

this can happen if there is depends redundancy where two modules refer to each other in the manifest, only one must refer the other not both

Best Answer

I think that error is shown when odoo cant found the module. Check if website is correctly downloaded and if the odoo-server.conf has the path to the folder.

Avatar
Discard