from odoo import fields, models class AccountJournal(models.Model): _inherit = 'account.journal' loan_properties_definition = fields.PropertiesDefinition( string='Loan Properties', help="Fields offered on the Properties tab of the loans booked in this " "journal. Defining them per journal keeps each kind of borrowing " "recording the attributes it actually has.", )