5 DAYS MASTERING ODOO – ANDROID INTERFACING TECHNIQUES

Free sample

 For PDF version or PayPal Payment please go to:

http://shop.vitraining.co


In this book we will create an Android Mobile Sales Order Taking where users can create, confirm, delete, update Sales Order and send it to Odoo using it’s XMLRPC interface.

Topics covered in this book are about interfacing the Partner and Sale Order objects. Using the same techniques explained here, you can extend the functionality to interface the other objects to suit your needs.


Topics


Setting up the development environment

Installing the XMLRPC Library 

Creating Odoo Utility Class 

Creating the SharedData Class

Odoo XMLRPC interfacing

Login Activity

Debugging and breakpoints

Main Menu Activity

Customer List activity

Customer Form 

Saving customer back to Odoo

Adding new and deleting customer

Sale Order List and FOrm

Sale Order Line List and Form

Saving Sale Order Back to Odoo

Downloading Customer data to SQLite

Using spinner for Customer Field

Date picker

SO Line form using product spinner

Storing SO Line locally

Adding, editing, and deleting SO Line

Saving SO with SO Lines

GPS Access

Read more
Collapse
3.3
3 total
Loading...

Additional Information

Publisher
vitraining
Read more
Collapse
Pages
239
Read more
Collapse
Read more
Collapse
Best For
Read more
Collapse
Language
English
Read more
Collapse
Content Protection
This content is DRM protected.
Read more
Collapse

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.

Versi PDF atau Pembayaran Lewat Paypal/BCA/Mandiri disini: 

http://shop.vitraining.co

OpenERP / Odoo provides an application programming interface using it's XML-RPC webservices. The service is ready to be accessed by any programming language that is capable on communication through XML-RPC interface. This book explain in details on how to setup, configure, and do the integration of external system into OpenERP/ Odoo. 

Started with the OpenERP installation steps both for Linux and Windows, then PHP XAMPP installation for both operating systems, and the required preparation steps to take in order that the systems are ready to be integrated together.

Taking PHP as the interfacing scripting languange using it's XML-RPC library, this book explains how to create a PHP class that contains methods for login, search, read, create, delete, and update data stored on OpenERP. Then how to use that class for real life example on accessing a legacy MySQL database and importing the data into OpenERP, and managing the status of already imported data.

PHP provides a wide variety of object oriented frameworks, so this book also explain on how to use the class from inside a PHP framework, taking Yii Framework as an example.

At the end of the topics, it's explained on how to automate the integration process periodically. In Linux we utilize the cron job, and in Windows we use the Task Scheduler. 

The book is live, downloadable, and purchasable from Google Play store, but you can also purchase it directly from http://vitraining.com/shop where payment can be made in local Indonesian bank.

About the writer => http://vitraining.com/akhmad-daniel-sembiring/

Table of Contents

Case Study and Objectives

Backgrounds

Objectives

Architecture and Design

The Database Structure

The Scripting Languange

OpenERP Installation on Ubuntu Linux

PostgreSQL Installation

Install the Python Modules

Download the Source Code

Extract the Source Code

Configure and Run the Server

Configure OpenERP to Run as a Service

Apache, MySQL, and PHP Installation on Linux

Installing Apache

Installing MySQL

Installing PHP

PHP Modules

See PHP on the Server

OpenERP Installation on Windows

Download the Latest Installer

Run the Installer

XAMPP Installation for Windows

Download XAMPP

Installation

Testing and Securing XAMPP

Preparations

Create a Development Database

Activate PHP Curl Module

Testing the Curl Module

Installation of XML-RPC Library

Download the XML-RPC Library

Extract the xmlrpc-2.2.tar.gz File

Project Folder Setup

The MyOpenERPLib Class

Login 

Search

Read

Create

Delete

Write

Create and Add New Records of one2many Fields

Write and Add More Records of one2many Fields

Write and Change Data on the one2many Fields

Summary

Processing Sales Order Data

Create a MySQL Development Database

Common Database Connection

Importing Partners

Importing Products

Importing Sale Order and Order Lines

Executing Actions on the Server

The exec() Method

The searchAny() Method

Create the Order Confirm Script

Integrating With Yii Framework

Automating the Process

The Wrapper Script

Setup on Linux

Installing wget

Cron Job Setup

Setup on Windows

Installing wget

Task Scheduler Setup

Conclusion

References


©2019 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.