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

How to check access and use superuser in OpenERP(Odoo)?

Step-1 Install sales module. Step-2 After that sales module. In below example, I have customized sales module. You can directly use the below sales module in your addons and run in Odoo server. from openerp.osv import fields, osv fr...

Constructor and Object in JavaScript with example

Constructor, classes, and object are the foundation of OOPS language. In javascript, we also use constructor, classes, and object. I will explain this by using a simple example but before starting this we should know what is constructor, classes,...

How to scroll TableView to a specific position

  Hi Reader’s,   This blog includes the concept to scroll tableview cell automatically towards the top according to the condition provided and create index path according to the row and section. Here we will learn how t...

How to get list of all orders of the logged in user?

Sometimes in magento we are required to get list of orders of the current logged users.  To do so lets see how we can do it:   first of all we need to get the logged in user id from the session for the same write the ...

Frames in HTML

We use Frames to divide the window into multiple sections where each section contains its own individual information. The main disadvantage with frames is that some smaller devices cannot cope with frames as their screens are not big enough to...

drop down menu with nested submenus using css

If u want to create a horizontal menu with a submenu, code below is help you. In below first, we will remove padding and margin from first level and second level menu. We will style up first level list item and here we will use fl...

Introduction to Object-Oriented JavaScript and namespaces in javascript

There are n number of OOPS functionality available in Javascript. Some of the basic OOPS terminologies are namespaces, classes, object, constructor, method and much more. Now I will explain one by one with syntax and definition of these terms. ...

How to make payment and inherits account invoice object in OpenERP(Odoo-8)

In Odoo first we create existing own module and inherits the account invoice object in your own module. Than fetch all object like as a account.move , account.journal, account.period in your own module and update the account.journal and also invo...

How to write python script for credit card payment in OpenERP(Odoo)?

Step-1 Install partner_res module. Step-2 After that, install partner_res module. In below example, I have customised partner_report module. You can directly use the below partner_res module in your addons and run in Odoo server. impor...

Difference between Document ready vs Window load

When a person starts programming or executing a function on page load, a common question occurs at that time, that which method we follow to execute the code on page load. It is quite necessary that programmer needs to integrate some extra act...

How to make base report design in OpenERP(Odoo)?

Step-1 Install base report module. Step-2 After that customize base report module. In below example, I have customised base report module. You can directly use the below base report module in your addons and run in Odoo server. d...

OpenERP-8:Use amount booked in the company currency on basis of the conversion into the voucher currency

Step-1 Install the account_voucher module and base module is also. Step-2 After that customize account_voucher module and sales module: In below example, I have customized account_voucher module. You can directly use the below account_vouch...

Use of array_reverse() function in PHP

Hi Reader's,  Welcome to FindNerd, today we are going to discuss use of array_reverse() function in PHP. This function is used  to reset the index of elements and returns the reversed array.array_reverse() function accepts array...

How to generate the barcode for product in OpenERP-7?

If you want to generate the barcode for product in openERP .Then you will need the following kind of python code declaration in your .py file and run in Odoo server. from openerp.osv import fields, orm from openerp.tools.translate import _...

Migrate the code from odoo7 to odoo 8 or 9 to include parent level class in OpenERP-7

When we migrate the code from odoo7 to odoo 8 or 9 then we change only few import classes and some specifics field, rest will remain same, this will helps to migrate code successfully.   In below example I have written Python script to...

How to load categories with their subcategories product count?

In Magento if we are required to load the Categories with their product count, Then to do so, let see how:   First of all load the current root category for say we have default category with id: 2. To load the root category we can wr...

KeyboardWillShow and KeyboardWillHide

When we click on TextField  keyboard lifts up but if our text field is at bottom then we are not able to see it so with the help of NSNotificationCenter we can solve this issue. Add one TextField in ViewController, give bottom constraint ...

How to compare strings conditionally?

Hello reader's in this blog we can discuss about comparison of strings. The strings in javascript are the important component of javascript. When you want to get a numeric values from the web page forms, the values are retrieved as string, wh...

How to load products between two dates ?

If we are required to load products between two dates lest between previous month to current date. lets see how we can load them in the function loadproduct()    public function loadproduct() { $first = date('Y-m-01',...

How to Insert, Select, Update & Delete Data in Magento

Hello Readers, In this blog i am going to show you "How to select, insert, add, update/edit and delete data in the Magento. Lets Suppose, If you have database table named 'slider' with the following fields id(int,primay key), titl...

Relatives font sizes in css

Hi Readers, In this blog, I am going to discuss relatives font size in CSS as per screen resolution. Being a ui developer one should have proper knowledge about all the measurement units while making a responsive design using CSS. First of...

Calculations in Active Records Query Interface

Active records query interface provide us with some very nice features to perform calculations or mathematical operations to retrieve selected records on the basis of those mathematical calculations. Those methods are as follows: Count ...

How to create slider of products recently edited ?

In magento if we are required to create a simple slider of products which are recently edited for say between from previous month to the current month. Lets see how we can create it : 1. Create a module with namespace and module. 2. Then Cre...

Difference between Windows programming and Traditional programming

A programming language is a set of rules and directive that commands a computer what task to perform and when. provides a way of  a computer what operations to perform.   Below are listed some of the differences between Wi...

DATABASE ADMINISTRATOR AND ITS ROLES

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 ...

Rails Active Record Callbacks: Part 3: [after_find after_initialize and conditional]

Hi friends, In my previous two blogs Rails Active Records Callbacks: Part 1 and Rails Active Records Callbacks: Part 2, I explained about available rails active records callbacks available. Now I will talk about some more callbacks method...

Some useful git command

When a group of people is working on the same project then it's mandatory to have any version control system, so that everyone can work without having any conflict. Git is one of the popular distributed version control systems that we have. ...

Importing structured data

Hello This blog post gives a brief about the process that needs to be followed to import structured data in PIM.   Overview Importing structured data includes a sequence of steps that should be followed in order to complete impor...

Node.js: How to perform endless loop with async module?

 I have a situation where I want to run an endless loop and I have to get data from there. For this, I have to make a Http call and then put the http response in a database, In each iteration, I have to wait for some second. To solve this...

Making Clouds using CSS3

Hello, readers Today in my blog I have tried to create something different as we all see clouds in the sky , while looking over the clouds an idea to create them came in my mind and therefore I have penned it out in the blog.   In my b...

Canonical URLs

A canonical URL quite sometimes used to describe the homepage of the sites. Mostly the URL which we want visitors to see. The canonical URL make search engine identifies certain similar URLs that are actually same. Sometimes in a website ...

Rails MailChimp API

We use MailChimp for sending emails, specially when we have to send an email to a bunch of people at once. Using MailChimp we can add new users to our mailing list, we can send a welcome email to the new user and can send a notification to users ...

What is Social Media?

                                                   &nbs...

Steps to describe how to create product and assign to category

1. In admin panel click on Catalog->Manage Products. 2. Click on Add Product button. 3. Select Attribute Set and Product Type.(Default & Simple Product) 4. In General tab fill the mendatory details like Name, Description, Short De...

How to use short code in Wordpress

Hello Friends, If you are new in WP and you would like to use short code, get the knowledge of this as below. Short code is a simple piece of code use in POST or PAGE to invoke set of functionality. For example Contact Form 7 provide [...

How to create Dynamic BroadCast Receiver in Android?

In this tutorial, we have defined a simple way for creating a dynamic broadcast receiver with a just single activity which has a dynamic broadcast receiver in it. This Activity has two buttons on one button click registered dynamic broadcast rece...

Integrate YouTube API in Cordova Android application

Hello Readers, Today's post is about an integration of YouTube API with Cordova Android apps. To use YouTube API in our app we need API key. So, first of all, we need to register our app with some details. The following steps explain ho...

Chapter 2: How to connect with mongoDb and use mongoDb model using nodeJS

NodeJS is an open source, completely free and javascript based platform built on Google Chrome's JavaScript V8 Engine. In other words, we can say that NodeJS is a cross platform which is used to develop server side web application. In my p...

How to add custom meta in qTranslate with Wordpress

Hello Friends, If you are working in a multilingual project and using qTranslate plugin for language translation in wordpress. You can see custom meta fail to save multi languages in the database. Please follow the below step to get solution o...

Accordian in jquery

Accordian are used when we have to show/hide large amount of content, so it is expandable and collapsible. we can also add symbol to indicate whether collapsible content is open or closed <!DOCTYPE html> <html> <head> &l...

How to reduce APK size android

This blog is about reducing apk size with little tricks.   1. Use Proguard. :- Proguard main feature are Obfuscation and shrinking. Obfuscation is prevent from reverse engineering. Shrinking eliminates unused code and shrink code and r...

Normalization in database

  Hi Reader's,   In this blog we are going to discuss about the Normalization process with in the database.Database Normalization can be defined as a technique which is used to organize the data within the database. Databas...

How to make rotating cube in html5 and css3

Hello Readers, Here is a blog on making a rotating cube. For this we will make an HTML page and a CSS page. First, make an HTML page named index.html and write the below code. <html> <head> <title>Rotating Cube</ti...

WordPress functions remove_filter and remove_all_filters

Today we are going to discuss two wordPress functions current_filter and doing_filter. You can learn other wordPress functions in previous blogs. If you check our previous blogs on wordpress hooks then you can get the clear idea of it. We will re...

Date Filters in iOS

Hi, iPhone developers today we will see how to fetch records lying between 2 dates in iOS i.e basically applying date filters on records of data. The first thing we have to take care is the "format" of records we have in our database. ...

Jumbotron Bootstrap

Basically Jumbotron in Bootstrap specifies some special content written for a particular purpose in a big box which provides extra information. Any valid HTML or other Bootstrap elements can be included inside a jumbotron.   <!DO...

Wordpress functions current_filter and doing_filter

Welcome to FindNerd. Today we are going to discuss two wordPress functions current_filter and doing_filter. You can learn other wordPress functions in previous blogs. If you check our previous blogs based on WordPress hooks then you can get th...

datalist tag in HTML

This tag of html provides predefined options to users so that it becomes convenient  for them to select data. This tag is introduced in html5. It is mandatory to include input element with 'list' attribute. here is an exampl...

Adding watermark to your PDF using Java

Hi there, In this blog we will see how to add watermark images to our PDF files using Java.  Watermarks have been used to discourage counterfeiting. To generate watermarked PDFs we need an additional itext.jar file to be in...

Hash Conditions in Active Records (Rails)

Hash Conditions in Active Records (Rails) Active records allows us to to pass in array conditions to our query to fetch a single record or all the records matching  the key value pair. In these hash conditions we pass the key as the na...
1 82 269
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: