Hi,
I created a very simple module with the following model:
class Dossier(models.Model):
_name = 'juridique.dossier'
name = fields.Char(string='Nom')
activity_ids = fields.Many2one('mail.activity', string='Activités')
message_ids = fields.Many2one('mail.message', string='Messages')
Here is my
<?xml version="1.0"?>
<form string="Dossiers">
<sheet>
<div class="oe_title">
<h1>
<field name="name"/>
</h1>
</div>
</sheet>
</form>
and my herited view
<?xml version="1.0"?>
<data>
<xpath expr="//sheet" position="after">
<div class="oe_chatter">
<field name="message_ids" widget="mail_thread"/>
</div>
</xpath>
</data>
When I launch the
TypeError: field is undefined
http://10.1.10.28:8069/web/content/1470-890bbfd/web.assets_backend.js:1299
...
Could you explain to me whats wrong in my code or view?
thanks in advance,
Bruno
I am using an Odoo 12