You don't usually compile your custom module although there are ways. What you need to do is to include the folder/directory which your custom module sits into the addons_path configuration. You can do this by adding --addons-path=addons,/path/to/your/custom/module/parent/folder when running Odoo or by adding addons_path=addons,/path/to/your/custom/module/parent/folder in the configuration file.
After you restarted Odoo, you need to go to the Settings menu, make sure that your user ID had been granted Technical Features access, click on the Settings >> Technical >> Upgrade Module List menu. If your module is properly developed (__openerp__.py is there and has the right format, etc.), you should see your module listed.
Now, install your module and test.
Unfortunately there are currently no tools to view the XML view in design mode. You need to install the module to see if it works and if the layout is as per your taste.
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: 1/22/15, 4:18 AM|
|Seen: 1071 times|
|Last updated: 3/16/15, 8:10 AM|