Can someone please help me with this problem?
I would like to get the value of the product_id field into the v_product_id variable from the selection.
The selection field is in the website_sale.product template.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
2658
มุมมอง
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
2
ธ.ค. 24
|
7875 | ||
|
0
พ.ย. 23
|
2714 | ||
|
1
ต.ค. 22
|
5278 | ||
|
0
ก.ค. 22
|
9 | ||
|
2
ม.ค. 24
|
854 |
This is code:
--<t t-placeholder="select">
--<input type="hidden" class="product_id" name="product_id" t-att-value="product_variant.id"/>
--<input type="hidden" class="product_template_id" name="product_template_id" t-att-value="product.id"/>
--<input t-if="product.public_categ_ids.ids" type="hidden" class="product_category_id" name="product_category_id" t-att-value="product.public_categ_ids.ids[0]"/>
--<t t-if="combination" t-call="sale.variants">
--<t t-set="ul_class" t-valuef="flex-column"/>
--<t t-set="parent_combination" t-value="None"/>
--</t>