# Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import api, models class AccountMove(models.Model): _inherit = 'account.move' @api.depends('country_code') def _compute_show_taxable_supply_date(self): super()._compute_show_taxable_supply_date() for move in self.filtered(lambda m: m.country_code == 'SK'): move.show_taxable_supply_date = True