mirror of
https://github.com/bringout/oca-ocb-l10n_europe.git
synced 2026-04-27 21:42:04 +02:00
19.0 vanilla
This commit is contained in:
parent
ff721d030e
commit
7721452493
1826 changed files with 124775 additions and 274114 deletions
18
odoo-bringout-oca-ocb-l10n_sk/l10n_sk/models/res_company.py
Normal file
18
odoo-bringout-oca-ocb-l10n_sk/l10n_sk/models/res_company.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResCompany(models.Model):
|
||||
_inherit = "res.company"
|
||||
|
||||
trade_registry = fields.Char()
|
||||
income_tax_id = fields.Char(string="Income Tax ID")
|
||||
|
||||
|
||||
class BaseDocumentLayout(models.TransientModel):
|
||||
_inherit = 'base.document.layout'
|
||||
|
||||
account_fiscal_country_id = fields.Many2one(related="company_id.account_fiscal_country_id")
|
||||
company_registry = fields.Char(related='company_id.company_registry')
|
||||
income_tax_id = fields.Char(related='company_id.income_tax_id')
|
||||
Loading…
Add table
Add a link
Reference in a new issue