Hi people,
I'm very new on ODOO and I need to take care about a small task. I'm ready to learn new things :) who can please help me?
I need to get one value and show it on front-end product template. I've already found how to edit backend, add custom variables and how to add them to frontend. But I didn't find how to get a purchased amout of a individual product and how to show it on front-end product template.
Can someone please help me?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
Thanks to all, I have already solved this. I have found a variable "product.sales_count" and this gave a value of purchased products. Is there some reason why not to use this variable?
Thanks
Hello,
normally if you have installed "Purchase" application and bought the concerned product, you can see a smart button ("x Units Purchased") in the product template form.
In odoo 14 (and maybe lower version too) the field name is "purchased_product_qty".
Hope it will help you.
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
product.template inherit
Resolvido
|
|
2
nov. 22
|
12662 | |
|
2
set. 25
|
190 | ||
|
2
set. 25
|
373 | ||
|
1
set. 25
|
237 | ||
|
3
set. 25
|
424 |