OpenERP module not showing in correct path - module

My module is not showing in the addon in this path that is
C:\Users\bakhtawar\workspace\abc\openerp-7.0-20130916-231138\
openerp\addons
it is showing in this path
C:\Users\bakhtawar\workspace\abc\openerp-7.0-20130916-231138\
build\lib\openerp\addons\Asset_Allocation.
I think if it will show in that path so then I can install my custom module that is asset_allocation.

Related

How I can add new module to odoo 15

I am new to Odoo and I need to know what is the basic steps of adding a new module.
More specifically I need to know how to add custom modules to the addons-path.
In Odoo document they explain this step as this
$ ./odoo-bin --addons-path=../custom,../enterprise/,addons
but did not work for me.
For adding a new module you should do these steps:
Build your module with your written code or scaffold command.
Add the module path in your config file at addons-path = '',''
Change your URL like this: http://localhost:8091/web?debug=1
Go to apps and from up tabs
Select update app list and refresh your page.
Now you can see your module in the apps.
If you are not getting your custom module in Odoo after adding the path then you can try to add the full path of your folder into addons-path.
To get the full path of your custom folder just right-click on the folder and go to properties and find the path of your folder.
Also, you have to make sure to Apply the Update App list in your Odoo App Dashboard after restarting the server with custom addons.

How can I install apps/modules in odoo v9

I have started using odoo and I would like to install some modules like Custom Invoice template, Pls recommend some docs or steps to install new modules.
Activate the developer mode by doing to About page (by clicking the user profile picture).
Go to settings choose "Users" from the menu Click the current user, and edit it by checking "Technical features"
Refresh the page
Unpacked the module at ../server/openerp/addons
Go to modules under settings and Click the "Update module list" menu item.
The app should display under local modules, so find your new module in Settings > Modules > Local Modules and click on the install button.
I am just posting the best steps:
create a separate folder custom_addons and place it inside the located folder of odoo in parallel with addons folder like
/opt/odoo/custom_addons ,
Now your odoo directory have two module source /opt/odoo/addons and /opt/odoo/custom_addons.
It's time to include this newly create folder in the addons path of odoo server .
Open your odoo server config :nano /etc/odoo-server.conf
append the newly create addons in addons_path like:
addons_path = /opt/odoo/custom_addons,/opt/odoo/addons
save the file and restart your odoo server .
Now place your new modules [create/purchased] in side the
custom_addons then update module list and search the name of module and install it.

Where OpenERP (Odoo) finds the modules path?

I am using Odoo v.8. I want to find out where Odoo finds information where the modules are, to load them. I am aware there is a variable addons_path in the file openerp-server.conf. The only file I have found the variable in is opt/odoo/odoo/debian/openerp-server.conf. It has the following value:
addons_path = /usr/lib/python2.7/dist-packages/openerp/addons
However, the Odoo application is using modules from "/opt/odoo/odoo/addons" path. Where the Odoo retrieves this information from? If I have a new directory with new modules, where I can update the path? I have updated addons_path in opt/odoo/odoo/debian/openerp-server.conf with new modules path, but Odoo still cannot see the modules in Settings/Update Modules List. I have restarted the server.
Thanks for your help!
You can add to the addons_path directive in openerp-server.conf, (separate paths with a comma) or you can use --addons= if starting your server from the command line.
Odoo tries to initializes a set of paths to be loaded from the base addons directory. Check the code for Odoo system path
So, with the help of this method, it loads the basic addons directory and other directories that are added by addons_path.
Generally, we use addons_path at odoo-server.conf and save our addons directory path at it.
Note: the path must contain atleast one OpenERP/Odoo module in it.
As of Odoo V8, the "default" addons_path in the odoo-server.conf file should read as follows (assuming you installed Odoo in the "/opt/odoo" path, otherwise change accordingly):
addons_path = /opt/odoo/addons
If you also need to add another "custom" folder for additional modules, separate those with a comma, like this:
addons_path = /opt/odoo/addons,/opt/odoo/custom_modules

How to install/uninstall a module on button click in openerp?

can anyone help me with the code to install and uninstall a module on button click in OpenERP?
If you are developing a module and want to be abble to install it to OpenERP, you just have to include the following line in your __openerp__.py
'installable': True,
And make sure also that your module is inside an addons path that is included on your configuration file.
This way, you will be able to search for you module and install it.

Problem with FlashBuilder

I a bigginer to this FlashBuilder, i have developed an application, but when i want to run the app, an error "Unbale to resolve resource bundle "containers: for locale en_US" is showing, eventhough i did not configure any locales to my appl. My Flex Compiler shows only -locale en_US. Please help ?
You are likely loading a resource bundle called 'containers' but it cannot find the properties file for it. You will have to add a Source Path in project properties --> Flex Build Path under the 'Source Path' tab. I have bundles{locale} as one of my paths. Then create a bundles folder with containers.properties in it. It should then be able to find the file.