Why the domain below is not correct?
I want to display record with
(type = delivery AND parent_id = partner_id)
OR
(is_company = True AND id = partner_id)
i want to edit domain attribute of field partner_shipping_id of model sale order
<attribute name="domain">"['|','&',('type', '=', 'delivery'),('parent_id', '=', partner_id),'&',('is_company', '=', 'True'),('id', '=', partner_id)]"</attribute>
Thanks