Search Here


Friday, 29 December 2017

Python - Loops

Repeating code over and over again known as a loop. And is also a fairly common scenario in programming. Python provide couple of ways to doing that.

Saturday, 23 December 2017

Python - Function

Most applications weather they written in python or some other programming languages broke up in smaller block of codes known as functions. So in python there is no difference in functions.

Thursday, 21 December 2017

Odoo workflow

In this tutorial you will learn how to create workflow in odoo. Before jumping into the code you need to know about workflow and why we need it.

Wednesday, 20 December 2017

Display multiple form and tree view for same model

In this tutorial you will learn how to display two or more form and tree view for same model. You can define different tree and form view for same model. To achieve this we will create a split action for our object/model.

Wednesday, 13 December 2017

How to display confirmation display box / message box on button click.

In this article I will show you how to add or display confirmation display box / message box on button click. Before going into deep we need to know problem statement. In some scenario we need to ask from user is he/she want to do further processing or not on button click.

Monday, 11 December 2017

Ionic Forms

To interact with users and collect information from users we need forms or input forms. In this tutorial we will cover different type of ionic forms.

Tuesday, 28 November 2017

How to add subreport in jasper report using iReport

In this tutorial I will show you how to add sub reports in jasper report using iReport. Before adding subreport in our main report we need to discuss about subreport that what they are.

Thursday, 23 November 2017

How to display images dynamically in jasper report using iReport

This article is all about displaying dynamic images in jasper report using iReport. I will show you step by step how to show images dynamically in iReport. Here dynamic images mean your images are stored in database like (PostgreSQL, MySQL, SQL etc) and we want to show that image or picture in our jasper report using iReport Designer.  

How to add page number in Qweb reports in odoo

In this tutorial we will add page number in Qweb reports. But remember the page number only shows when the report type is PDF, In HTML format page number will not shown. Here we will display page number in this (page X of Y) format. In my case I am not using external_layout_footer in my reports. I instead have using footer class (class="footer").

Wednesday, 22 November 2017

Show records on TreeView that are related to Active User

In Odoo to show records that are related to Active User is not a big deal. First understand what we are going to do here.

Tuesday, 21 November 2017

Ionic Cards

To organize information in mobile devices cards are great way. They contain our content in a well organize manner. To display so much content and information at once we use ionic cards. As we know that mobile devices have smaller screen size and to display information on that devices cards are the best ionic component to show such type of data or information. The design pattern of cards adopts many companies such as Google and Twitter.

How to override Odoo functions

In this article you will learn how to override Odoo methods. I will show you how to override Odoo Create, Write and Unlink method. Here the question is why we need to override these (create, write and unlink) methods.

Monday, 20 November 2017

Python General Syntax (comment, main function etc)

Hello how are you guys!!!, In my previous post (Python + Eclipe Development Environment / Python Hello World ) you learned about development environment of python and eclipse. You also learned how to create "Hello, World!" application in python. Today you will learn about common python syntax such as commenting code in python and how to create a main script in python.

How to add read more link button in blogger

Blogger shows your whole posts on your archive, label and home page by default. This can be a real pain for your users if your posts goes too much long. Because longer posts takes too much time for loading, and this can be reason for your blogs loading time. And readers of your blog have to wait until your entire posts loads.
In this article I will show you how to overcome this issue.

Sunday, 19 November 2017

Python Hello World

Hello friends how are you!!! today you will learn how to program in python. In this lesson we create a simple Hello World program using python.

Hello World Python:
     In this tutorial we are going to use the traditional "Hello, World!" program. And the purpose of "Hello, World!" is not an exercise to find the simplest form of code in a particular language, or anything like that. Its actually to learn about the development environment, and this is what we called development cycle (it takes to edit, and to test, and to change, and to test and to run code in a particular environment). And so for this purpose we use the simplest form of a program itself, so that can get out of the way and then we can focus on the environment.

Thursday, 16 November 2017

Dynamic List Items in an Ionic/AngularJS App

In my previous article we have discussed about List or List Items, and we show static contents in that list item. We also discussed about icons, dividers, avatars and thumbnails. In this article I am going to show you how to populate contents in ionic list item using AngularJS Controller. Because every application needs dynamic data instead of static.
To populate dynamic list items follow these steps.

Wednesday, 15 November 2017

Ionic List

Today we will discuss about Ionic List component. In my previous post we discussed Ionic Button. In most of cases we use list to display data and list is a simple and common way to show data in stack. In every mobile applications Windows Phone, iOS and android this (list) is a widely used ionic component to represent data in pretty format. You can also display icons, button, toggle button etc in list view or ionic list.

Monday, 13 November 2017

How to show adsense ads below post title in blogger

As we know that majority of bloggers used Adsense to monetize their blogs or websites. We also know that Adsense based on cookies and shows relevant ads related to our blogs or websites content. As bloggers are paid on per click method, so the major issue for bloggers is the placement of ads on their blogs or websites. They use many tricks to placement of ads to increase their revenue.

iReport Dynamically changing font size

Today I will show you how to dynamically change font size in jasper reports using iReport designer tool. To change font size dynamically we need to create two variables, and give a readable name to that variables. To create variables follow these steps.

Sunday, 12 November 2017

Ionic - Button

There are several types of button in Ionic Framework, and we can use them according to our need. Ionic framework provides different classes to their components. For example for button their is button class. And the main class for all the button types is button.

Saturday, 11 November 2017

AngularJS in Ionic Framework

As I already told you in my previous tutorial What is Ionic, that to develop an ionic apps the core language is AngularJS.

Friday, 10 November 2017

Create your first ionic framework app Hello World

In my previous post we have installed and setup ionic framework. Now we are at this stage to create our first app in ionic framework. Today we are going to create very simple application Hello World and explain ionic app structure.

PostgreSQL date format

How to format date in PostgreSQL. Today you will learn different formatting of date in PostgreSQL. Here we use builtin PostgreSQL function to achieve our goal related to dates.

Thursday, 9 November 2017

How to add custom font in ireport

In this article you will learn how to add custom font in ireport as jasper reports font extension. Here custom font means the font style or font family that is not exists in ireport tools or properties.

Tuesday, 7 November 2017

How to add serial number in jasper ireport

In this article you will learn how to display serial number in jasper reports. Serial number holds the count of rows/records that are read from the data source How to add report data source in jasper.

How to add related posts with thumbnails in blogger

In this article I will show you how to add related posts with thumbnails in blogger. It is very important for all bloggers to show their related posts of current post. It has many benefit to do so and the main benefit is it will help you to increase your page views.

Monday, 6 November 2017

How to convert number into words postgresql

In this article I will show you how to convert number into words in postgresql. The question raises why and where we need this scenario. The answer is In some situation to show student CGPA in words in his/her degree report etc. To handle this scenario follow these steps.

Sunday, 5 November 2017

How to insert code block or syntax in blogger

In this article you will learn how to add code block or syntax in your blogger. Computer Science students knows that what is syntax, for those who don't know what is syntax or code block (In context of programming languages : Syntax is the set of rules and principles that governs the structure of sentences in a particular languages.)

Saturday, 4 November 2017

Setup Environment for Android platform

To develop android applications using ionic framework we need to install platform specific tools. Because here we are going to develop an android app so we need to install only android platform tools. If you want to develop applications in iOS or windows phone so install those platform tools. To install platform tools we do not need to install complete android studio, here we going to install only android sdk stand alone tool.

How to install Ionic on windows

In this article we are going to install ionic and its dependencies on windows operating system, but you can develop an ionic application on any operating system. To the installation of ionic and its dependencies such as Cordova Plugin etc we use command line tool. As we told in my previous

What is Ionic

Before going to deep into Ionic  we need to know about that What is Ionic?  so the answer is Ionic is an HTML5 based mobile application development framework, which is used to develop hybrid mobile applications. Here for newbies hybrid mean develop an one application for different platform's such as Windows, Android, IOS platforms.

Thursday, 2 November 2017

How to create a report in jasper ireport

In this article I will show you how to create jasper report from scratch. If you did not set data-source for your report than set the data-source first.

Create pages with label in blogger

This article is very helpful for those who want to show their post on specified page only. In this post I will create a page named "Jasper Report" and a new post and assign this post to a label, remember this label should represent your page e.g. "Jasper Report". You can create as many labels for your post. Below image shows what we are going to achieve here.

Wednesday, 1 November 2017

How to add report datasource in ireport designer

This article is related to jasper reports, before creating reports in jasper using iReport designer we need to add report data-source. It means that from which source report data comes. I will show you how to add report data source in iReport designer step by step.

How to customize blogger template with Template Designer

Hello bloggers In this article I will show you how to customize your blogger template. After reading this article you can easily customize and modify your blog's looks and feel as per your need. There is no need to change any HTML or CSS etc, here we will use Blogger Template Designer to customize our blog. In this article we will cover the basics here and not go through each and every aspects of Designer. Its up to you how much you explore it. Now come to the point.

Tuesday, 31 October 2017

How to add page view counter or hit counter on blogger step by step guide

Hello guys are you looking for simple and quick hit counter/page view for your blog than that is the right post for you. Now placing a page view counter on blogger is not rocket science. I will show you how to add page view counter on blogger.

Monday, 30 October 2017

How to create and publish a blog post

To day I will show you how to create and publish posts in your blog. Here the question raise what is post? The answer is "The content or topic which you are writing is called post"

How to add a page to a blogger

     To day I will show you how to add pages or tabs in your blog. For your understanding I will show you first that what we are going to do in this post. Below screen shot shows what we are going to achieve.

Friday, 27 October 2017

How to check login user group in odoo

    In this post you will learn how to check login user group. The need of this post is, to sometime we need to visible invisible some filed on the basis of login user group or we want to perform some action on the basis of login user. To do so we need to get login user group. There are two ways

Thursday, 19 October 2017

Redirect to tree view from button click

Today you will learn how to redirect to tree view from button click in odoo. In this tutorial I will create a button in xml and method for that button in py.

Hide report from print menu

Today I will show you how to hide report or report name from print menu in odoo.

Thursday, 10 August 2017

Odoo how to send email on button click

Most of the time we need to send an email after successfully completion of some tasks or event. To day I will show you how to send an email in odoo using button click.

To send an email in odoo first of all we need create email template. We can create this email template using following two ways.

Sunday, 5 March 2017

How to search many2one field by other than "name" field.

Problem: We know that in Odoo search is available by default on "name" field. For example here is many2one field named "section". And we are enable to search on those field because this field is the combination of two field subject name and section name.