
Search In
If you want to perform a super with count as False, to have the ids, not a counter in Odoo then follow the following code in your .py file.
ids = super(mail_message, self)._search(cr, uid, args, offset=offset, limit=limit, order=order,
In below example I have written Python script to the partner's sale currency . Use below python code in .py file :
for order in self.pool.get('pos.order').browse(cr, uid, ids, context=context):
if order.invoice_id:
i
If you want to use a unique cron job for all subscriptions system then follow the following code in your subscription module in .py file.
def set_process(self, cr, uid, ids, context=None):
for row in self.read(cr, uid, ids, context=contex
Hi Sir,
I have just started to learn Android from the video series of "Android Apps Development Tutorial for Beginners (1) - 2015" but i am getting problem in launching AVD.
In the vedio series when they are launching AVD then "Bucky Phone" AVD is co
Code snippets to logout from Facebook is given below :
<script>window.fbAsyncInit = function() {
FB.init({
appId : "FACEBOOK_APPLICATION_ID",
status : true,
Hi,
I was trying to rewrite a URL in .htaccess file on particular range of id's from 40 to 900. But it is not working as it is supposed to be.
Actually I want to redirect page if there is any Id from 40 to 190. But is also redirecting ids like 4, 41
In the example given below document.getElementById returns a reference to our HTML element myText. We store this reference into a variable 'myTextField', and then use the 'value' property, that all input elements use to grab the value.
<script ty
Hello Guys,
If you are looking to change your website URLs on SEO friendly mode URL rewriting with .htaccess file is a good practice to do same. Suppose you want to change your website URL like
htttp://www.abc.com/prodDetail.php?prodID=15&catID
Hello Friends,
If you are looking to use update query with query builder in Symfony2. Please review the below example and make the adjustment accordingly.
$sql = "update tbl_paymentmethod set pm_address = :address, pm_status = :status, updated_at
Hello Friends,
If you are new in symfony and want to insert a new record in the database, please review the below example ::
1) Please open your controller file.
2) Add database entity in the top of your controller like this
use PersonalIn
