Odoo Help


cannot import name account_profit_loss

on 6/5/14, 3:31 AM 1,108 views

I have written a custom module and placed in different folder (not in addons).I am getting the error cannot

import name account_profit_loss when i am trying to import the statement in .py file.

from account.report import account_profit_loss.How to resolve this.Please help me ASP.

Mainly the question in when we try to import the modules od addons in other folder like custom_modules how to do.I am getting errors please help me thank you

I have set the path like this ./openerp-server --addons ../web-client/addons/,../custom_modules and then restarted the server still i am getting error

on 6/5/14, 5:34 AM
Jaakko Komulainen
On 6/5/14, 5:13 AM

You need to specify the addons location, check: https://doc.openerp.com/trunk/server/01_getting_started/#configure-addons-locations

Hope this helps.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 6/5/14, 3:31 AM
Seen: 1108 times
Last updated: 3/16/15, 8:10 AM