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

Search In

How to use Computed fields in openERP/Odoo ?

If you want to Computed fields in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → upper = fields.Char(compute='_compute_upper', inverse='_inverse_upper', search='_search_

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 use transaction_fields in OpenERP(Odoo)?

If you want to use transaction_fields in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: - def name_get(self, cr, user, ids, context={}): if not len(ids): return [] res = [] for r in self.read(cr, user, ids, [’name

How to use name_get method in OpenERP(Odoo)?

If you want to use name_get method in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: def name_get(self, cr, user, ids, context={}): if not len(ids): return [] res = [] for r in self.read(cr, user, ids, [’name’,’zip

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 use client actions in OpenERP/Odoo ?

A client action is an action type defined almost entirely in the client, in javascript for Odoo web. The server simply sends an action tag and optionally adds a few parameters, but beyond that everything is handled by custom client code.For example c

How to use ir.actions.client code in OpenERP/Odoo ?

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

How to create more Action in OpenERP(Odoo)

Actions are used to trigger one or more actions to be performed on the server side, when a specific stage of a workflow is reached. To write this code in .xml file in openerp(odoo), use the Code given below. <record id="company_normal_action_tree

How to count the number of occurrences of values in an array

There is a function array_count_values() in PHP which counts the frequency of occurrences of all values of an array. The function returns an associative array with original values as keys and the number of occurrences as values. Syntax: array_count_

How can you Create a inner class inside a method

In java can we create a inner class inside a method?? Answer to this query is yes . Example code : class Outer { String outerVar="outer Variable"; public void checkInner() { final String localVar="Loc

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