
Search In
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
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
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
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()
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
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
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
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
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"
// 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
