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

Search In

How to delete records in OpenERP/Odoo ?

Records can be deleted in bulk by providing their ids to unlink(). For example code like below. models.execute_kw(db, uid, password, 'res.partner', 'unlink', [[id]]) check if the deleted record is still in the database models.execute_kw(db, uid, pas

java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.JavaType.isReferenceType()Z

I was integrating solr with java using maven dependencies  <dependency> <groupId>org.apache.solr</groupId> <artifactId>solr-solrj</artifactId> <version>5.5.0</version> </depen

How to create print template of the survey in OpenERP

In openerp to create print template of the survey means that first check response or survey and if response is available then print this response otherwise print survey form and the current row, from the database cursor and also the current user&rsqu

How to search and read records in OpenERP/Odoo ?

Odoo provides a search_read() shortcut which as its name notes is equivalent to a search() followed by a read(), but avoids having to perform two requests and keep ids around.for example code is like below. models.execute_kw(db, uid, password, '

How to remove a child element by ID of a parent div

How to remove a child element by ID of a parent div var element = document.getElementByid("parentDiv").children("#childDiv1"); element.remove(); here parentDiv have a child with id childDiv1

What is the equivalent to getLastInsertId() in Cakephp?

Hello if you want to get last insert id or something equivalent to this you can try following steps:- Lets take this example, Here I just inserted the field in column $data = array('menuName' =$_REQUEST['menuname']) $this->Menu->crea

Fat models with skinny controllers in cakephp

In fat model and skinny controllers method we write our database query in model. Normally we use validation rules and model binding in our model and all query write in controllers but as we know that when url routing requests first comes to controlle

Using Null-coalescing operator (??) in C#

We have ?? Operator which is called null- coalescing operator in c#. It takes two operands, one at the left side and one at the right side and checks if the left side operand is null or not. If is is null then it will return the right side operand el

How user clicks the selection's icon in the web client in OpenERP

In OpenERP for clicking the selection's icon in the web client, first create the users and check all rights of the users and than click the selection icon in web client and compose a default action for the model in the user's selection,

How to create membership IDs in OpenERP

In OpenERP first we create the form and browse the record of  account invoice line and then select to the product in product form and then find to the the current user’s ID for security checks. In account invoice line we check to

1 … 60 … 466
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: