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.