Create a new OpenERP database with the following characteristics:
As you can't really enter code into a mobile phone that easier, the authors provide an interesting QR code upload feature which works suprisingly well for short programs. DemoThe following demo will enable you to query your OpenERP server from an Android device. It will search all Bill of Materials (BoM) on in your database and display and an on screen report of all BoM's structures with respective components. The layout is a bit rough, but it's just a PoC. Install the QPython App from the Google Play Store. Load the following program using the option Get script from QRCode. The camera will turn as a QR-Code scanner. Just scan the following program which as been encoded as a QRcode: After acceptance of the QRCode you 'll see it displayed in a Python-Idle style editor. The only line you'll need to edit is the IP address of your server. sock = xmlrpclib.ServerProxy('http://your IP address here:8069/xmlrpc/object') Ensure to keep the http:// in the front of the IP address - otherwise you'll get an error message stating that he library doesn't support the protocol. Run the application. If all went well you'll receive a new messages in your normal 'messages' application with the results of the query displayed (also if there is an error). It's a pity the authors didn't include a pop-up to display the results. Nethertheless it works as a PoC. |