I want to change the heading of form view in the grey area. (Check image below.)
This should have to be changed from SHIP00001 to some other name or field. Is that possible?
The name in the form view is gotten in two ways
name
of the field (i.e name = fields.Char('Field name')
)_rec_name
to some other field or you override _name_get
to set a custom nameso what you can simply do is set
_rec_name
to another field in your model
That's the name that will show up the form heading or in the drop down field of any other model where you have a relation to it.