
Search In
If you want to create date fields to assign current date in .py file in openerp, you can use the below code for this
from datetime import date
from openerp.osv import fields, osv
from openerp.tools.translate import _
class account_invoice(osv.osv_m
To create two float fields in openerp you have to make third fields function and also this is a auto calculate in openerp.
Like:- field3 = field1 + field2
EXAMLE -
'field3' : fields.function(get_total, method=True, string='FIELD3',type='integer')
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 give gr
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 event fo
How to set the incoming email servers in OpenERP (Odoo)?
Step-1 Go to settings -> General Settings
Step-2 Click on configure incoming email servers->Create
Step-4 Name->Server Type ->POP Server
Step-5 Click On Server Information
Step-6
To create Product Categories in openerp-7 follow these below mentioned step:-
Step1- Install product module
Step2- Go to Warehouse-> Configuration -> Products->Product Categories
and create new Category.
See the below screen-shot for mor
To Creating Outgoing Mail Server in openerp-6.1
Follow these step given below:-
1. Go to Setting->Configuration->Email->Outgoing Mail Servers, and create
2. In Description field, give an appropriate name, example: localhost
3. SMTP Server,
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 created
In Odoo first install the accounting module and then if users want all customer related account invoice to be added only to the product price and the quantity of the product calculated and stored in the fields in res.partner, for this follow the step
In below example, I have written Python script to create the session and to add the link with the given channel.
To do this, directly use below python code in your .py file
Session = self.pool["im_chat.session"]
newid = Session.create(cr,