Remove field 'display_on_footer' to stop displaying account journal on report documents. As the field is removed but also used in payment to generate default 'Thanks Message', put a new field on account.journal in payment module, to keep the role 'display_on_footer' had in payment.
11 lines
324 B
Python
11 lines
324 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class AccountJournal(models.Model):
|
|
_inherit = "account.journal"
|
|
|
|
use_in_payment = fields.Boolean("Use in payment", help="Display this bank account on messages in payment process.")
|