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

Search In

How to configure the Barcode through Python code in OpenERP(Odoo)?

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

How to manage each tax group in Point Of sale in OpenERP(Odoo)?

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

How to make the loan/invest demand fields in OpenERP(Odoo)?

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

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 add a contact in your address book in OpenERP?

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

How to show a menu badge in OpenERP/Odoo?

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"),

How to call and create parent class in account module in OpenERP(Odoo)?

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

Logger class in PHP

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

What Is Osiris Virus & How to Deal with This Security Vulnerability

  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 a module in Node.js

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

1 39 130
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: