Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

How to perform a super with count as False, to have the ids, not a counter in Odoo?

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,

How to set the partner's sale currency in OpenERP (Odoo) ?

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

How to use a unique cron job for all subscriptions system ?

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

AVD launching error

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

logout from facebook with javascritp SDK - facebook logout

Code snippets to logout from Facebook is given below : <script>window.fbAsyncInit = function() { FB.init({ appId : "FACEBOOK_APPLICATION_ID", status : true,

URL rewriting using .htaccess

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

How to use getElementById() method in javascript

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

URL rewritting in PHP with .htaccess

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

How to use update query in Symfony2

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

How to insert record in Symfony

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

1 3 … 466
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: