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

Search In

EXISTS in SQL

EXISTS simply tests whether the inner query returns any row. If it does, then the outer query proceeds.   If not, the outer query does not execute, and the entire SQL statement returns nothing.   The general syntax for the Exist stateme

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

How to Call Parametrized Method from LibraryCollection Class to Main Class

Hi Everybody!!  I am working on library management system project. Below is my LibraryCollection class. I would like to call my checkOutMaterial() method in the main class.  I need help on how to call the method.  Any help would be a

Global filtering - how to use global scope in Laravel Eloquent

I have a situation which will help us to understand the use of Global Filtering. Situation: I have a published filter that I use for my articles. Guests can only view published articles, logged in users can view and apply filter (?published=0/1):

Adding a field to an existing module using Inheritance in OpenERP 6.1

To add a new field to an existing module, the best practice is to create a new module that inherits the model you want this field to add in. And your module will depend on the required module. For example adding field ‘cartage’ to account.invoice’ m

Returns the default price unity in Odoo/OpenERP

In res.partner method we can returns the default price unity on run time and we can access the default price unity in Odoo server. For example you can see below code. from openerp import api from openerp.osv import osv, fields from openerp.tools.tr

How to catches all keyboard events in OpenERP(Odoo)

In OpenERP first create custom module and inherits the Scanner object in your own module and pass all the barcode fields and map it to the object. Then this barcode will start a loop that catches all keyboard events in Odoo. And by using the parse

Add nested portlets through code in liferay

Hello Guys We can add nested portlets through code in liferay. Liferay provide this funcationlity, for complete example I will assume that you want to add nested portlet to current page using another portlets action handler. Add these methods to y

CommandBuilder in ADO.NET

In ADO.NET while performing manipulations and crude operations with the SqlDataAdapter you can do it with number of ways.   One way is the use of command builder class meant for this purpose.   A CommandBuilder object resuces the load o

  • 492
Find routes between two points in google map

We can easily show the route which contain all stops including start point and end point in Google map. So to find stops we need to create markers json string contains all the stops with their latitude and longitude including start point and e

1 433 481
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: