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

Search In

How to get image in product module in openerp

To get small image in product module first inherit the product.product object in product module and add one fields like image_small and write the fucntion _get_image in your own module in openerp. for example you can use the below fucntion in .py fil

How to check company unique or not in openerp

To configure and check weather the company is single or double in openerp you have to write this function in your own module in .py file, def check&_companyuniq(self, cr, uid, ids, context=None): sr_id = self.search(cr,uid,[],context=con

How to get previous date of date in openerp

In openerp first install the resource module and inherit the object of resource.calendar and If no calendar is provided, just return the previous day and day of a resource.calendar. If calendar resource is no given simply remove one day from the subm

How to set the partner's sale currency in OpenERP (Odoo) ?

In below example I have written Python script to the partner's sale currency . Use below python code in .py file : for order in self.pool.get('pos.order').browse(cr, uid, ids, context=context): if order.invoice_id: i

An high level over view of Security in OpenERP

OpenERP/Odoo is as secure as any other enterprise standard business application, and the architecture gives you many advantages to deploy applications over the Cloud infrastructure. We have been getting many queries about "How secure is OpenERP/Odoo?

How to make payment and inherits account invoice object in OpenERP(Odoo-8)

In Odoo first we create existing own module and inherits the account invoice object in your own module. Than fetch all object like as a account.move , account.journal, account.period in your own module and update the account.journal and also invoice_

How to Override of the base.stage method in project module in openerp

To Override the base.stage method in project module and Parameter of the stage search taken from the lead and also section_id if set, stages must belong to this section or be a default stage; if not set, stages must be default stages in project modul

How to set the default begin date in OpenERP(Odoo)?

In below example I have written Python script to Include the default begin date in OpenERP.  You can directly use the below sales module in your addons and run in Odoo server.   from openerp.osv import fields, osv from openerp.tools.tr

How to use search_count function in OpenERP(Odoo)

In the search_count function returns the count of results matching search domain: In below code i have explain search_read self.search_count([('is_company', '=', True)]) Note -with the help of this code we retrieve all adress.

How to use api.model in OpenERP(Odoo)?

Api.model will convert old API calls to decorated function to new API signature. It allows to be polite when migrating code. The below code you can use in your .py file . @api.model def afun(self): pass Note- Model.api will automatically convert it

1 29 38
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: