[16.0][FIX] document_url: Add URL button and paperclip button

This commit is contained in:
angelinaanaki
2023-07-12 17:23:26 +02:00
committed by Franco Leyes
parent 364c49efb6
commit 6bc0ba5225
2 changed files with 27 additions and 14 deletions

View File

@@ -22,7 +22,7 @@
<button
type="button"
class="o_add_url_button btn btn-link"
t-on-click="_onAddUrl"
t-on-click="attachmentBoxView._onAddUrl"
>
<i class="fa fa-plus-square" />
Add URL
@@ -70,4 +70,16 @@
</a>
</xpath>
</t>
<t t-inherit="mail.ChatterTopbar" t-inherit-mode="extension" owl="1">
<xpath
expr="//button[hasclass('o_ChatterTopbar_buttonAddAttachments')]"
position="replace"
/>
<xpath
expr="//button[hasclass('o_ChatterTopbar_buttonToggleAttachments')]"
position="attributes"
>
<attribute name="t-if" />
</xpath>
</t>
</templates>