关于OE one2many问题求助
-
erp_customer类中
'contact' :fields.one2many('erp.customer.contact.Information', 'contact_customer_id', 'contact', states={'approved':[('readonly',True)],'done':[('readonly',True)]}),#联系人
erp_customer_contact_Information类中
'name' : fields.char('Name', size=64, required=True, select=True, help=""),
'title':fields.many2one('hodeerp.customer.partner', 'title', domain=[('active','=',True)]),
'mobile_phone':fields.char('mobile phone', size=64, required=True, select=True, help=""),
'email':fields.char('email', size=64, required=True, select=True, help=""),
'contact_customer_id': fields.many2one('erp.customer', 'customer id', select=True, required=True, ondelete='cascade'),
erp_customer_from_view.xml
<field name="contact">
<tree string="contact info" editable="bottom">
<field name="title"/>
</tree>
</field>
问题:提示title无法找到,请问是什么原因。