Hi all,
this is my python code:
class project_Task(models.Model):
_inherit = 'project.task'
lead_id = fields.Many2one(comodel_name='crm.lead', string='Opportunity', track_visibility='onchange')
I want to show it in the form view of project tasks. Here is my xml:
xml version="1.0" encoding="utf-8"?>
id="view_project_task_form_inherit" model="ir.ui.view">
name="name">project.task.form.inherit
name="model">project.task
name="inherit_id" ref="project.view_task_form2" />
name="arch" type="xml">
name="lead_id" position="after">
somehow I get an error:
odoo.tools.convert.ParseError: while parsing task_from_lead/views/task_from_lead_task_view.xml:5, somewhere inside
project.task.form.inherit
...
What is the issue?
(The file is named in the __manifest__ file.)
Thanks in advance!
Friedrich