Files
schuetz3-erpnext/erpnext/docs/current/models/setup/notification_control.md

8.5 KiB

Version 6.x.x
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/setup/doctype/notification_control"
	target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>

Single

Send automatic emails to Contacts on Submitting transactions.

Fields

    <tr class="info">
        <td>1</td>
        <td ><code>send_autonotification_for</code></td>
        <td >
            Section Break</td>
        <td >
            Prompt for Email on Submission of
            <p class="text-muted small">
                When any of the checked transactions are "Submitted", an email pop-up automatically opened to send an email to the associated "Contact" in that transaction, with the transaction as an attachment. The user may or may not send the email.</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>2</td>
        <td ><code>sales</code></td>
        <td class="info">
            Column Break</td>
        <td >
            Sales
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>3</td>
        <td ><code>quotation</code></td>
        <td >
            Check</td>
        <td >
            Quotation
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>4</td>
        <td ><code>sales_order</code></td>
        <td >
            Check</td>
        <td >
            Sales Order
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>5</td>
        <td ><code>delivery_note</code></td>
        <td >
            Check</td>
        <td >
            Delivery Note
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>6</td>
        <td ><code>sales_invoice</code></td>
        <td >
            Check</td>
        <td >
            Sales Invoice
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>7</td>
        <td ><code>purchase</code></td>
        <td class="info">
            Column Break</td>
        <td >
            Purchase
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>8</td>
        <td ><code>purchase_order</code></td>
        <td >
            Check</td>
        <td >
            Purchase Order
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>9</td>
        <td ><code>purchase_receipt</code></td>
        <td >
            Check</td>
        <td >
            Purchase Receipt
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>10</td>
        <td ><code>expense_claim</code></td>
        <td >
            Check</td>
        <td >
            Expense Claim
            
        </td>
        <td></td>
    </tr>
    
    <tr class="info">
        <td>11</td>
        <td ><code>customize_the_notification</code></td>
        <td >
            Section Break</td>
        <td >
            Customize the Notification
            <p class="text-muted small">
                Customize the introductory text that goes as a part of that email. Each transaction has a separate introductory text.</p>
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>12</td>
        <td ><code>select_transaction</code></td>
        <td >
            Select</td>
        <td >
            Select Transaction
            
        </td>
        <td>
            <pre>

Quotation Sales Order Delivery Note Sales Invoice Purchase Order Purchase Receipt Expense Claim Expense Claim Approved Expense Claim Rejected

    <tr >
        <td>13</td>
        <td ><code>custom_message</code></td>
        <td >
            Text Editor</td>
        <td >
            Custom Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>14</td>
        <td ><code>set_message</code></td>
        <td >
            Button</td>
        <td >
            Update
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>15</td>
        <td ><code>quotation_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Quotation Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>16</td>
        <td ><code>sales_order_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Sales Order Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>17</td>
        <td ><code>delivery_note_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Delivery Note Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>18</td>
        <td ><code>sales_invoice_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Sales Invoice Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>19</td>
        <td ><code>purchase_order_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Purchase Order Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>20</td>
        <td ><code>purchase_receipt_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Purchase Receipt Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>21</td>
        <td ><code>expense_claim_approved_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Expense Claim Approved Message
            
        </td>
        <td></td>
    </tr>
    
    <tr >
        <td>22</td>
        <td ><code>expense_claim_rejected_message</code></td>
        <td >
            Text</td>
        <td class="text-muted" title="Hidden">
            Expense Claim Rejected Message
            
        </td>
        <td></td>
    </tr>
    
</tbody>
Sr Fieldname Type Label Options
<hr>
<h3>Controller</h3>
<h4>erpnext.setup.doctype.notification_control.notification_control</h4>






    
<h3 style="font-weight: normal;">Class <b>NotificationControl</b></h3>

<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>

<div class="docs-attr-desc"><p></p>
<p class="docs-attr-name">
    <a name="validate" href="#validate" class="text-muted small">
        <i class="icon-link small" style="color: #ccc;"></i></a>
	<b>validate</b>
    <i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>

</div>
<hr>