Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Field to be mandatory in only quotations that would be created after custom module has been installed.

形象
丢弃
1 答案
0
形象
odoo
最佳答案

Hi,


First of all your XMl code is not displaying in the forum post.


For a quick solution you can try as follows:


1. Define a new Boolean field in sale order model

2. Change the Boolean value as true for newly creating sale order


3. Now in your XMl code for the custom field you have created, add attribute required based on the new Boolean field condition as true( using attrs)




Hope this will help you

Thank you


1 备注
形象
丢弃
形象
odoo
-

@Mehjabin Farsana,
Thanks a lot. I have been able to resolve my issue because of your kind suggestion. Although using boolean field did not work for me so i used selection field instead.