Odooers论坛

欢迎!

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


0

200+ attribute values are auto-populated when I add the Manufacturer attribute (Odoo 18)

形象
odoo
2 注释
形象
丢弃
形象
odoo
-

just implemented this also - thank you for your answer! 

形象
odoo
-

I tried and it works like a charm. Much appreciated!

1 答案
0
形象
odoo
最佳答案

Hello Jean-Sebastien


Solution would be Automation action on product.template.attribute.line model, to reset value of attribute value on selection of attribute. 


1) Activate Developer mode from setting --> Click on Activate Developer Mode.

2) Go to Settings --> Technical --> Autotmation Rules

3) Create new automation rules as following


Model -> Product Template Attribute Line

Trigger -> On UI Change

When updating --> Attribute

Add An action --> python code



record['value_ids'] = False


Thanks & Regards,

CandidRoot Solutions Pvt. Ltd.

Mobile: (+91) 8849036209

Email: info@candidroot.com

形象
丢弃