
Search In
In parent level class we have to go in python file and add some function and script.
In below example I have written Python script to Include only parent level class. you can use below python code in .py file :
def addMaterialsRecursive(components,
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 Include
Sometime you may need to form a tree structure from the values of the database table.
For Ex-
You may need to form a hierarchy of categories and subcategories like this:
My Categories
Fun
Sport
Surfing
Extreme k
Coder missed a very simple fix and general good practice that you should always initialize your object before you try to set a property. It is very simple fix for this is simply to add a new StdClass; call right before the error with the variable it
Odoo Python Class : use case for code in api v8, underscore lowercase notation for old api.
And Variable name use following classes and Api to given below.
use camelcase for model variable
use underscore lowercase notation for common variable.
since
Bundle Id is basically the package name of the android application and it the unique identifier for all the android applications. Bundle id should always be unique ie the two application should not have same bundle id and if the bundle id is same the
In openerp first install board module and inherit object and views in board module and check the current users id values and dictionary values for every fields and then create new record in board module in openerp.
you can use this function as given
I want to clone a division and want that each sub division created should have a different id
Hello All,
In this we will discuss about how to perform two phase commit in MongoDB.
Consider a example where funds will be transferred from one account to another. In a relation database approach we just subtract fund from account a and add same a
Basically this tag is used with select statement to find and retrieve the data from multiple tables . And this can be done with the help of join query .
suppose i have two tables , name is student and teacher then i can add the columns with the help
