I want to extend the crm_lead_view_form and add certain customer data in a new tab.
My problem is that the custumer field is not mandatory, so I get an error when upgrading if there are leads without customer.
Is it possible with xml-attributes/options to load partner_id.new_custom_field only if partner_id is set?
Using Odoo 16.0 Enterprise Edition on odoo.sh and Docker (developing)