
Search In
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
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
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)]),
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
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
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]
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
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
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
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'>
<
