from odoo import fields, models class AccountJournal(models.Model): _inherit = 'account.journal' is_payroll_journal = fields.Boolean( string='Used for Payroll', help="Marks this journal as the salary / payroll posting journal " "for the company. Informational; the actual fallback is set " "on res.company.fusion_payroll_journal_id.", )