Steps for deployment: Follow these steps if you are deploying modules in this repository for the first time
-
Clone this repository on server using following commands: a. cd /opt/bahmni-erp; b. git clone https://github.com/JanSwasthyaSahyog/openerp-modules.git
-
Go to path on server: cd /opt/bahmni-erp/etc
-
Open the file openerp-server.conf using vi or nano editor and add following line to it at the end of the file: addons_path= /usr/lib/python2.6/site-packages/openerp-7.0_20130301_002301-py2.6.egg/openerp/addons,/opt/bahmni-erp/openerp-modules
-
Restart the openerp server: sudo service openerp restart
-
Go to OpenERP > Settings. Click on "Update Modules List"
-
Go to OpenERP > Settings > Apps. Search the module in "Search Text Box" located on the right and click on Enter. Remove everything else in the text box before pressing Enter
Example: "Smart Reordering" can be typed in Search box
-
Click on the module link and click "Install"
-
If no errors are thrown, module is properly installed