Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

How to unpublish only one variant from product template into website shop ?

形象
odoo
形象
丢弃
3 答案
0
形象
odoo
最佳答案

Functionally, it's not possible as of v8.0 because all the fields that have an effect on displaying the variant on the website impact the whole product template, not only the variant. That is the case for the Publish button and the Can Be Sold checkbox.

The only way to do this is technically, by coding a QWeb condition to hide the variant from the page.

1 备注
形象
丢弃
形象
odoo
-

Is some solution available for odoo 10 community version?

0
形象
odoo
最佳答案

Hello Emipro Technologies,

Technically when you unpublish the product varient, it will unpublish the whole product from the store, because the product varient inherits the product template.
and if you do change in product varient, it will be directly affect on the product template. Unpublish button do the same. 
So solution will be to inactive the product. 
if you want product in the report, you can customize your report accordingly.

Hope this Helps.

形象
丢弃
0
形象
odoo
最佳答案

Hi,

is there any update on this topics by any chance?

Is it now possible in odoo 14, 15, 16? 

Thanks.

形象
丢弃