span class="n">mt_note_subtype_id</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'ir.model.data'</span><span class="p">]</span><span class="o">.</span><span class="n">_xmlid_to_res_id</span><span class="p">(</span><span class="s1">'mail.mt_note'</span><span class="p">)</span><span class="w">

</span>        <span class="c1"># Add note to chatter that indicates destiny records</span><span class="w">
</span