Trying to inherit model note.note in my form view but keep getting the error Field "alias_model" does not exist. I also inherit note.note in my models and my fields are added just fine.
Here is my view:
<record id="view_project_notes_form" model="ir.ui.view">
<field name="name">Project Notes Form View</field>
<field name="model">note.note</field>
<field name="inherit_id" ref="project.edit_project"/>
<field name="arch" type="xml">
<data>
<xpath expr="//notebook/page[1]" position="after">
<page string="Notes"> <field name="title" placeholer="Title"/>
<field name="tag_ids"/>
<field name="memo"/>
</page>
</xpath>
</data>
</field>
</record>
and my model:
from openerp import models, fields, api
class Notes(models.Model):
_inherit = "note.note"
title = fields.Char(string="Title")
employee = fields.Many2many(string="Employee")
modified_by = fields.Many2many(string="Modified By")
Any help is appreciated!