
Search In
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
Hello Readers if you getting in codition where you have to find the current file name then this blog is very helpful to you.
Suppose you are making user redirect only when he is in account.php then you just have to fine the file name.
<?php
if (
Hello Nerds,
I am using AdMob, an account associated with AdSense for advertising my application on mobile, whenever I'm trying to login to AdMob account then, I'm getting 403 Error on the screen and some times it goes away.
&
Hello readers ,
Following are the steps to guide how you can show ads in your site.
Step 1
First sign in with google ad sense account using below link
https://www.google.com/adsense/start/
Step 2
After sign in with your google account you wil
If you want transfer stock in Product module you have to follow the following code in your .py file.
class stock_immediate_transfer(models.TransientModel):
_inherit = 'stock.immediate.transfer'
@api.multi
def process(self):
self.ensure_one()
Database configuration in cakePHP: Cake PHP configuration file is found in app/Config/database.php
Example of database configuration file in app/Config/database.php.default.
class DATABASE_CONFIG {
public $default = array(
'datasource'
This blog will show you how to create an xml from sql query having sql data. Write down the followng query to generate xml:-
WITH XMLNAMESPACES ('http://www.dossia.org/v2.0/xml/phr' as phr)
Select OrderResultID,OrderID ,PatientID ,SpecimenNumber ,Ac
How to integrate Google Street View in Javascript?
This blog will help you to know how to integrate google street view using javascript. Firstly create index.html and paste the following lines of code:
<!DOCTYPE html>
<html>
<head
PDO does not account for database specific syntax. It can allow for the process of switching databases and platforms. PDO can simply switch the connection string in many instances.
PDO supports the following database:
PDO_FIREBIRD ( Firebird/Interbas
Hello Reader's if your page is generating some non readable characters that are not able to print then by using PHP you can remove them as follows:-
Many of the other answers here do not take into account unicode characters (e.g. öäüßйȝîûηыეமிᚉ⠛ ).
