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

Search In

How to read request parameters from velocity template in liferay

Hello guys, To Read request parameters in which parameters send with liferay page URL (i.e http://192.168.3.10:8080/group/dentalnotebook/patientprofile?patientId=140701) and to read from velocity template in the liferay 6.2. Below example help to

How to search name field in OpenERP

To install account module and searching by name in account module in customers invoice form and get results in particular name use this code in account_invoice file in account module in openerp. Code given below:- def name_search(self, cr, user, n

How to Create write function in openerp

To create writer function in openerp you have to override the create and write methods, as show in example below. Example:- use this code to write and override function in openerp def write(self, cr, uid, ids, values, context = None): res = supe

Javascript Comments

Javascript Comments Comments like in any other computer language are used for making the code understandable ie explaining the code in simple language. They are not executed by the javascript. There are two ways to enter the comments 1. Single line

How to make CheckBox in android ?

Here I have created Checkbox function in android. In android CheckBox is a type of two state button either checked or unchecked. We can use checkbox to activate/deactivate the specific action. In the below code example, I have described how to make c

FIND_IN_SET() Function in MySql

find_in_set() is a function which returns the position of a string within second string. We mostly found a situation where we want to fetch records on the basis of particular string and that string are stored in comma separated values in database

Deleting user by userId in liferay

Hello Guys Here, I am writing blog for deleting user by userId in liferay from custom portlet. User : The extended model interface for the User service. Represents a row in the "User_" database table, with each column mapped to a property of th

How to set form action via ajax

Hello Reader's If you want to make your form reusable and set the action dynamic via ajax, Then you can make the ajax call like in the example below:- <form id = 'idForm'> ... </form> and the script will go like this <script

How to make security system in OpenERP/Odoo?

If you want to make security system in OpenERP(Odoo) follow the below mentioned code and paste it in your ir.model.access.csv file: "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_idea_idea","id

How to make workflow manipulations in OpenERP/Odoo ?

Workflows can be moved along by sending them signals. Instead of using the top-level execute_kw, signals are sent using exec_workflow. For example code is like below. client = models.execute_kw( db, uid, password, 'res.partner', 'search_read

1 … 76 … 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: