Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to keep statusbar when inherit an object?

By
Bonnet Denis
on 7/1/13, 7:47 AM 485 views

I've extend crm.lead object in a custom module but since I've do this I have no statusbar in form view but only the current state indeed. See picture:

image description

and source code:

class crm_lead(osv.osv):
    """ CRM Lead Case Juliana"""
    _name = "crm.lead"
    _description = "Lead/Opportunity"
    _inherit = ['mail.thread', 'ir.needaction_mixin','crm.lead']
    _columns = {
        'planned_revenue_month': fields.float('Revenus mensuel attendus', track_visibility='always')
    }

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 7/1/13, 7:47 AM
Seen: 485 times
Last updated: 3/16/15, 8:10 AM