Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2183 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
3
feb 24
1709
4
gen 17
4453
2
ago 23
1917
1
lug 23
2032
1
giu 23
1774