created a related field in my Model items which seems fine untill unless i add it in "form view".
classification_id = fields.Many2one('donation.types', related="donation_type_id.classification_id", store=True)
when add it to form view copying from tree view it is showing error when i press button New from tree view. it is showing in tree view means i have restarted odoo service and upgraded module.
ValueError: Wrong value for items.classification_id: classification()
please help to resolve the problem.
regards
Hi, could you please post the complete Class code?