Skip to content

Commit

Permalink
[MIG] l10n_ar_demo: Migration to 16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jjscarafia committed Jan 2, 2023
1 parent 401d564 commit 9982352
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
12 changes: 8 additions & 4 deletions l10n_ar_account_tax_settlement/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
Tax Settlements For Argentina
=============================

Este módulo imlementa:

* archivos para declaración de distintos impuestos (principalmente percepciones y retenciones)
* Funcionalidad y datos para auste por inflación (The index are extracted from https://www.facpce.org.ar/indices-facpce/)

Archivos para declaración de impuestos
======================================

TODO: implementar sicore para percepciones, por ahora solo esta para retenciones (y de ganancias)
Especificación de archivos:

Expand All @@ -40,10 +48,6 @@ Especificación de archivos:
* MISIONES: https://www.atm.misiones.gob.ar/index.php/guia-de-tramites/instructivos/category/53-agentes
Correo DGR: mesadeayuda@tsgroup.com.ar

Inflation Adjustment
--------------------

The index are extracted from https://www.facpce.org.ar/indices-facpce/ page

Installation
============
Expand Down
8 changes: 4 additions & 4 deletions l10n_ar_demo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
_logger = logging.getLogger(__name__)


old_load_information_from_description_file = module.load_information_from_description_file
old_load_manifest = module.load_manifest


def load_information_from_description_file(module, mod_path=None):
info = old_load_information_from_description_file(module, mod_path=mod_path)
def load_manifest(module, mod_path=None):
info = old_load_manifest(module, mod_path=mod_path)
if module in ['l10n_ar', 'l10n_ar_edi', 'l10n_ar_website_sale']:
info['demo'] = []
return info


module.load_information_from_description_file = load_information_from_description_file
module.load_manifest = load_manifest


def _load_l10n_ar_demo_data(cr):
Expand Down
4 changes: 2 additions & 2 deletions l10n_ar_demo/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
##############################################################################
{
'name': 'More demo data for Argentina Localization (Enterprise version)',
'version': "15.0.1.0.0",
'version': "16.0.1.0.0",
'category': 'Accounting',
'sequence': 14,
'summary': '',
Expand All @@ -45,7 +45,7 @@
],
'test': [
],
'installable': False,
'installable': True,
'auto_install': False,
'application': False,
'pre_init_hook': '_load_l10n_ar_demo_data'
Expand Down

0 comments on commit 9982352

Please sign in to comment.