Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2177 Weergaven

I am getting error while applying required field for "Crm -> pipeline -> tag_ids ".

Crm -> pipeline -> tag_ids required field

Code:


                    {'required': [('type', '=', 'opportunity')]}

Error: Element '' cannot be located in parent view

Let me know if you face any such issue and resolved it.

Avatar
Annuleer
Beste antwoord

Hello, @Ashish Shah

Hope you are doing well, 
 
- Please use this following xpath for tag_ids to make it required when type is 'opportunity'

Please find code in comment. 

I hope this will help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Annuleer

<xpath expr="//group[@name='lead_priority']/field[@name='tag_ids']" position="attributes">
<attribute name="attrs">
{'required': [('type', '=', 'opportunity')]}
</attribute>
</xpath>

Gerelateerde posts Antwoorden Weergaven Activiteit
3
feb. 24
1699
4
jan. 17
4450
2
aug. 23
1906
1
jul. 23
2031
1
jun. 23
1774