mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 03:42:00 +02:00
12 lines
422 B
Python
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
|