mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 14:22:05 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
12
odoo-bringout-oca-ocb-l10n_sk/l10n_sk/models/account_move.py
Normal file
12
odoo-bringout-oca-ocb-l10n_sk/l10n_sk/models/account_move.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue