
Search In
In below example I have written Python script to configure barcode. It will print one barcode on each page based on quantity available of selected products. Like below python code in .py file :
import logging
from openerp.osv import fields, orm
In below example, I have written Python script for each tax group. see below python code in .py file :
(tax_code_pos, base_code_pos, account_pos, tax_id)= (0, 1, 2, 3)
for key, tax_amount in group_tax.items():
tax = s
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
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
