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

Search In

How to create Account Analytic Line class to compute the line in odoo-9

To create Account Analytic Line to compute the line and inherit the class account_analytic_line in odoo-9 then write this function in .py file in your module in odoo. Use this code show in given below def _compute_accountanalytic(self, domain=N

Save Session in databse in CakePHP

In CakePHP you can store the Sessions in the database , So lets try to implement this : Because you are storing the session in databse so first you need to create a table in DB so that you can store the session CREATE TABLE IF NOT EXISTS `cake_sess

How to save session in Mysql database using CakePhp?

Sometimes the web infrastructure do not share session data with each other. For this reason, sessions may be lost between requests. Using MySQL effectively ripps out this problem, as all session data is directed to and from the database server rathe

Scaling of entities in ImpactJS

How to use Scale plugin in ImpactJS ? In the lib folder create a new folder named Plugins and put the "scale.js" plugin in to this folder. Include the plugin to the requires in any entity. .requires('Plugins.scale') Now if we want to resize a bu

HTML Canvas Linear Gradient

Draw Rectangle with Linear Gradient : In this article I will show you how to use Linear Gradient to draw the graphics. To draw graphics with Linear Gradient in web page we will use Canvas API, we will draw the createLinearGradient() method. Following

How to create the session, and add the link with the given channel in OpenERP(Odoo)?

In below example, I have written Python script to create the session and to add the link with the given channel. To do this, directly use below python code in your .py file Session = self.pool["im_chat.session"] newid = Session.create(cr,

How to Create Salary Structure in openerp-7

To create salary structure in openerp-7, follow these below mentioned steps- Step1- Install Human Resources(HR) and hr_payroll Module. Step2- Map to Salary Rules in Human Resources(HR) Step3- Then Go to Human Resources -> Payroll -> Sala

How to use Angular form validation on dynamically created elements

In the example given below, I have used ng -repeat for dynamically creating input boxes. I have also used ng-form directive that allows the nesting of forms that can also be used for partial validation . <form name="mainForm" ng-submit="submi

How to Create photo gallery in wordpress

Wordpress.. WordPress is most powerful CMS for blogging. If you have experience in blogging then you should know that images and videos are most important in blogs. With the help of image gallery or video, we can make the blog more interesting for th

How to create window.prompt Method

With the help of this javascript prompt() function, I have created a dialog box that will be used for taking user input. ”The prompt() method displays a dialog box that prompts the user to input data” <!DOCTYPE html> <html> <head>

1 52 370
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: