
Search In
In odoo useful remarks have three useful step-
1- Twitter Bootstrap and FontAwesome classes can be used in your report template
2- Local CSS can be put directly in the template
3- Global CSS can be inserted in the main repor
The imports are ordered as
1. External libraries (one per line sorted and split in python stdlib)
2. Imports of openerp
3. Imports from Odoo modules (rarely, and only if necessary)
Inside these 3 groups, the imported lines are alphabetically sorted.
The following post captures the implementation details for uploading file in ASP.NET MVC.
First we need to create HTML form which would receive the file as input:
@using (Html.BeginForm("Index", "Home", FormMethod.Post, new { enctype = "multipar
Hello Reader's!
If you want to make your file download by execution of JS then you can use the code below:-
var a = document.createElement('a');
a.href = "/favicon.png"; //make the link of image
a.download = "favicon.png";
document.body.appendChild(
Hello Guys
Most of the time we are thinking .class has bytecode and it's not human readable but it's right thinking so we have another technologies which can decompile .class file to human readable means .java file.
Now, I illustrate the java decom
Nesting is used to style your structure of the stylesheet that matches the HTML structure of the page to reduce the chance of conflicts.
Example:-
ul{
background-color: #03A9F4;
padding: 10px;
list-style: none;
li{
background-color: #f
For combine the result of two or more select query we use union in sql query.If you want to use union in yii query you can use the below code
$queryFirst = (new \yii\db\Query())
->select("id, name")
->from('tableA')
->limit(10);
Hello Reader's If you want to make user redirect and show him the error message on next page then by using codeigniter you can do by following functions:-
Let's say if user input wrong username/password then you'll redirect user by following code of
Following example illustrate how you can Generate Match Token for ALL records in Base Object using SIF API:
ExecuteBatchGenerateMatchTokensRequest req = new ExecuteBatchGenerateMatchTokensRequest();
req.setTableName("MY_BASE_OBJECT"); // BO tab
The mobile device screen can able to locked programmatically. Appium provides a method through which we can perform the same.
lockScreen(int seconds)
The argument should be an integer value ie the number of seconds we want the screen to be in locked
