I'm trying to use Odoo to create quotes. I have a product that has many attributes that would create way too many variant combinations. Because of this, I'm not generating the variants always. I am generating them only when they are added to a sales order. Because I am doing this using code, I need to create the variants using the API before adding them to the quote. However, I am having difficulty understanding how to do so. If anyone has implemented this before or can think of an alternative solution, it would be appreciated.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
2
ตอบกลับ
4547
มุมมอง
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
2
มี.ค. 16
|
6506 | ||
|
2
มี.ค. 17
|
7647 | ||
|
1
ก.ค. 24
|
5696 | ||
|
0
ก.ย. 15
|
4673 | ||
|
0
มี.ค. 15
|
3536 |
Do you know that automatic Variant creation (for every combination) can *already* be configured to be: "on", "off" or "only when the product is added to a sales order" ?
Ray - Yes I am aware but not sure if this is possible for our product. There are at least 18 attributes with 3 or more value choices. I believe that would result in too many variants. Can you confirm if there is a maximum amount of variants? Whether that be a maximum in general or a maximum you can create at once?
The theoretical limit is the data type of the one2many, so more than you'd ever need. The practical limit is maintainability and performance. I don't have a good handle on either of those though. If you think it isn't possible, maybe you are right.