Initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!--
|
||||
Fusion Authorizer Portal - Message Authorizer Chatter Button
|
||||
Copyright 2026 Nexa Systems Inc.
|
||||
License OPL-1
|
||||
|
||||
Adds a "Message Authorizer" icon button to the chatter topbar
|
||||
on sale.order forms (after the Activity button).
|
||||
-->
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-inherit="mail.Chatter" t-inherit-mode="extension">
|
||||
|
||||
<!-- Insert after the Activity button -->
|
||||
<xpath expr="//button[hasclass('o-mail-Chatter-activity')]" position="after">
|
||||
<button t-if="state.thread and state.thread.model === 'sale.order'"
|
||||
class="o-mail-Chatter-messageAuthorizer btn btn-secondary text-nowrap me-1"
|
||||
t-att-class="{ 'my-2': !props.compactHeight }"
|
||||
t-on-click="onClickMessageAuthorizer"
|
||||
title="Message Authorizer">
|
||||
<span>Message Authorizer</span>
|
||||
</button>
|
||||
</xpath>
|
||||
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user