Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to save and fetch data from Sqlite database

First include the sqlite file in your project. Then copy that file from bundle to documents directory as below and create Database method. -(void)createDatabase{ NSString *pathForDocumentDirectory =[self databasePath]; //define new path and put

How to add value in text box using click of button in odoo-9

In odoo-9 first we have to create the three fields in .py file and then add two fields and store it in third fields to click the button to help the get_total function. Then pass get_total function in button. Use this point show in below: 1- In .py

How to set inspection and introspection in OpenERP/Odoo ?

Odoo stores most model metadata inside a few meta-models which allow both querying the system and altering models and fields on the fly over XML-RPC. For example code like below. models.execute _kw(db, uid, password, 'ir.model', 'create', [{ 'na

How to display location on Google Map in JSP in JAVA?

Sometimes we need to display Google Map on a JSP page, for this you just need pass lat/long to JSP. Use below code to initialize map in script: var marker = null; var map = null; var markers = []; function initializeMap()

How to Add followers linked to new partner in OpenERP(Odoo)?

To Add followers linked to new partner in OpenERP(Odoo) here is the process below- In followers linked to new partner fields, first we have to go in .py file (Python file) After that we have to decide where we want followers linked to new partner fie

How to Build the customer Profile in avatax in OpenERP(Odoo)?

Step-1 Install the avatax module. Step-2 After that custmozie .py(Python file) file: In below example, I have custmozied .py file. You can directly copy the below python code in your .py file - profileNameSpace = ('ns1', 'http://avatax.avalara.co

How to create a database using upgrade request in openerp

To upgrade list of each database given information about one particular error. Each dictionary can contain various keys depending on the type of error but you will always get the reason and the message keys as below: reason: the error type message: a

How to create and Allow to render a QWeb template python-side openerp

In openerp render function returns the 'ir.ui.view' but embellish it with some variables/methods used in reports. param values is additional methods/variables used in the rendering returns is html representation of the template. use this code show be

How to control the media playback using JavaScript:

While embedding a video to your webpage, very first thing you need to keep in mind is the browser support, like where this will work and where it will not. Only the latest versions of most browsers support native video playback using HTML5's "video"

How to split a string in C++?

// A C++ program for splitting a string using strtok() #include <stdio.h> #include <string.h> int main() { char str[] = "First-Demo-Example"; char *token = strtok(str, "-"); // Returns first token while (token != NUL

1 152 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: