
Search In
In below example, I have written Python script to loan/invest demand fields. Use below python code in your .py file :
'date_start': fields.date('Start Date', states={'confirm': [('readonly', True)]}),
'date_stop': fields.date('Maturity Da
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,
In OpenERP first we create the view in .view file. then install to the human resource module and configure it and then we can easily track all activities related to a customer: discussions, history of business opportunities, documents.
Use this code
If you want to show a menu badge in OpenERP/Odoo then you should follow the below code:
class Shiva(models.Model):
_name = 'Shiva'
_inherit = ['ir.needaction_mixin']
STATES = [
('healthy', "Healthy Shiva"),
In OpenERP first, we create custom module and then create function in your existing module and pass parameter in function name is MaterialsRecursive.
In below example I have written Python script to Include only parent level class. Like given below
Today we learn how to open a full screen popup with animation effects :
HTML Code :
<!Doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" conten
Sometimes it happens that our application doesn't support a browser with an older version, in that case, we wish to restrict a user from running our application on an older version. In rails, we have a solution to for this problem.
Browsernizer i
Hi
This is a simple application logging class which you can use in your PHP project. It currently provides two methods, one for logging messages and another to log a dump with an optional message. I will add the streams support and stack trace faci
The Osiris ransomware is a new, updated version of the Locky ransomware, which is even more dangerous than its predecessor.
It arrives on your computer together with spam messages that contain malicious attachments. Cybercriminals
How to create our own module in Node.js so that we can use the functionality of the module
in our code where we need it, instead of writing the same logic. Here we will use the test.js
file as a module in our index.js file. Suppose on hitting the ur