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

Search In

How to make typical module structure in OpenERP/Odoo?

In Odoo module is contained in its own directory within the server/bin/addons directory in the server installation. profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py file like in below

How to use __openerp__.py in OpenERP/Odoo ?

The __openerp__.py file has containing list of dependencies,conditioning startup order,data files to load at module install,always load groups first and load access rights after groups. For example code below. {'name' : 'SHIVA', 'version' : '1.0',

How to make security system in OpenERP/Odoo?

If you want to make security system in OpenERP(Odoo) follow the below mentioned code and paste it in your ir.model.access.csv file: "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_idea_idea","id

How to make wizard execution in OpenERP/Odoo?

If you want to make wizard execution in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard views_xml file: <record id="action_idea_cleanup_wizard" model="ir.actions.act_window"> <field name="name">Cleanup</fi

How to take backup of a table in MySQL using PHP?

You can use PHP to take backup of a table in MySQL. For this, you need to write the following code: $dbhost = 'localhost'; $dbuser = 'dbusername'; $dbpass = 'dbpassword'; $conn = mysql_connect($dbhost, $dbuser, $dbpass); if(! $conn

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 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 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

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 make your first widget in OpenERP/Odoo ?

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

1 328 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: