
Search In
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"
On the server side, we can simply defined an ir.actions.client. In below code we will use .xml file.
<record id="action_home_page" model="ir.actions.client">
<field name="tag">petstore.homepage</field>
</record>
For menu
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
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
The initial demonstration module already provides a basic widget:
For example code look like below.
local.HomePage = instance.Widget.extend({
start: function() {
console.log("pet store home page loaded");
},
});
It extends Widget() a
What is tht sort() function in php ?
The sort() function sorts an indexed array in ascending order means lowest to highest .
why use sort() function in php ?
Sort() function basically use for sort the elements of the array in ascending alphabet
Why we create cookies ?
cookie is used to identify any user. A cookie is known as a very small file that the server copy into the user's computer browser. Whenever users request a web page using the same computer , it will send the cookie too.
Wit
Let us know What is tht rsort() function in php ?
The rsort() function sorts array in decending order menas highest to lowest.
why use rsort() function in php ?
rsort() function basically used for sorting the elements of the array in decending a
I am using robospice api for ASYNC rest webservcie call.I am getting below exception
java.lang.RuntimeException: Impossible to start SpiceManager as no service of class : meshyog.jalam.DistributorSignupService is registered in AndroidManifest.xml fi
In the class system of the Odoo web framework allows direct modification of existing classes using the include() method.
This system is similar to the inheritance mechanism, except it will alter the target class in-place instead of creating a new cla
