Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
9393 Visualizações

Hello,

Need help here, when i create new product on module inventory then automatic published on website/eCommerce (without click button publish),

Thanks before.

Avatar
Cancelar
Melhor resposta

Hi,

You can Set website_published field True as default.

You can do this by both code and Interface.

From code, rewrite the field and add the attribute, default=True

From the interface, you can set Is Published field as true.

Check this video for understanding how to set up default value from the interface.

Link: https://www.youtube.com/watch?v=cQYHiGAd9k4


Thanks & Regards

Avinash N K

Avatar
Cancelar
Melhor resposta

Thank you. This is what I finding.

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
out. 19
5769
2
jul. 25
1878
0
nov. 23
2381
1
mai. 22
9271
2
fev. 22
2600