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

Search In

How to call custom create method if method is not defined in Odoo?

If you want to call custom create method if method is not defined then follow the following code in your .py file. if values.get('acquirer_id'): acquirer = self.pool['payment.acquirer'].browse(cr, uid, values.get('acquirer_id'), contex

How to set the expected payment date in Odoo?

If you want to set the expected payment data in Odoo follow the following code : if vals.get('expected_pay_date') and self.invoice_id: msg = _('New expected payment date: ') + vals['expected_pay_date'] + '.\n' + vals.get('internal_note'

Difference between array_merge() and array_combine()

PHP have a vast collection of array functions which makes the use and manipulation of arrays much easier. This article defines the difference between two important array functions array_merge and array_combine which sounds similar but used for differ

Audio Recorder

To record the audio, Android provide a class "MediaRecorder" , you just need to create its instance. Step 1:- In your xml, take two buttons to start and stop recording. Step 2:- Declare the needed variables private MediaRecorder audio

0/1 Knapsack Solution in Java

Hi, this blog is to help you to know about 0/1 knapsack problem and how to solve it using Java.   Problem Definition Suppose there is a thief who came to steal thing from someone's home. He has a knapsack(shoulder bag) with him

How to create your own search bar in Swift (Not using UISearchBar)

Here is a small example of custom search bar  1. Go to storyboard, take TextField place it at below navigation bar (we will type text here to find any string) 2. Set delegate of TextField Come to ViewController class now Create IBOutlet of T

Compute intersection of two or more arrays

My previous article Use of array_intersect() in PHP demonstrates about array_intersect() function which is used to compute the intersection of two or more arrays. array_intersect() returns an array with values of first array which are also present in

How to Show Store On google map Locator in PHP using mysql?

Hello Reader's , Hope you are doing good today. Today in my blog, I am going to explain how you can show store on google map Locator using database record. In this tutorial we are using database table for getting a lat long through google api us

Integrate Realm in android application

What is Realm? We all are aware of SQLite for internal storage in android but now we can use Realm as SQLite replacement. Realm has become popular for being a database with its own C++ core. It’s not just an alternative for SQLite, but much ea

How to get current location of an android device using Google Location Sevices API.

The Google Location Services API, part of Google Play services, is the preferred way to add location-awareness to an android app. Follow the below steps to get current position of an android device. 1. To use the location manager make the Google pl

1 77 282
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: