Hello Pete Charalampopoulos,
I hope you're doing well.
I noticed that there is no relation field between the two models in the tree view. If you haven't already created a relationship between these tables, you'll need to do so. I've shared the code below for your reference:
Python:
class WhCharges(models.Model):
_name = 'wh.charges'
# Add a One2many field to create a relation with 'wh.charges.line'
wh_changes_id = fields.One2many('wh.charges.line', 'wh_changes_id')
class WhChargesLine(models.Model):
_name = 'wh.charges.line'
# Add a Many2one field to create a relation with 'wh.charges'
wh_changes_id = fields.Many2one('wh.charges')
This should establish the internal link between the two models.
Hope this helps!
Thanks & Regards,
Name : Yahoo Baba
Email: yahoobaba077@gmail.com