Monday, 17 December 2018

Add domain on many2many field in odoo

In this article I will show you how to create a many2many field in odoo. I will also show you guys how to filter many2many field using domain. You can also learn how to set default value on many2many field.

Monday, 10 December 2018

Posters Presentation in BRAINIAC 2018

KICS is organizing BRAINIAC with ICOSST-2018. BRAINIAC has been part of ICOSST since 2010. BRAINIAC is a national technical competition which provides opportunities for researchers, students and engineering graduates to enhance and showcase their technical skills through a country-wide competition and win attractive cash prizes.

Wednesday, 28 November 2018

List all the databases and their sizes in PostgreSQL

In the article you will learn how to list down/get all the databases and their size in MBs. To get database list from pg_Admin you can simply run the following on your current database and it will get all the databases.

Friday, 19 October 2018

How to add custom header and footer in QWEB reports in odoo

In this article I am going to teach you how to add custom header and footer in QWEB reports in odoo. You guys already know that how to customize the default Odoo header and footer in QWEB reports by changing the company setting. Sometime you want to customize report header and footer according to your desire instead of showing company information, to do that we need to edit the QWEB view. Here we will inherit/override existing template (xml) like report layout (report.external_layout_header and report.external_layout_footer) instead of directly changing in source code.

Sunday, 23 September 2018

Remove 'Manage Database' and 'Powered by Odoo' from login page

In this article I will teach you how to remove 'Manage Database' and 'Powered by Odoo' from odoo login page. Remember we are not going to remove 'Powered by Odoo' from below the menu on left side bar of odoo interface.

Tuesday, 18 September 2018

How to stop auto rounding of float fields in odoo

In this tutorial I am going to teach you how to stop auto rounding of Float fields in Odoo. Sometimes we need to store values in Float field like this (1.196). But the issue is when we write this (1.196) on Float field, the internal behaviour of Float fields will convert this value or round up this value into (1.20).

Wednesday, 12 September 2018

How to link custom paper format in QWEB Reports

In this tutorial I am going to show you how to add or link custom paper format in your newly/existing QWEB Reports. Before adding or linking custom paper format in QWEB reports I want to tell you why we need this custom paper format.

Thursday, 2 August 2018

Get current logged in user id in odoo

Today I am going to show you how to get active_id or current user login id. The question is why we need this id. The answer is that on the basis of current user we want to perform some action or show records/data on tree view, on odoo field or on odoo controller. In this tutorial I will show you different ways to get current user or logged in user id or active id.

Odoo Web Controller

Today I am gonna talk about odoo controller. By using odoo controller you can create front end or web pages that are integrated with our odoo modules. It means that instead of showing data on CRM or odoo typical form or tree view, you can show records or data on web pages. And we will achieve this using custom web controller or odoo controller.

Tuesday, 17 July 2018

How to Bold the text inside the variable expression in Jasper Reports

Jasper Reports | Bolding text in variable expression is not a big issue in jasper reports using iReport. The question raise here that why we need this. For example we want to show some text with bold font and center align in a line or row. If we do that using two text fields the first one is static text and the second is text field, by using this technique we achieve our goal, but the alignment of text will be disturb. So to overcome this issue we use variables to show text with blod font instead of taking two fields. Follow below steps to handle above issue.

Tuesday, 26 June 2018

Odoo get web form or template value in controller

In this article I am going to discuss how to get web form values such as input type text, radio, date and checkbox in odoo controller. To achieve this we need to create a form tag in our template and in that form we have to create some input elements such as a date picker, two checkbox and one submit button. Now on the click of submit button we want form data in out controller.

Monday, 12 March 2018

Supervised machine learning

In supervised machine learning we are learning to create models that combine inputs to produce useful predictions, these predictions are also produced even on unseen data. There is few key term in supervised machine learning.

Tuesday, 6 March 2018

Google machine learning

Today we are here to learn about google machine learning. Google machine learning is a valuable tool to help engineers at Microsoft, Google and everywhere else make sense of the data. As we already know that, how much demand of the engineers those are using machine learning now a day.

Friday, 2 March 2018

Django startapp

In django your main website is your project which we have created in our last tutorial. In this tutorial we are going to create django apps using startapp command. In django every website is a combination of apps.

Thursday, 1 March 2018

How to create Django Project

Now that we have download django and installed setup properly on our computer. Now we are going to create very first django project. The process of creating django project will be same every time when you create new django project.

Tuesday, 20 February 2018

Python timedelta

A common scenario involving date and times involve performing mathematical operations on dates and times themselves. For example when you want to calculate number of days, events or you want to find out what is the next date and time than we use timedelta class in python to find out these operations.

Saturday, 17 February 2018

Python strftime Datetime Formatting

We have seen how to use python to retrieve basic date and datetime information. Lets take a look how to the format the output using a set of predefined string control code. We can achieve this using python strftime function.

Sunday, 4 February 2018

Adsense Overylay Ads

The good news for bloggers, word press runners and websites owners. Google adsense introduces new ads called overlay ads, these ads are also called page level ads. By using these ads you can increase your adsense revenue effectively and massively.

Friday, 26 January 2018

Python - Date Manipulation

Now that we have learned basics of python language, we are going to turn our attention to using the rich library of predefined code that comes with python In order to build functionality in python application. In this tutorial we focus on manipulating dates and time in python programming.

Saturday, 20 January 2018

Python - Class

As we know that python is an Object Oriented high level programming language. Just like Java Script and another programming languages python gives you the option writing code that is procedural or object oriented. For that you can use classes in python. Classes are really great way of encapsulating functionality. That can be kept together and pass around as a complete module to use in other projects.

Wednesday, 17 January 2018

Inheritance in Models and Views

In Odoo/OpenERP we can inherit or use existing modules object/class/model and views. We can also inherit single field of existing modules. The question is why we need such inheritance.

Friday, 12 January 2018

Groups and Access rights in Odoo

The most significant area in Odoo/OpenERP is how to deal or manage users. Managing users and assigning groups or role is the key point in every business. In Odoo/OpenERP assigning role or group to the single user is made through Administrator. And its not a good practice to do so using login through admin and do some setting stuff like assigning groups to employee or users.

Saturday, 6 January 2018

Python - Conditional Statement

One of the fairly common things in programming is making decision. For example comparing value and executing code based upon whether one value is greater than, less than or the same or not the same as another one. And that’s one condition comes into play.

Monday, 1 January 2018

Get parent form value in one2many form view or pop up form view

To get parent value in one2many we may use context in XML. First of all I will define you the problem statement that why we need this scenario. And using context in xml what we could achieve.