
Search In
Why we create cookies ?
cookie is used to identify any user. A cookie is known as a very small file that the server copy into the user's computer browser. Whenever users request a web page using the same computer , it will send the cookie too.
Wit
In the class system of the Odoo web framework allows direct modification of existing classes using the include() method.
This system is similar to the inheritance mechanism, except it will alter the target class in-place instead of creating a new cla
Most operations with Odoo involve communicating with models implementing business concern, these models will then interact with some storage engine.
JQuery provides ajax function for network interactions, communicating with Odoo requires additional m
Workflows can be moved along by sending them signals. Instead of using the top-level execute_kw, signals are sent using exec_workflow. For example code is like below.
client = models.execute_kw(
db, uid, password,
'res.partner', 'search_read
At times we need to change the message that is displayed after a node is saved.Follwing code helps to customize using form_alter.
function mymodule_form_alter(&$form, &$form_state, $form_id)
{
if($form['form_id']['#value'] =='formvalue'
Hello readers !
Few days back I was facing issue to make public profile page in cakephp. And want to hide controller and action name from url for this I used the below code in routes.php and its work fine.
Router::connect(
'/:username', arra
From my previous blog,we all know that what prefabs are. Now,I want to explain how we instantiate prefabs and what are its advantages.
public class preafabDemo : MonoBehaviour
{
var ball:GameObject;
// Use this for initializati
JavaScript Pagination
Here i am going to describe how we would add JavaScript pagination to the table.
We'll focus on displaying a particular page of data.
$(document).ready(function() {
$('table.paginated').each(function() {
var currentPage = 0;
Slide-Out Navigation is quite popular nowadays. It enhances usability and gives a different look and feel to the app. Apps like Facebook, Path and many others use this feature. Attached with this blog is a nice library called SWRevealViewController t
Using the following code we can calculate the distance between two CLLocationCoordinate2D.
+(double)calculateDistance:(CLLocationCoordinate2D) f to: (CLLocationCoordinate2D) t
{
// CLLocation *locA = [[CLLocation alloc] initWithLatitude:f.la
