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

Search In

Review Effectiveness

Review Effectiveness is a software metric to calculate the number of defect uncovered during review ( SRS review + Design review + Testing review ) versus total number of defect uncovered . The value of Review Effectiveness is very important for

How to use browse method in OpenERP/Odoo ?

If you want to use browse method in OpenERP use below code - def _get_company(self, cr, uid, context=None): user_pool = self.pool.get('res.users') company_pool = self.pool.get('res.company') user = user_po

How to create a model in OpenERP/Odoo ?

If you want to create a model in OpenERP use like below code - from openerp.osv import fields, osv class course(osv.osv): _name='course' _columns= { 'name':fields.char("Name",size=128,domain=[('name', '=',2)]),

How to copy data form account_invoice_line table in PostgreSQL

To copy data from account_invoice_line table in account module in PostgreSQL use this code in pgadmin and user can copy data from account_invoice_line table. Copy account_invoice_lines copy (SELECT * FROM account_invoice_lines INNER JOIN account

How to check if audittrail rule apply in super admin mode in OpenERP/Odoo ?

Step-1 Go to audittrail module. Step-2 audittrail->audittrail.py. Step-3 After that used below code in audittrail.py file. if self.check_rules(cr, SUPERUSER_ID, field_obj._obj, method): x2m_model_ids = pool.get('ir.model').se

How to get the invoice associate with the picking of invoice in OpenERP/Odoo ?

Step-1 Go to picking_invoice_relation module. Step-2 invoice->invoice.py. Step-3 After that used below code in invoice.py file. if not isinstance(ids, types.ListType): # Ensure it is a list before proceeding. ids = [ids]

How to secure your joomla admin url

First you need to create a new folder directory inside root folder and create index.php where you need to create cookie. $mysecurecookie="123456"; setcookie("admincookie",$mysecurecookie,0,"/"); header("Location: /administrator/index.php"); Now

How to add watermark in image using PHP script.

Hi guys ,it really helps to add watermark on images . In this code you will see that we get the position of watermark .png image where you want to place then copy to the watermark image on the main images. /* * PHP GD * adding watermark to an image

How to create a specific page layout in Odoo?

If you want to create a specific page layout in OpenERP(Odoo) follow the below mentioned code in your .xml file: - <!--?xml version="1.0" encoding="utf-8" ?--> <openerp> <data> <!-- === Demo Page === --> <templa

How to add custom styles to your theme in Odoo ?

If you want to add custom styles to your theme in OpenERP(Odoo) follow the below mentioned code in your .xml file: - <xpath expr="/form/header/button[@name='action_quotation_send']" position='attributes'> <

1 177 408
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: