Hi Experts
Its my first time to add a custom field in the form through the custom module. and i am facing this error
Field `custfield` does not exist
can you please guide me what i am doing wrong
here is my models directory codes
models\__init__.py code
import custfield
models\custfield.py
from .import models, fields
class custfieldInherited(models.Model):
_inherit = 'fleet.vehicle'
custfield = fields.Char(string='Custom Field')
many thanks in advance.
Hi, There is init file outside the models folder, check whether model is called in that init file
Hi Niyas Raphy
init file outside the models folder have following code
import models
Please guide further what i am doing wrong.