Odoo Help


This community 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.


cannot import name account_profit_loss

on 6/5/14, 3:31 AM 750 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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