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

Search In

Ruby Methods

Ruby Methods are similar to functions which begins with lowercase letters. It bundles one or more repeatable statements into single units.Methods are always defined before calling them. Syntax: def method_name [( [arg [= default]]...[, * arg [, &

How to use array_search() Function in php

what is array search ? Array search returns the corresponding key if search is successful and Searches the array for a given value. You can take reference form below example. <?php //firstly create a array $employeName=array("1"=>"Jorden

How to make profile module in OpenERP(Odoo)?

In profile module we have to create a profile, we only have to create a new directory in server/addons and we should call this folder. profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py

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 use trim() Function in php ?

Why we use trim() Function in php ? The trim() function mainly use for removes the spaces from the beginning and the end of the string. trim() function will divest and control characters such as : " " an ordinary space. "\t" a tab. "\n"

How to use addslashes() functionin php ?

What is addslashes() function ? The addslashes() function basically used to returns a string with backslashes before characters that need to be quoted in database queries. Mostly it is used for predefined characters, addslashes() function is very u

How to use the action manager in OpenERP/Odoo ?

The action manager can be invoked explicitly from javascript code by creating a dictionary describing an action of the right type, and calling an action manager instance with it. In below example I have written javascript to Include only parent level

How to add/remove class to an element on keyup event with jQuery?

We can add or remove a class to an element very easily by using addClass() and removeClass() methods. To do this on keyup event of a textbox we just need call these functions when we bind keyup event to textbox. Example: <input id="search-box"

How to check product quantity in openerp

To check product quantity in openerp You have to write this function in .py file to check product quantity in product module and relate his to the inventory management. See code given below def check_product_quantity(self, cr, uid, product, quantit

How to use initializer receives the parameters passed when using the new operator OpenERP/Odoo ?

If you use to initializer receives the parameters passed when using the new operator in OpenERP(Odoo) follow the below mentioned code and paste it in your .js file. var MyClass = instance.web.Class.extend({ init: function(name) { this.na

1 … 198 … 331
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: