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

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.

아바타
취소

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?

베스트 답변

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/

아바타
취소
관련 게시물 답글 화면 활동
0
4월 25
1412
1
5월 24
4512
1
4월 24
2849
0
4월 24
2099
1
5월 23
5238