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

Search In

Convert local time to UTC format

Hello Guys, Today we will learn how to convert the local time period into UTC format : We will create a function with offset and time as parameter.Below is the code: function convertToUTC($DateTimeZone,$offset){ $DateTimeZone='2015-10-28 03:1

How to create Odoo Search views?

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

How to make controller,command using artisan in laravel 4.x

We can create controller and make command using artisan.The syntax for writing command for controller is: Syntax for writing Controller: php artisan controller:make ControllerName Example for writing Controller: php artisan controller:make User

How to use Classical inheritance in openERP/Odoo ?

When using the _inherit and _name attributes together, Odoo creates a new model using the existing one as a base. The new model gets all the fields, methods and meta-information from its base. For example you can take idea from b

How to use array_search() Function in php

what is array search ? Array search returns the corresponding key if search is successful and Searches the array for a given value. You can take reference form below example. <?php //firstly create a array $employeName=array("1"=>"Jorden

How to use of "ksort" in php

Firstly we will know what is the use of "ksort" in php "ksort" is used to sort the array by key and this is useful for associative arrays. You can see below example for "ksort". <?php //suppose we want sort employee age from an array lis

How to make security system in OpenERP/Odoo?

If you want to make security system in OpenERP(Odoo) follow the below mentioned code and paste it in your ir.model.access.csv file: "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_idea_idea","id

How to use the action manager in OpenERP/Odoo ?

The action manager can be invoked explicitly from javascript code by creating a dictionary describing an action of the right type, and calling an action manager instance with it. In below example I have written javascript to Include only parent level

How to utilize array_values() Function in php ?

why we use array_values() function in php ? The array_values() function use for returns an array which have all the values of an array. you can see below example: <?php //firstly create a array of a city detail $Citydetail=array("cityname"=&

How to use initializer receives the parameters passed when using the new operator OpenERP/Odoo ?

If you use to initializer receives the parameters passed when using the new operator in OpenERP(Odoo) follow the below mentioned code and paste it in your .js file. var MyClass = instance.web.Class.extend({ init: function(name) { this.na

1 71 370
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: