
Search In
If you want to make Search views in OpenERP(Odoo) follow the below mentioned code and paste it in your .xml file: -
<="" field="">
<record model="ir.ui.view" id="course_search_view">
<field name="name">course.search
Hi If you want to change the tags of HTML with another tags then you can perform this action using JS in realitme.
Let's consider and example to change the <h2> tag with <i> using JS.
<h2 class="xyzxterms" style="cursor: default; ">
How to refresh the parent window and close the child window on clicking the button in child window using JavaScript
If you want to close your child window and refresh its parent window on click of a button, we can do that with the help of following
Hello readers, today we will discuss about "Calculating the difference between two dates in PHP".
For example, we have 2 dates and we wants to find the difference between them in php so we can use the below code:
$date1 = "2007-03-24";
$date2 = "20
Simply Use following Code & set the "size" field according to your desired font
[[UISegmentedControl appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"STHeitiSC-Medium" size:13.0], UITextAttribu
Hi Readers,
The most simple way to know that the device is connected to the internet is :
NSURL *scriptUrl = [NSURL URLWithString:@"http://apps.wegenerlabs.com/hi.html"];
NSData *data = [NSData dataWithContentsOfURL:scriptUrl];
if (data)
NSLog(@"De
If you want to import customize module in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: →
import decimal_precision as dp
from osv import fields, osv, orm
from tools.translate import _
import one2many_sorted
cl
If you want to open remote server folder using python in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: →
def copy_folder(src, dest):
if not os.access(dest, os.W_OK):
return(False)
cmd = ['xcopy'
When using _inherit but leaving out _name, the new model replaces the existing one, essentially extending it in-place. This is useful to add new fields or methods to existing models (created in other modules), or to customize or reconf
Hello Friends,
Changing the default text of search bar:
Using storyboard:
The search bar has a placeholder property, you may give it any text value as per your requirement.
Using code:
ObjectofSearchBar.placeholder = @"Your Value";
Changing the
