Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
9384 มุมมอง

Hello,

Need help here, when i create new product on module inventory then automatic published on website/eCommerce (without click button publish),

Thanks before.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can Set website_published field True as default.

You can do this by both code and Interface.

From code, rewrite the field and add the attribute, default=True

From the interface, you can set Is Published field as true.

Check this video for understanding how to set up default value from the interface.

Link: https://www.youtube.com/watch?v=cQYHiGAd9k4


Thanks & Regards

Avinash N K

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Thank you. This is what I finding.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 19
5769
2
ก.ค. 25
1877
0
พ.ย. 23
2381
1
พ.ค. 22
9267
Importing lots Odoo V13 แก้ไขแล้ว
2
ก.พ. 22
2599