Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
How can I modify item details in Odoo's Shop product view?

I would like to add the internal reference number to the item description in the product listing of our Odoo shop. I'm able to add the internal reference number above the product thumbnail, but not within the description of the item. Here is a snippet of code from the website's XML:

<td t-att-colspan="td_product['x'] != 1 and td_product['x']" t-att-rowspan="td_product['y'] != 1 and td_product['y']" t-attf-class="oe_product" t-att-data-ribbon-id="td_product['ribbon'].id">
    <div style="float:left">Internal Ref. Number&#160;&#160;&#160;&#160;</div>
    <b t-field="product.default_code"/>
    <div t-attf-class="o_wsale_product_grid_wrapper o_wsale_product_grid_wrapper_#{td_product['x']}_#{td_product['y']}">
        <t t-call="website_sale.products_item">
            <t t-set="product_image_big" t-value="td_product['x'] + td_product['y'] &gt; 2"/>
        </t>
    </div>
</td>

I want to add t-field="product.default_code" to below the item name as pictured below:

enter image description here enter image description here

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!