| 1 |
from odoo import models, fields |
| 2 |
|
| 3 |
|
| 4 |
class AccountTax(models.Model): |
| 5 |
_inherit = 'account.tax' |
| 6 |
|
| 7 |
l10n_hr_tax_category_id = fields.Many2one('l10n.hr.tax.category', string="Croatian Tax Expence Category") |
| 8 |
|
| 9 |
|
| 10 |
class l10nHrTaxCategory(models.Model): |
| 11 |
_name = 'l10n.hr.tax.category' |
| 12 |
_description = 'Croatian tax expence categories' |
| 13 |
|
| 14 |
name = fields.Char("Name/Mark", required=True) |
| 15 |
code_untdid = fields.Char("UNTDID code") |
| 16 |
code_hr = fields.Char("HR tax category code") |
| 17 |
code_tax_scheme = fields.Char("UNTDID tax scheme code") |
| 18 |
category_name = fields.Char("Categody code name") |
| 19 |
description = fields.Char("Description") |