mirror of https://github.com/OCA/social.git
[IMP] mail_print: Allow printing messages from incoming mail
Before this commit, the option to print messages was only available for messages sent from Odoo. After this commit, it is now possible to print incoming messages as well.pull/1532/head
parent
40749ba5f4
commit
bfac37d090
|
@ -7,7 +7,7 @@ Mail Print Message
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:041738b662760ad100067a7c7f791a509fcd9811512c950df32f6496ee46fe74
|
||||
!! source digest: sha256:0cd861f29fc0a68aebccb18a4db08b607f68edca8c3672e499e013ed99f8fda6
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
|
||||
{
|
||||
"name": "Mail Print Message",
|
||||
"version": "15.0.1.0.1",
|
||||
"version": "15.0.1.1.0",
|
||||
"summary": "Print messages from the chatter of any document. ",
|
||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/social",
|
||||
|
|
|
@ -367,7 +367,7 @@ ul.auto-toc {
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:041738b662760ad100067a7c7f791a509fcd9811512c950df32f6496ee46fe74
|
||||
!! source digest: sha256:0cd861f29fc0a68aebccb18a4db08b607f68edca8c3672e499e013ed99f8fda6
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/social/tree/15.0/mail_print"><img alt="OCA/social" src="https://img.shields.io/badge/github-OCA%2Fsocial-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/social-15-0/social-15-0-mail_print"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/social&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module allows users to print messages from the chatter of any document.</p>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<xpath expr="//span[@t-if='messageActionList.hasReplyIcon']" position="before">
|
||||
<!-- Show the "Print Message" button only on messages, not on notes. -->
|
||||
<PrintMessage
|
||||
t-if="messageActionList.message.is_discussion && !messageActionList.message.is_note"
|
||||
t-if="!messageActionList.message.is_note"
|
||||
message_id="messageActionList.message.id"
|
||||
/>
|
||||
</xpath>
|
||||
|
|
Loading…
Reference in New Issue