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

Search In

How to check if audittrail rule apply in super admin mode in OpenERP/Odoo ?

Step-1 Go to audittrail module. Step-2 audittrail->audittrail.py. Step-3 After that used below code in audittrail.py file. if self.check_rules(cr, SUPERUSER_ID, field_obj._obj, method): x2m_model_ids = pool.get('ir.model').se

How to add watermark in image using PHP script.

Hi guys ,it really helps to add watermark on images . In this code you will see that we get the position of watermark .png image where you want to place then copy to the watermark image on the main images. /* * PHP GD * adding watermark to an image

How to get the max value from given multidimensional array using PHP?

Hello Reader! If you having an multidiamensnal array and you want to get the max value from a single element key then you see the example below:- [0] => stdClass Object ( [id] => TRF1254 [cust] => CUST9897 [amoun

Facebook SDK for PHP

Hello Readers , The following code demonstrate how you would accomplish common tasks with the Facebook SDK for PHP. This SDK can be use in facebook login , Retrieve a user's profile , Post a link to a user's feed. window.fbAsyncInit = function(

How to get sorted NSArray of date for NSDictionary.

With the help of following code you can sort the given dictionary containing key as Date. @implementation NSMutableDictionary (SortingNSMutableDictionary) -(NSArray *)getAllSortedKeys{ NSMutableArray *array = [NSMutableArray arrayWithArray:[sel

How to run java applet on ubuntu

There might be some problem to run java applet in ubuntu while the jdk is already installed in the system. so this problem is occurs when the java plugin is not installed in your browser. The solution of this problem is to installed ORACLE JDK manual

How to use “Animated AJAX Record deletion” in jQuery?

With the help of jQuery we can delete link for any record. On below code we have add a click event to triggers the ajax request. when the ajax request returns get success response. $(document).ready(function() { $('a.delete').click(function(

SIF API to Generate Match Tokens on Base Object

Following example illustrate how you can Generate Match Token for ALL records in Base Object using SIF API: ExecuteBatchGenerateMatchTokensRequest req = new ExecuteBatchGenerateMatchTokensRequest(); req.setTableName("MY_BASE_OBJECT"); // BO tab

Sessions in Javascript

Hi All, SessionStorage is something we can use to store values in session in Javascript. Below I will demonstrate how we can use it in our project. To set Session Value: var valueKey = "Value"; function setSession(value) { sessionStorage.

How to superimpose one image over another using PHP

Hello Readers if you have two images i.e. one png and one jpg, Then by using PHP you can merge both on a single one. Lets see the example as given below:- <?php # If you don't know the type of image you are using as your originals. $image = im

1 112 408
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: