
Search In
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
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
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
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
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
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,
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
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
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
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>
