I'm trying to change the name field in the crm.lead model to not be required without changing in the actual crm model. I can't seem to inherit the model in .py only views in xml. I want to make changes to fields that appear in many views, yet are the same field in the .py file.
I've tried the docs, the web and this help forum and can't figure out what I'm doing wrong.
_______________________________________________________________
# -*- coding: utf-8 -*-
from openerp import models, fields, api
class MyCrm(models.Model):
_inherit = 'crm.lead'
name = fields.Char(required=False)
---------------------------------------------------------------------------------------------------------------
Thanks for any help!
What was the error?
Nothing, I got it to work. Was not updating properly.