Advertisement
rht_odoo

[QW][4570969]remove_footer_and_hide_button

Feb 17th, 2025 (edited)
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.67 KB | None | 0 0
  1. <data>
  2.     <!-- Hides "Button" done by RICO-->
  3.     <xpath expr="//div[@t-if='subtitles or has_button_access or actions or not is_discussion']" position="attributes">
  4.         <attribute name="t-if">has_button_access and record._name != 'helpdesk.ticket' </attribute>
  5.     </xpath>
  6.  
  7.     <!-- QW[4568187] by RHT on the 17/02/2025
  8.    Task : https://www.odoo.com/odoo/project/5686/tasks/4570969
  9.    Pastebin : https://pastebin.com/ZggHZv46
  10.    Goal is to remove the portal button from the mails sent : we want to remove the footer as everything is already in the signature -->
  11.     <xpath expr="//div[5]" position="replace"/>
  12.     <xpath expr="//div[4]" position="replace"/>
  13.  
  14. </data>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement