
Search In
In followers linked to old partner fields first we have to go in .py file (Python file) After that we have to decide where we want to remove followers linked to old partner fields and then write python code to that field from start to end.
Use below
Hello reader!
If you want to set a custom error webpage for your whole cakePHP project you can set this page at
/views/layouts/default.ctp as layout for these error pages like 404/ page not found
To customize it and set your own message, open the a
App is in running state or not:
We can know the status (Running or not) of our application by using ActivityManager class and attribute ACTIVITY_SERVICE.
We just check our process name to compare with package name of the project.
ActivityManager a
I have to use basic authorisation in my https request. I am using the following code :
NSString *authStr = [NSString stringWithFormat:@"%@:%@", @"p5\test", @"password"];
NSData *authData = [authStr dataUsingEncoding:NSUTF8StringEncoding];
NSString *
Hello Reader!,
If you are looking for verify the uploading file with the correct extension with .csv only. Then you use the PHP code as below:-
$allowed = array('csv'); //you can mentions all the allowed file format you need to accept, like .jpg, g
Odoo Python Class : use case for code in api v8, underscore lowercase notation for old api.
And Variable name use following classes and Api to given below.
use camelcase for model variable
use underscore lowercase notation for common variable.
since
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(
If you wish to turn on Bluetooth in android when your app run then use the code written below .This code will ask you to turn on your mobile Bluetooth if the Bluetooth is off.
BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter()
To set process in subscription module, first you need to install subscription module and set interval number and interval type fields in subscription module is used to set the process. You can use this function as given below
def process(self, cr,
