I have created for partner name and address information in django web page and How should I Pass the partner name and address to openerp 7.0 in windows environment please give me some steps to execute sample codes?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Boekhouding
- Voorraad
- PoS
- Project
- MRP
Deze vraag is gerapporteerd
Hello Udhay,
OpenERP API's(xmlrpc) will help to connect any web application.
Example:
import xmlrpclib
#LOGIN DETAILS
#ENTER YOUR LOGIN CREDENTIAL TO CONNECT
username = ''
password = ''
database = ''
django_data=['...........'] or {......}
uid = sock_comm.login(database,username,password)
sock = xmlrpclib.ServerProxy('http://yourdomain/xmlrpc/object') # sock =xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/object')
print "WOW !!CONNECTION SUCCESSFULL"
ids = sock.execute(database,uid, password,'res.partner', 'search', [(your filter domain)])
for i in ids:
//your business logic
//use write or create methods here
refer API documentation: https://doc.odoo.com/6.1/developer/12_api/
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden