
Search In
If you want to installing your theme in OpenERP(Odoo) follow the below mentioned steps: -
Step-1 Go to website module and click it
Step-2 Select Users->Content ‣ New Page
Step-3 create a template
Step-4 select the update theme
Step-5 Apply them
If you want to create Structure in OpenERP(Odoo) follow the below mentioned steps: -
Step-1 Insatll the website builder module.
Step-2 Go to website menu and click it.
Step-3 Click on content->new page.
Step-4 Add the new page.
Step-4 After
If you want to change default auth fields, add the below code in your app controller
public $components = array('Session',
'Auth' => array(
'authenticate' => array(
'Form' => array(
'userModel' =>
Suppose, we have a table users having id, name and date_of_birth as column name. So to display upcoming birthday and days left you need to execute the following query:
SELECT id, name, date_of_birth, DATE_FORMAT( NOW( ) , '%Y' ) - DATE_FORMAT( date
In rails we can apply limit and offset to arrays in different ways.
1> Using "slice" method.
slice takes 2 arguments, the first one being the "starting_index" & the second one is the "number_of_elements".
syntax :-
arrayobj.slice(o
If you want to Start/Stop the Odoo server in OpenERP(Odoo) follow the below mentioned step-
Step-1 Go to the start menu-> Service-> search service ->Select line and click on it.
Step-2 After that Restart/Start/Stop's buttons .
That's it !
Using below code I have created Digital clock app in android. Android digital clock is used to show time in android app. In android, digitalclock is the sub class of TextView class. Here below code example will help you create Digital Clock function
REST, is REpresentational State Transfer which provides the appropriate way of heterogeneous application-to-application communication.
REST consists of principles that define how Web standards, such as HTTP and URIs should be used
Five key principl
Scope is the set of variables, objects that you have access to.
Here are some examples that will explain you about scopes :-
1.A globally-scoped variable
var a = 1;
// global scope
function one() {
console.log(a);
}
This
There are two ways to use global variables:
1.$rootscope
2.service
1- We can use rootscope which is the parent of all scopes. Values exposed there will be used in all controllers and templates. We can use this in a simple way by just injecting it
