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

Search In

How to use Classical inheritance in openERP/Odoo ?

When using the _inherit and _name attributes together, Odoo creates a new model using the existing one as a base. The new model gets all the fields, methods and meta-information from its base. For example you can take idea from b

ALTERNATE KEY IN SQL

Keys are used to uniquely identify records in a table. it is used to establish relation within a table. Primary keys,Foreign keys, candidate keys and alternate keys are used in tables which identify rows. All keys other than primary key are Alterna

How to use destroying widgets in OpenERP/Odoo ?

If you display content to your users, you should also be able to erase it. This is done via the destroy() method. greeting.destroy(); First thing you see on destruction of a widget is calling destroy() on all its children. Then comes removal of its

How to use classes in .js file in OpenERP/Odoo ?

In object-oriented languages, javascript does not build in classes although it provides equivalent (if lower-level mechanisms. For simplicity and developer-friendliness Odoo web provides a class system based on John Resig's Simple JavaScript Inher

How we can use this._super() to call the original method in OpenERP/Odoo ?

If you want to use this._super() to call the original method in OpenERP/Odoo When overriding a method using inheritance below is the example. For example code look like below. say_hello: function () { setTimeout(function () { this._sup

How to use compound context in OpenERP/Odoo ?

The context is like a "magic" argument that the web client will always give to the server when calling a method. The context is a dictionary containing multiple keys. One of the most important key is the language of the user, used by the server to tr

How to use query() method in OpenERP/Odoo ?

Odoo web provides a helper for easy and clear questioning of models query() which functions as a shortcut for the usual combination of search() and read(). As shown in example code given below. model.query(['name', 'login', 'user_email', 'signature

Disabling All Effects

Your user or web application may require that all animations are disabled, but the effect of revealing information or scrolling (or whichever animation type) may still be required. jQuery has a way to disable all animations from one access point but

Protocol Inheritance

Like classes and controllers, protocols itself can also be extended and can be used to produce new protocols. Here we are creating a base Protocol with superset methods. We can also call it original protocol. it is inherited from NSObject, like othe

WordPress Footer

The wordpress theme contain a file called "footer.php" and that file contain function "wp_footer()" The footer.php file is a base file of theme which generally contain a footer menu, social media widget, copyright text, javascript files etc The wp_

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