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

Search In

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

Consume product with specific quantity from specific source location in openerp

The quantity from specific source location with Consumed product and param product_qty means that Consumed product quantity and param location_id is Source location and returns Consumed lines in this function. Use the below function in .py file def

How to Override to confirm the sale order, if defined and if the transaction is done in openerp

If define Payment Transaction in sale order in sale module then first override the function and inherit to the view from sale and add fields acquirer_name in sale order model and set default draft method and use this function in your own module. Use

How to Print reports in Odoo-9

If any report have a combination of two elements,like below-> 1-in reporting all session contain an ir.actions.report.xml, for which a <report> shortcut element is provided, for example code is below--> <report id="account_invoices"

How to Onchange of product and sets some values in openerp

In product module use onchange function and sets some value and return dictionary of value in on_client_changed function to first inherit the product module class like as product.template class and then use this function in .py file in openerp use th

Convert the amount in company currency using the currency rate and voucher conversion in openerp

To convert the amount in company currency using the currency rate and voucher conversion in openerp. use this function def _convert_amount in .py file in account voucher module in openerp def _convert_amount(self, cr, uid, amount, voucher_id, contex

How Utility method removes leave intervals from a base interval in openerp

In openerp It will first clean the leave intervals, to have an ordered list of not-overlapping intervals and initiate the current interval to be the base interval then before finishing skip the current interval and go to next beginning after the curr

How to handle a longpolling request in openerp

In openerp to handle a long-polling request, we need to bypass private attribute access because we do not know before starting that the thread and handles a long-polling request and rename the thread to avoid tests waiting for a long-polling. Example

How to generates and returns html version of a report in openerp

In openerp If the report is using a custom model to render its html and fallback on the generic html rendering. report is generates and returns html version of a new report. use this function in your own module in .py file, def get_html(self, c

How to create and Allow to render a QWeb template python-side openerp

In openerp render function returns the 'ir.ui.view' but embellish it with some variables/methods used in reports. param values is additional methods/variables used in the rendering returns is html representation of the template. use this code show be

1 69 130
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: