Hi,
I'm trying to display lead data related to a partner.
But on module installation, I keep having the `ValidateError` saying `Error occurred while validating the field(s) arch: Invalid XML for View Architecture!`
I don't know why this is happening, cause I've double checked fields names, and compared my xml structure and content to other module xml view files.
I've also set dependencies to `'base','crm',` in `__openerp__.py`
Does anyone see something wrong in my code below ?
Here is my piece of python code:
class res_partner(osv.osv):
_inherit = 'res.partner'
_columns = {
'lead_ids': fields.one2many('crm.lead', 'partner_id', 'Leads'),
}
And here my view:
Thank you for your help
Cheers
↧