Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Python

Featured

How to create a new partner tag in OpenERP

In OpenERP first we install human resources module and then create a new partner in partner form. Manage partner tags to better classify them for tracking and analysis purposes.  A partner may have several categories and categories have a hi...

How to add a contact in your address book in OpenERP?

In OpenERP first we create the view in .view file. then install to the human resource module and configure it and then we can easily track all activities related to a customer: discussions, history of business opportunities, documents. Use thi...

How to create membership IDs in OpenERP

In OpenERP first we create the form and browse the record of  account invoice line and then select to the product in product form and then find to the the current user’s ID for security checks. In account invoice line we chec...

How to return Membership State For Given Partner in OpenERP

In OpenERP first current row of the database cursor finds the current user’s ID for security checks. Then This Function return Membership State For Given Partner and return dictionary of membership state Value. Use this function show bel...

How to given presence of the current user in OpenERP

In OpenERP first we create users and then validate to the trigger. Users register then status will not be sent if not necessary. In usres form type is user_presence. Use this function show in given below def updates(self, user_presence=T...

How to notifychannel API and logging module instead in OpenERP

In OpenERP notifyChannel API shouldn't be used anymore because API is used to connect to other framework. OpenERP provide the logging module instead and it is used for any one in OpenERP server. Use this funtion given below def notify...

How to handle a rpc call in OpenERP

In OpenERP rpc help to change the post, like user want to excute two server in same systems then use rpc and change port number of other server. Basically rpc is used to run server in local systems. Use this function given below def rpc(s...

How to calculates quantity and Confirms production order in OpenERP

In OpenERP first we create the product and then calculates the quantity of product. In product form picking Id is generated and picking id will return to the value of this product and then product will calculated automatically in stock. U...

How to retrun partner delivery address in OpenERP

In OpenERP first create delivery address in delivery form and then we need to define a partner for the brand of the product and also dedicated_delivery_address stand for the case a new type of address. In stock form move all the delivery address ...

How to create users in login form in OpenERp

In OpenERP first create the users and then users is retrieve an active resource of model res_users with the specified login. When users login in web page then verify all the rights and authentication. If users rights and authentication both is fi...

How to Share filter created by user in OpenERP?

In OpenERP first we create users and configure users access rights, then user will create a new filter, use filter group and also add a new ir.rule entry for model_id and domain on the target group_id. If restrict is True then instead of adding a...

how to add access rights and group_id in object models in OpenERP

In OpenERP to add access rights and group_id in object models first we have to create users and users have many type of access rights and those access rights were provided by admin. object models reference in fields_relations intersects with acce...

How does tuples represent recursive relationships type in OpenERP

In OpenERP, Tuple represents recursive relationship of type and the tuple models is a browsable model which start loading relationships type from and use it param ttypes which is a list of relationship types and follow 'one2many' and '...

How to Create a new res.users record for each email address in OpenERP?

A new res.users for email address is created for wizard_data. If users already exist then a new res.users will be ignored. New res.users also have a value for the password field, so that they can receive it by email and Returns the ids of the cre...

How to create function to returns value of product name, unit price based on event in OpenERP?

In OpenERP first you have to create the product and price of the product and then relate both price and product to the event form and return the value of the product and validate it to database like as in param self and param cr. Param self ...

How to create function of open event registration and send email to user in OpenERP

In OpenERP, first we create registration in event form and then pass the param ids like as list of event registration's IDs and also mapp to the standard dictionary for contextual values than we create email for users and validate to the even...

How user clicks the selection's icon in the web client in OpenERP

In OpenERP for clicking the selection's icon in the web client, first create the users and check all rights of the users and than click the selection icon in web client and compose a default action for the model in the user's selecti...

How to create wizard resource and return the action in OpenERP

In OpenERP when creating the wizard resource than the action of form is returned so agian we have to create the users and relate it to wizard resourse and also clicks the init icon in the web client than retrieve translated version of wizard'...

Apply mutations on the user's saved selection and report back to the client in OpenERP

In OpenERp we first create report of the client and apply mutations on the user's saved selection of the search domain to be processed. The domain is only processed if no ids are present. If both domain and ids are missing, this will lead to ...

How to create Opens Wiki Page of Group in OpenERP

In  OpenERP to create opens wiki page first you have to create the current row and than the current user’s ID for security checks. user ID find List of open wiki group’s IDs and also maps the dictionary of open wiki window on giv...

How to create print template of the survey in OpenERP

In openerp to create print template of the survey means that first check response or survey and if response is available then print this response otherwise print survey form and the current row, from the database cursor and also the current user&...

How to create Picking List when planned date if it is greater than value in OpenERP

To create the picking list of User defined argument and to the calculates planned date if it is greater than value and than if condition is true and its also user defined argument so you have to validate the Name of field and also Value of field ...

How to create models in dijango

To create models in dijango to following thses step in given below: Step1- First you check your mysql is proparlly working in your systems. Step2- Than DB setting in the settings.py in your project like as DATABASES = { 'default': {...

How to create project in dijango-1.4

In dijango-1.4 to create project in under django framwork use the below commands step by step :- Step1- First you have to check your dijango framework in proparly worked or not.   Step2- Than Go to the django framwork location: ...

How to install Djanog-1.4 with python in ubuntu

Use these step to install the django-1.4 in ubuntu Step1- First check the python-2.7 version by use this commond python -V   Step2- than use below link and install django-1.4 version https://pypi.python.org/pypi/Django/1.4 ...

Setup Django framework in wondows

Hi All, If you want to setup Django framework in your system then you just need to read this blog only .  Python Installation : - You need to install python first.You can install python from here . I'm using 3.5.2 version of pyt...

Sorting Tuple/List In Python

Hi All, In programming world, we have to perform some basic operation on list or tuple but in python , it is easy to perform any operation on list or tuple. for example:- If you have a number tuple/list like  data = [[1,10,8], [4,...

Make A Simple Sign In User Interface Using Python For Windows

Hi All, In this blog, I will tell you , how to make a simple Sign-In/Log-In UI for User. I'm using python27 for this code. Python give you IDLE, which is a good python editor. There are many libraries to make User interface in python, but ...

Returning Multiple Values in Python using Dictionary?

# A Python program returning multiple values from a method using dictionary # Function is define that returns a dictionary def fun(): d = dict(); d['str'] = "Demo" d['x'] = 20 return d # Driver code to test abo...

Returning Multiple Values in Python using tuple?

# A Python program returning multiple values from a method using tuple # Function is defined that returns a tuple def fun(): str = "Demo" x = 20 return str, x; # Returning a tuple # Driver code to test above method ...

Returning Multiple Values in Python using list?

# A Python program returning multiple values from a method using list # Defining a function which returns a list def fun(): str = "Demo" x = 20 return [str, x]; # Driver code to test above function list = fun() ...

How to create search function in python

In python search function searches for first occurrence of RE pattern within string with optional flags. The search function is used to re.search function and returns a match object on success. use the below syntax for search function in .py ...

How to initialization the function in python

In python your extension module is the initialization function and This function is called by the Python interpreter when the module is loaded. the function is named initModule. use the below function in your own module in .py file, PyMODINIT...

method mapping table in python

In python method mapping table is an array of PyMethodDef structures which creates this (PyMethodDef) structure through a function and the table needs to be terminated with a sentinel that consists of NULL and 0 values for the appropriate members...

Sending Attachments as an E-mail in Python

To send an e-mail with mixed content you requires to set Content-type header to multipart/mixed. Then, text and attachment sections can be specified within boundaries. A boundary started with two hyphens followed by a unique number, which cannot...

How to create Simple Client in python

In python simple client program opens a connection to a given port 9876543 and given host. It is very simple to create a socket client using Python's socket module function. The socket.connect(hosname, port ) opens a TCP connection to hostname on...

How to create A Simple Server in python

In python simple server is Internet servers, we use the socket function available in socket module to create a socket object. After then a socket object is used to call other functions to setup a socket server. after this call bind(hostname, port...

what is the socket Module in python

In python socket Module create socket and also use the function name socket.socket() function. This function is also available in socket module. There are many type of socket method in python like- Server Socket Methods and Client Socket Methods...

How to create the match Function in python

In python match Function is a function witch attempts to match RE pattern to string with optional flags and re.match function returns a match object on success, None on failure. Here is the syntax for this function: re.match(pattern, string, ...

How to create class in python

In python class statement creates a new class definition and The class has a documentation string which can be accessed via ClassName.__doc__. The class_suite consists of all the component statements defining class members, data attributes and fu...

Synchronizing Threads in Python

With the help of threading module we can implement locking mechanism that allows you to synchronize threads. And a new lock is created by calling the Lock() method, which returns the new lock and thread in threads module. For example you can see...

How to handle Simple Mail Transfer Protocol (SMTP) in python

In python Simple Mail Transfer Protocol (SMTP) is a protocol. Python provide smtplib module to handle the email system and SMTP client session object which is used to send mail to any Internet machine with an SMTP or ESMTP listener daemon along w...

How to use the dis Module in python

In python dis module converts byte codes to a format and You can run the disassembler from the command line and It compiles the given script and prints the disassembled byte codes to the stdout . The dis function takes a class, method, function o...

How to create tuples in python?

In python, tuples is just like a list but little differ form list, To say correctly tuples is a sequence of immutable Python objects and it can not be change just like a list also tuples use parentheses. Creating a tuple is as simple you have to...

what is loop control statements in python

In python loop control statements means(CSM) that CSM is change execution from its normal sequence and When execution leaves a scope, all automatic objects that were created in that scope are destroyed. python support three statements of loop co...

How to create for loop in python?

In python to create for loop refers to executes a sequence of statements multiple times and abbreviates the code that manages the loop variable. Use the below example to create for loop: test = raw_input("what is for loop ") for letter i...

The return Statement in Python

The return statement indicate that return exits in a function and optionally pass back an expression to the caller variable and return statement with no arguments is the same as return None variable. For example you can see below code and try it...

What is python ?

Python is a general-purpose interpreted, interactive, object-oriented and high-level programming language Python programs are portable, i.e. they can be ported to other operating systems like Windows, Linux, Unix and Mac OS X, and they can be ru...

Activate the developer mode and Updates, Update Apps List and Apply Scheduled Upgrades in Odoo-9

Step-1 Go to browser. Step-2 Click on Question Mark which is located under your (?) in the top right corner of Odoo. Step-3 Click on about and Updates,Update Apps List and Apply Scheduled Upgrades. Step-4 Click on acti...

Create many2one and one2many relationship in OpenERP

In OpenERP we can create many2one and one2many relationships between models very easily by creating many2one and one2many fields. You just need to declare a field in _columns and then using this field normally in the rest programming and views a...
prev 1 2 next
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: