Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5273 Zobrazení

I'm using this code in my product  template

<p class="codigo_ref"> Ref : <span itemprop="default_code" t-field="product.default_code"/></p>

and it works with a single product but if my product has variants then doesn't render the default_code.

Avatar
Zrušit

If you are taking the internal reference from product.template, change it product.product and take it from it.

Kevin, were you able to solve this? I'm having a similar problem. I'm assuming you are trying to display this on your website?

Hi,


We are having the same problem, v 12. Any fix?

Nejlepší odpověď

Hello

we have already developed this feature and uploaded on odoo apps store.

please take a look on the link below.

https://apps.odoo.com/apps/modules/14.0/eq_website_default_code/

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 25
1424
1
kvě 24
4547
1
dub 24
2858
0
dub 24
2119
1
kvě 23
5248