Hi,
To create a custom product label, follow these steps:
1. Go to Settings --> Technical --> Views.
2.
Search for the template format you want to modify, such as
'report_simple_label2x7', 'report_simple_label4x7',
'report_simple_label4x12', or 'report_simple_label_dymo'.
3. Insert the code for additional fields in the appropriate position within the template. For example:
<div class="ingredients" style="font-size: 10pt; margin-bottom: 10px;">
<strong>Ingredients:</strong>
<span t-field="product.ingredients"/>
</div>
<div class="nutrition" style="font-size: 10pt; margin-bottom: 10px;">
<strong>Nutritional Information:</strong>
<div t-field="product.nutritional_info"/>
</div>
<div class="allergens" style="font-size: 10pt; margin-bottom: 10px;">
<strong>Allergens:</strong>
<span t-field="product.allergens"/>
</div>
<div class="mfg-date" style="font-size: 10pt; margin-bottom: 5px;">
Mfg. Date: <span t-field="product.manufacturing_date"/>
</div>
<div class="exp-date" style="font-size: 10pt;">
Exp. Date: <span t-field="product.expiration_date"/>
</div>
Replace
manufacturing_date, expiration_date, allergens, nutritional_info, and
ingredients with the actual field names used in your product model. Note
that sale price and barcode are already included in the template.
Hope it helps