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

Search In

How to read records in OpenERP/Odoo ?

In record data is accessible via the read() method, which takes a list of ids (as returned by search()) and optionally a list of fields to fetch. ids = models.execute_kw(db, uid, password, 'res.partner', 'search', [[['is_company', '=', True]

Solr schema unique key id

Solr schema.xml have a default unique key which is "id". This field has "string" type hence can not be used for sorting. We can not change its type as it is required as "string" because if you have enabled the QueryElevationComponent in solrconfig.xm

Creating a very basic module in OpenErp 6.1

Creating a module in OpenErp is very simple. All you need to know is the basic skeleton of any module to be used in the system. There are four major files that build up your module: 1.) init.py file 2.) openerp.py file 3.) mymodel.py file

Indexing in Solr Server

Indexing: Solr gives you a quick response and results because of indexing. What does this mean? It means that it searches index instead of the text to retrieve the results for you. In book , you search for the index in the index page of the book an

Cool widgets in OpenERP

Widgets are the GUI elements that can perform some controlling tasks. In OpenERP, we can see a few of widgets that have significance in the views like statuses of the any process, seeing states of an object, or getting lists out of huge data, or spli

How administrator track every user operation on all the objects of the system in OpenERP(Odoo)?

Step-1 Install Audit Trail module Step-2 After that custmozie .py(Python file) file: In below example, I have custmozied .py file. You can directly copy the below python code in your .py file:- from openerp.osv import fields, osv from openerp.osv.os

Different types of SQL Joins

The SQL Joins are mostly used to combine records from two or more tables in a database for getting data. A JOIN defined as combining fields from 2 tables. There are several operators that can be used to join tables. The opertaors that are used such

How does tuples represent recursive relationships type in OpenERP

In OpenERP, Tuple represents recursive relationship of type and the tuple models is a browsable model which start loading relationships type from and use it param ttypes which is a list of relationship types and follow 'one2many' and 'man

Simple way to validate an empty text box on submit

Validating an empty field on submit through JavaScript As we know in almost all the web applications we have forms which contain text boxes and text fields to input some data and submit it. Sometimes knowingly or unknowingly users can submit the for

Solr Atomic update with incremental popularity

In solr we can create a field which can update as the related doc is searched by user. For that we need to add a field in schema.xml as: <field name="popularity" type="long" indexed="true" stored="true"/> In the below code we have used a ma

1 5 103
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: