I have migrated bahmni openerp module to odoo 9 . now i am trying to connect cloud odoo 9 server to bahmni in vagrant box. what changes or modifcation are required in configuration file that enable odoo9 to connect with openmrs ,openelis & also enable atom feed services.
I want to connect bahmni to cloud odoo server which one is not localhost:8069
bahmni is configured to openerp 7 which one is localhost ,
In which properties files we will change the openerp path and db name.
you have to change erpElement.href value in /var/www/html/index.html file to point to your cloud odoo server. Once you get the login page you can see the list of available databases in the dropdown list. Hope this helps.
I modified /var/www/html/index.html & replace with my cloud server IP in erpElement.href . it directs me on my cloud server. but when i add data like drugs , patient registration and orders in bahmni. Atom feed is not Syncing with my cloud odoo server . is there any other modification is required?
I dont know why you guys are not understanding a very simple Question. We have bahmni installed in a Vagrant Box and want to connect to Odoo version 9 which is installed on Amazon EC2 server (http://220.127.116.11:8069/) . Here is the IP. I want to connect to this IP from our vagrant Box.
Please help and reply at your earliest.
We have a service called bahmni-erp-connect that constantly reads these feeds and issues create requests to OpenERP. This service needs to be running all the time and it polls the feeds for new entries. Once it finds a new patient (or any entity), we send a request to openerp. The format of request to openerp is tested on openerp 7 but not Odoo. You can look at source code that is used for constructing the message.
To answer your question now, there might be multiple possibilities of why it is not working
bahmni-erp-connect has to talk to openerp (or odoo). The configuration is available at the location /opt/bahmni-erp-connect/bahmni-erp-connect/WEB-INF/classes/atomfeed.properties. Please set a valid openerp.host, openerp.port. Ensure that these host and port are accessible from your vagrant box.
Also ensure that the bahmni-erp-connect is running and that the requests that are sent to Odoo 9 are creating customer, product or sales order. If not, then there can be compatibility issues.
after I updated atomfeed configuration withmy host,port and database
and reloaded the vagrant box and started all services
but now the ui is not getting loaded only spinner is available and
even it is not redirecting to login page
tried to grunt command F:\Projects\bahmni\openmrs-module-bahmniapps\ui
and getting error as
I have attached the properties file and want to connect to odoo cloud. I have restarted all the services but still patient records are not being created from bahmni. Please check and let me know if there is any other configuration needed to connect to odoo version 9 which is installed on my google cloud.
@binduak File is attached after changing IP to localhost . Please let me know steps to connect to cloud Odoo. We are just wasting time in this communication , can we arrange a small call to degub this issue with @sravanthi17 on skype. I have already added her on skype