콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
7255 화면

Hi All, 

Could someone explain me which is the relationship between the tables product_product and product_template? 

Is possible to have records in product_template tables that has no reference in product_product?

If a product has only 1 variant, and I remove the flag active from the variant , should the product be deactivetd too or it could remain with none active variant ?


아바타
취소
베스트 답변

The product.template is used as a base for product variants that are product.product and for a product.template record you will get at least 1 product.product variant that it's actually what you use to store, sell, buy... product.product records

아바타
취소
작성자 베스트 답변

Hi,  

So, products with no variants are not allowed by Odoo? 

What happens when I deactivate a variant?

Kind regards

Elisa

아바타
취소
베스트 답변

Hi

In the table you product_product key product_tmpl_id 'many2one' product_template The fact of creating a recording that automatically creates product_template in product_product

if you have several alternatives you're not going to have fun a modified field by one.


아바타
취소
관련 게시물 답글 화면 활동
1
7월 25
710
1
3월 15
4449
1
9월 25
308
3
5월 25
1852
3
11월 24
8712