Recent Updates
Loading...
Saturday 23 April 2016

Remove a field from Messages and communication history in ODOO

4/23/2016 11:26:00 am
To remove a field from Messages and Communication history in Odoo models you can set the attribute track_visibility='none' in the field definition.

For example to remove the 'Expected Revenue' in opportunity form view's messages and communication history you can do the following:












For removing the Expected Revenue(planned_revenue) field we have inherit the crm_lead model and override the planned_revenue field.

class CrmLead(models.Model):
    _inherit = 'crm.lead'
planned_revenue = fields.Float(string='Expected Revenue', track_visibility='none') #Expected revenue field.

After upgrading the module the field expected revenue will not be tracked on making changes to the table.





2 comments:

  1. This is not working in odoo11

    ReplyDelete
  2. Well described post. Thanks for sharing such great information.Inwizards Inc is a Odoo Development company India offers quality Odoo Development services best in Web App industries. Intrested click here:
    Odoo Development Company India |
    Hire Odoo developers India

    ReplyDelete

 
Toggle Footer