I get a sale order line :
"product_id" => array:2 [
0 => 55962
1 => "<text>"
]
"product_template_id" => array:2 [
0 => 56085
1 => "<the same text>"
]
__
=> differente ids but the same name ???
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I get a sale order line :
"product_id" => array:2 [
0 => 55962
1 => "<text>"
]
"product_template_id" => array:2 [
0 => 56085
1 => "<the same text>"
]
__
=> differente ids but the same name ???
Hi,
product_id
Refers to the specific product variant (product.product model).
Variants are tied to a product template (product_template_id) but differ based on attributes like size, color, etc.
product_template_id
whenever you are creating Product (product.template) than same will be created in also (product.product)
it contains the main product and with list of product variant (attributes)
Hope it helps
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
2
Okt 25
|
216 | ||
|
0
Okt 25
|
1044 | ||
|
3
Okt 25
|
535 | ||
Add pdf file to quote
Diselesaikan
|
|
1
Sep 25
|
630 | |
error when adding the sales app
Diselesaikan
|
|
2
Sep 25
|
738 |