Odoo18-Base/addons/l10n_tr_nilvera/models/account_journal.py

9 lines
267 B
Python
Raw Permalink Normal View History

2025-03-10 10:52:11 +07:00
from odoo import fields, models
class AccountJournal(models.Model):
_inherit = 'account.journal'
l10n_tr_nilvera_api_key = fields.Char(related='company_id.l10n_tr_nilvera_api_key')
is_nilvera_journal = fields.Boolean(string="Journal used for Nilvera")