İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3252 Görünümler

I added some fields with studio in the product form ...



... but when I add the product on a sale and open the product from there I can't see the fields I added. 


Avatar
Vazgeç
En İyi Yanıt

When you open a product from a Sales Order, Purchase Order, Bill of Materials, etc (pretty much anything that you "ADD ITEM" to) you are referencing product.product model records. 

When you open the PRODUCTS Menu you see product.template model records. 

Note: Even without configuring Odoo to use Product Variants (product.product), there is one Variant per Template (product.template)

It isn't always straightforward when customizing the "product" form because there are two models. We also sometimes add fields via a view which has the model set to product.product and sometimes set to product.template, even though the fields would apply to the "other" model. 

If you turn on Variants in Configuration --> Settings (you can turn it back off again later) you can see the Product Variants Menu which will show you the product.product views - and you can verify if adding your fields to THAT form has them show up on the Sales Order. 


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Ara 20
3617
1
Nis 24
2269
1
Ağu 22
2963
1
Ara 21
3255
1
Eyl 21
2229