oca-ocb-l10n_europe/odoo-bringout-oca-ocb-l10n_sk/l10n_sk/models/account_move.py
Ernad Husremovic 7721452493 19.0 vanilla
2026-03-09 09:31:28 +01:00

12 lines
422 B
Python

# 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