Skip to Content
Menu
This question has been flagged
1 Atsakyti
2324 Rodiniai

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.

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti

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

Related Posts Replies Rodiniai Veikla
3
vas. 24
1819
4
saus. 17
4633
2
rugp. 25
4022
2
rugp. 23
2475
1
liep. 23
2162