Advertisement
rht_odoo

[QW][3628575]bigger sale price on label

Apr 22nd, 2024 (edited)
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.16 KB | None | 0 0
  1. <!-- # Written by RHT on 13/12/2023
  2. # Post-review proof : https://pastebin.com/KmWFfXLW
  3. # 911 Task : https://www.odoo.com/web#id=3628575&cids=1&menu_id=4720&action=333&active_id=5686&model=project.task&view_type=form
  4. # Business need : have the price bigger
  5. # Video : -->
  6.     <xpath expr="//div[@class='text-end' and style='padding: 0 4px;']" position="replace">
  7.          <div class="text-end" style="padding: 0 4px;">
  8.                         <t t-if="product.is_product_variant">
  9.                             <!-- CHANGE THE CLASS FROM o_label_price_small TO o_label_price FOR BIGGER PRICE SIZE [3628575] -->
  10.                             <strong class="o_label_price" t-field="product.lst_price" t-options="{'widget': 'monetary', 'label_price': True}"/>
  11.                         </t>
  12.                         <t t-else="">
  13.                             <strong class="o_label_price" t-field="product.list_price" t-options="{'widget': 'monetary', 'label_price': True}"/>
  14.                         </t>
  15.                         <div class="o_label_extra_data">
  16.                             <t t-out="extra_html"/>
  17.                         </div>
  18.                     </div>
  19.     </xpath>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement