From 563fffb8c8651f9b1c68cc33c1a29f004dcada5d Mon Sep 17 00:00:00 2001 From: Damien Crier Date: Thu, 30 Jan 2025 17:43:45 +0100 Subject: [PATCH] wip --- mail_contact_type/__manifest__.py | 1 + .../tests/test_mail_contact_type.py | 4 +-- .../views/account_move_send_view.xml | 25 +++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 mail_contact_type/views/account_move_send_view.xml diff --git a/mail_contact_type/__manifest__.py b/mail_contact_type/__manifest__.py index d7432d5851..1c3ab4c9ef 100644 --- a/mail_contact_type/__manifest__.py +++ b/mail_contact_type/__manifest__.py @@ -19,6 +19,7 @@ ], "data": [ "security/ir.model.access.csv", + "views/account_move_send_view.xml", "views/mail_compose_message_view.xml", "views/mail_contact_type.xml", "views/res_partner.xml", diff --git a/mail_contact_type/tests/test_mail_contact_type.py b/mail_contact_type/tests/test_mail_contact_type.py index cdca459b1a..d4a173c52c 100644 --- a/mail_contact_type/tests/test_mail_contact_type.py +++ b/mail_contact_type/tests/test_mail_contact_type.py @@ -4,10 +4,10 @@ # @author Alexandre Galdeano # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo.tests.common import SavepointCase +from odoo.tests.common import TransactionCase -class TestMailContactType(SavepointCase): +class TestMailContactType(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() diff --git a/mail_contact_type/views/account_move_send_view.xml b/mail_contact_type/views/account_move_send_view.xml new file mode 100644 index 0000000000..813291d1f7 --- /dev/null +++ b/mail_contact_type/views/account_move_send_view.xml @@ -0,0 +1,25 @@ + + + + + account move send show_mail_contact_types + account.move.send + + + + + 1 + + + + +