Hello, I am new to openerp and I would like to take the first step in it.
I have installed Ubuntu, Eclipse, python and pydev.
Furtheremore, I have downloaded the SOURCE from this page (the third item on this page: https://www.odoo.com/page/download).
I can run the file openerp-server.py with Eclipse.
Now, I also downloaded the module from "http://thierry-godin.developpez.com/openerp/tutorial-module-creation-pos-modification-english-version/#LIX".
It is said that I only place the files in "\etc" and add the path in "\etc\openerp-server.conf" and the module will appear after running the file "openerp-server.py".
I tried to do it but I cannot get what I expected.
What should I do now?
Hello Frankie Chan,
Provided you have corrently set the "addons_path" option pointing to the parent directory where your downloaded module is located (it is used to specify "additional addons paths"), you will find your module listed and ready to be installed under "Settings > Modules > Installed Modules" by deactivating the "Installed" filter. This sections lists installed/available-for-install modules in your filesystem.
Your module won't be listed under "Settings > Modules > Apps", that section lists featured modules in the Apps Store.
As Kasper has already mentioned, you don't have to worry about compiling your OpenERP module. The Python interpreter will compile it automatically when you install the module from OpenERP.
If by any chance you are not sure if the "addons_path" option in the configuration file is taking effect, you can use the "--addons-path=EXTRA_ADDONS_PATH" command line option instead.
Python compiles .py files into .pyc files automatically. You never have to worry about compiling Python (I've been using it for more than a decade and never worried about compilation, except when C, C++ or Fortran are added in the mix). And as far as I understood Odoo is only Python code.
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
|Asked: 6/19/14, 5:41 AM|
|Seen: 2870 times|
|Last updated: 3/16/15, 8:10 AM|