Add module mail_no_portal
This commit is contained in:
0
mail_no_portal/__init__.py
Normal file
0
mail_no_portal/__init__.py
Normal file
25
mail_no_portal/__manifest__.py
Normal file
25
mail_no_portal/__manifest__.py
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
# Copyright 2022 Akretion France (http://www.akretion.com/)
|
||||||
|
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'Mail no portal',
|
||||||
|
'version': '14.0.1.0.0',
|
||||||
|
'category': 'Productivity/Discuss',
|
||||||
|
'license': 'AGPL-3',
|
||||||
|
'summary': 'Remove portal button in mails sent by Odoo',
|
||||||
|
'description': """
|
||||||
|
This module remove the buttons such as *View Request for Quotation* in emails sent by Odoo.
|
||||||
|
|
||||||
|
This module has been written by Alexis de Lattre from Akretion
|
||||||
|
<alexis.delattre@akretion.com>.
|
||||||
|
""",
|
||||||
|
'author': 'Akretion',
|
||||||
|
'maintainers': ['alexis-via'],
|
||||||
|
'website': 'https://www.akretion.com',
|
||||||
|
'depends': ['mail'],
|
||||||
|
'data': [
|
||||||
|
'data/mail.xml',
|
||||||
|
],
|
||||||
|
'installable': True,
|
||||||
|
}
|
||||||
18
mail_no_portal/data/mail.xml
Normal file
18
mail_no_portal/data/mail.xml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright 2022 Akretion France (http://www.akretion.com/)
|
||||||
|
@author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||||
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||||
|
-->
|
||||||
|
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
|
||||||
|
<template id="mail_notification_paynow" inherit_id="mail.mail_notification_paynow">
|
||||||
|
<xpath expr="//t[@t-set='is_online']" position="attributes">
|
||||||
|
<attribute name="t-value">False</attribute>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user