[FIX] product: remove extra content option on dymo format label
Steps to reproduce issue: 1. Go to Products. 2. Select a Product with an existing Barcode. 3. Click on Print Labels. 4. Select Dymo as format, add Extra Content, Confirm. 5. Extra Content is not shown. Explanation: The Extra Content is pushed out of the label by the other elements. Suggested fix: Remove Extra Content to make up for lack of space. Approved by PO (thd) and already removed on other label formats. opw-3614842 closes odoo/odoo#149843 X-original-commit: 0cf6e768d8c307e4d6c9b85b78664dd82d8a4416 Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Stroobant Paul (stpa) <stpa@odoo.com>
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
<div class="text-end" style="padding: 0 4px;">
|
||||
<strong class="o_label_price_small" t-out="pricelist._get_product_price(product, 1, pricelist.currency_id or product.currency_id)"
|
||||
t-options="{'widget': 'monetary', 'display_currency': pricelist.currency_id or product.currency_id, 'label_price': True}"/>
|
||||
<div class="o_label_extra_data">
|
||||
<div t-if="False" class="o_label_extra_data">
|
||||
<t t-out="extra_html"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="pricelist_id" groups="product.group_product_pricelist"/>
|
||||
<field name="extra_html" widget="html" invisible="print_format not in ('dymo', '2x7xprice')"/>
|
||||
<field name="extra_html" widget="html" invisible="print_format != '2x7xprice'"/>
|
||||
</group>
|
||||
</group>
|
||||
<footer>
|
||||
|
||||
Reference in New Issue
Block a user