Search Here

Pages

Wednesday, 2 November 2016

How to create Qweb reports in OpenErp

In this article you will learn how to create a report in odoo from scratch using Qweb reporting engine. In this report we will use group by for grouping some data and display in report. After creating our report looks like:

Tuesday, 18 October 2016

Unknown command: 'syncdb'

Whenever I execute this command on terminal "python manage.py syncdb" why I got this error:

Django superuser fixture error - no such table: auth_user

To day you will learn how to fixed user name and password issue in django for superuser creation. So here the problem is whenever you create superuser in django by using following command:

Sunday, 16 October 2016

How to Install django on windows


What is Django:

Django is an open source web application framework which is written in python. Here we need to know that what is web framework? A web framework is a set of components that helps you to develop websites in a fast manner.

Wednesday, 12 October 2016

How to remove save button from odoo form view

In this article you will learn how to hide or remove "Save" button from Odoo form view. Some time we want to create a form view to only show or display data not to save or edit it. So here we need to hide or remove the save button. In the below screen shot you can see the "Save" button which we need to hide.

Thursday, 6 October 2016

How to show two different values in many2one field in Odoo

In this article you will learn how to display the value of two columns in many2one fields in OpenErp. In Odoo many2one fields mean selection field and by default value of  "name" field shows in many2one field or selection field in another module.

How to visible and invisible fields in odoo

In this article you will learn how to visible and invisible Odoo fields. Here I am trying to make a field visible and invisible in Odoo wizard when "All" is checked or unchecked.

Wednesday, 5 October 2016

Onchange many2one filed in odoo

Today you will learn how to create a dependent drop down (many2one) fields in Odoo. For example I have two many2one fields (campus_id and department_id), and we want to change the department on the basis of campus field.

Thursday, 22 September 2016

How to create custom reports in Odoo (Qweb)

Qweb Reporting Engine | To day you will learn how to create custom reports in odoo using qweb reporting engine. In this post we will learn how to create simple custom reports and its template using qweb.

How to convert datetime.date to datetime.datetime

To day you will learn How to convert datetime.date to datetime.datetime.

#converting datetime.date to datetime.datetime
start_date = datetime.strptime(s_date.strftime('%Y%m%d'), '%Y%m%d')


Date formatting in Qweb reports (dd-mm-yy):

<h5 class="pull-right" style="position:relative; top: 2px; margin:0;"><u>Printed Date: <span t-esc="time.strftime('%d-%b-%Y')"></span></u></h5>

How to create Form and Tree view in Odoo

Hello how are you guys!!! In my previous post you learned about "Action Menu" in odoo. We also learned in very detail how to create action menu in odoo. Today you will learn about Views in odoo.

What are Views in Odoo:

        Odoo have several types of views, but there are three commonly used views. Which are "List, Form and Search View". List view also know as "Tree".

How to create models in odoo

Before creating our first model in odoo, we need to know about model. A model is a python class
that represent business entity (fields) that are stored in PostgreSQL database. In odoo all business
entities are implemented as model or class. Model fields (class property) are defined as attributes or 
column or fields in a database.

Thursday, 2 June 2016

Using Binary Fields in Odoo

In this post you will learned about binary fields in Odoo. You will also learned how to create and use binary fields or save images in Odoo form view or odoo reports like QWEB reports.

What are Binary Fields:
       Binary Fields Store file encoded in base64 in bytea column in your created table. For example I have a table and the last column of the table shows binary data.

Saturday, 23 April 2016

How to align left Odoo fields [float, integer] in tree views.

Hello guys how are you!!! I hope you will be fine. As we know that Odoo fields such as numbers (float and integer) are right aligned in tree / list views. As you can see in below screen shot.



Monday, 18 April 2016

Strings in python

Hello, how are you guys!!! I hope you will be fine and also enjoying this tutorial. In my previous post you learned about  numbers in python in very detailed example. We learned that there are two types of numbers in python. First is "int" and the second one is "float".

Monday, 11 April 2016

How to create a Blog

         You have heard that many people talking about the term "blog", and you want to know about it. If  you want to know about blog than that is the right place for you. In this article we are going to teach you what a blog is and how to create a blog that generates revenue for you. First of all we will define the word "blog", the whole article based on.

Sunday, 3 April 2016

Numbers in python

Hello, how are you guys!!! I hope you will be fine and also enjoying this tutorial. In my previous post you learned about  python mutable and immutable objects in detail. You also learned the difference between mutable and immutable objects. Today you will learn "Numbers" in python with example.

Mutable and Immutable Objects in Python

Hello guys how are you!!! and I hope you will be fine and also enjoying this tutorial. In my previous post you learned about  python objects, variables, type and id in detail. Today you will learn what are mutable and immutable objects in python? And what are difference between mutable and immutable objects.

Saturday, 2 April 2016

Python Variables, Objects and Values

Hello guys how are you!!!, Hope you will be fine and also enjoying this tutorial. In my previous post you learned about main function in python. You also learned the importance of declaring the main function in python.

Saturday, 19 March 2016

How to create Action Menu in Odoo

In my previous post you learned about creating and installing a module in odoo. In this article you will learn how to create an action menu. Before going to start our lesson we need to know about "Action Menus".

Thursday, 17 March 2016

How to create and install Modules in Odoo

In my previous post you learned what is "Odoo Modules" and its component in detail. Now the time comes to create our first module from scratch. In this article you will learn how to create custom module in odoo from scratch.

Tuesday, 15 March 2016

Odoo Module Structure [Terminology]

In my previous post you learned how to create database in Odoo. In this article you will learn about Odoo Modules and its structure.

Monday, 14 March 2016

Odoo Database Management

In my previous post you learned how to install "Odoo" and "wkhtmltopdf" on windows platform. In this article you will learn Odoo database management or how to create new database in Odoo and how to manage it.

Sunday, 13 March 2016

Welcome to Python-3 Programming


          Hello guys how are you! I would like to welcome you to Python 3 Tutorial. Python is a modern object-oriented programming language that's well-suited for a variety of uses, from simple scripts to complex web applications.

Thursday, 10 March 2016