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

Search In

How to use search function in OpenERP(Odoo)?

In search function returns directly a RecordSet. In below code i have explain search function. def LinkedIn_check_similar_partner(self, cr, uid, LinkedIn_datas, context=None): res = [] res_partner = self.pool.get('res.partner')

How to update a field in the database in cakephp 2.x

To update a a field in the database in cakephp we uses an array, the task is done as, $this->request->id = $id; $data=array(); $data['User']['id'] = $this->request->id; $data['User']['fname'] = $filename; $this->User-&g

Delete duplicate row in table

You can delete the duplicate row without using the temporary table. You can use the self join concept. Suppose we have person table contain 3 columns named id, name, and city. INSERT INTO person(id,name,city) VALUES (1,'a', 'aa'), (2,'b','bb'), (3,'

Using magento api to add all products to root category

To use soap api to add a products of categories into root category , first we need to create a magento user with the permission to access the api. Following code will be use to set products to root category $soap = new SoapClient('http://magentose

How to get the vedio views from youtube using API in PHP

Hello Reader's If you want o get the total counts of a views on youtube video by api, then you can use the following php code. <?php $video_ID = 'your-video-ID'; //set the id from url $JSON = file_get_contents("https://gdata.youtube.com/feeds/api

Magento product views count

Hello Readers, Here is a small example which will explain how to show product views count in magento. Add below line of code in view page: Path: app/design/frontend/default/currentheme/template/catalog/product/view.phtml <?php $id = $id=$_help

how to avoid duplicate data in php mysql ?

i have this database which contain table for questions and other for answers how can i display each questions with the answers that belong to this question my problem is when i try to display the questions i get duplicated rows or all the answers for

How to sort an given array by it's any key index

Hello Reader's! if you have an given array on with you want to sort with any selected key index as show below:- Array ( [0] => Array ( [configuration_id] => 10 [id] =&

Find a particular text in all stored procedures

Below mentioned command is used to find a particular text in all stored procedures SELECT OBJECT_NAME(id) FROM syscomments WHERE [text] LIKE '%EmailOnTRX%' AND OBJECTPROPERTY(id, 'IsProcedure') = 1 GROUP BY OBJECT_NAME(id)

How to allows and send smses in OpenERP(Odoo)?

If you want to allows and send smses in OpenERP(Odoo) follow the below mentioned steps: Step-1Install Entity SMS module. Step-2 After that we have to customised Entity SMS module. In below example, I have custmozied .py file. You can directly copy

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