Repository
OCA/account-fiscal-rule · module folder · Try on Runboat
Module version
1.0.0
Category
Accounting & Finance
Folder size
0.11 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/account-fiscal-rule
Last tracking update
2026-08-07 08:43:06
Authors
Odoo Community Association (OCA), Sygel Technology
Maintainers
Odoo Community Association (OCA), Sygel Technology
Committers
LauraCForgeFlow, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
account_chart_update_l10n_eu_oss_oca, l10n_es_aeat_mod303_oss, l10n_es_aeat_mod369, l10n_es_aeat_mod390_oss, l10n_es_aeat_sii_oss, l10n_es_vat_book_oss
Description
This module has been created to help with the tax mapping according to
the EU One-Stop-Shop law, that concerns many companies that carry out
distance sales.

EU taxes have been checked in
\<<https://ec.europa.eu/taxation_customs/tedb/vatSearchForm.html>\>

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
l10n_eu_oss_oca_wizard_form_view l10n eu oss oca wizard form view l10n.eu.oss.wizard form New
res_config_settings_view_form_l10n_eu_oss_oca res.config.settings.view.form.inherit.l10n.eu.oss.oca res.config.settings form Inherits account.res_config_settings_view_form
view_account_position_form_l10n_eu_oss_oca view.account.position.form.l10n.eu.oss.oca account.fiscal.position form Inherits account.view_account_position_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (4)

New fields (1)
  • oss_oca Boolean
    string='OSS OCA'
Public methods (0)

No public methods.

New fields (1)
  • oss_country_id Many2one → res.country
    comodel_name='res.country' string='Oss Country'
Public methods (0)

No public methods.

New fields (8)
  • company_id Many2one → res.company
    default=_get_default_company_id required=True string='Company' args: 'res.company'
  • done_country_ids Many2many → res.country
    default=_default_done_country_ids string='Already Supported' args: 'res.country', 'l10n_eu_oss_country_rel_done'
  • general_tax Many2one → account.tax
    comodel_name='account.tax' required=True
  • price_include_tax Boolean
    default=False
  • reduced_tax Many2one → account.tax
    comodel_name='account.tax'
  • second_superreduced_tax Many2one → account.tax
    comodel_name='account.tax' string='Second Super Reduced Tax'
  • superreduced_tax Many2one → account.tax
    comodel_name='account.tax' string='Super Reduced Tax'
  • todo_country_ids Many2many → res.country
    default=_default_todo_country_ids required=True string='EU Customers From' args: 'res.country', 'l10n_eu_oss_country_rel_todo'
Public methods (3)
  • generate_dict_taxes(self, selected_taxes, oss_rate_id)
  • generate_eu_oss_taxes(self)
  • update_fpos(self, fpos_id, taxes_data)

New fields (5)
  • general_rate Float
    digits=(16, 4)
  • oss_country_id Many2one → res.country
    comodel_name='res.country' string='Country'
  • reduced_rate Float
    digits=(16, 4)
  • second_superreduced_rate Float
    digits=(16, 4) string='Second Super Reduced Rate'
  • superreduced_rate Float
    digits=(16, 4) string='Super Reduced Rate'
Public methods (1)
  • get_rates_list(self)

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
15 days ago
Last activity
15 days ago
Repository
OCA/account-fiscal-rule
Pull request
[19.0] [MIG] l10n_eu_oss_oca: Migration to 19.0 (#608)