Skip to content

Commit

Permalink
Merge PR #82 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by nimarosa
  • Loading branch information
OCA-git-bot committed Nov 12, 2023
2 parents 64649da + ae95941 commit 53bc90b
Show file tree
Hide file tree
Showing 37 changed files with 3,248 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.17.2
_commit: v1.18
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
github_enable_codecov: true
github_enable_codecov: false
github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
github_enforce_dev_status_compatibility: false
include_wkhtmltopdf: false
odoo_test_flavor: Both
odoo_version: 16.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
rebel_module_groups: []
repo_description: 'TODO: add repo description.'
repo_name: l10n-argentina
repo_description: Odoo addons for Argentina
repo_name: Odoo addons for Argentina
repo_slug: l10n-argentina
repo_website: https://github.com/OCA/l10n-argentina
use_pyproject_toml: false
use_ruff: false

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ jobs:
run: manifestoo -d . check-licenses
- name: Check development status
run: manifestoo -d . check-dev-status --default-dev-status=Beta
continue-on-error: true
- name: Initialize test db
run: oca_init_test_database
- name: Run tests
run: oca_run_tests
- uses: codecov/codecov-action@v1
- name: Update .pot files
run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'OCA' }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
/.venv
/.pytest_cache
/.ruff_cache

# C extensions
*.so
Expand Down
6 changes: 4 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ exclude: |
^docs/_templates/.*\.html$|
# Don't bother non-technical authors with formatting issues in docs
readme/.*\.(rst|md)$|
# Ignore build and dist directories in addons
/build/|/dist/|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
Expand All @@ -35,7 +37,7 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
rev: 969238e47c07d0c40573acff81d170f63245d738
rev: 568cacd1d6eef453063a524a5ce63dcd49c7259b
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
Expand Down Expand Up @@ -108,7 +110,7 @@ repos:
- id: check-symlinks
- id: check-xml
- id: mixed-line-ending
args: ["--fix=lf"]
args: ["--fix=lf"] # ruff doesn't support python 3.6
- repo: https://github.com/asottile/pyupgrade
rev: v2.38.2
hooks:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<!-- /!\ do not modify above this line -->

# l10n-argentina
# Odoo addons for Argentina

TODO: add repo description.
Odoo addons for Argentina

<!-- /!\ do not modify below this line -->

Expand Down
120 changes: 120 additions & 0 deletions l10n_ar_afipws/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
=========================================
Modulo Base para los Web Services de AFIP
=========================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3d6094ef60c1ace10fc0b88052cfff7887f6d8fe1ab492273d6331b303605e37
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--argentina-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-argentina/tree/16.0/l10n_ar_afipws
:alt: OCA/l10n-argentina
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-argentina-16-0/l10n-argentina-16-0-l10n_ar_afipws
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-argentina&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Integration of Argentinian AFIP Webservices

Base module for integrtation of the AFIP webservices.

**Table of contents**

.. contents::
:local:

Usage
=====

To use electronic invoice webservices first you need to install pyafipws:

* Install the necessary libraries and dependencies from https://github.com/reingart/pyafipws
* Use the "main" branch to have access to the full features
* Be sure to install all dependecies of pyafipws before trying to use the modules

Known issues / Roadmap
======================

* Utilizar los metodos de pyafipws para generar los certificados, claves y validarlos

Changelog
=========

14.0.1.0.0 (2023-01-29)
~~~~~~~~~~~~~~~~~~~~~~~

* Refactorizacion completa del modulo y de sus metodos
* Se reformulo toda la UI de generacion de certificados para usar pyafipws para generarlos, la generacion es automatica excepto por la parte de AFIP

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-argentina/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-argentina/issues/new?body=module:%20l10n_ar_afipws%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Nimarosa
* ADHOC SA
* Moldeo Interactive
* Exemax
* Codize

Contributors
~~~~~~~~~~~~

- Nimarosa
- ADHOC S.A.
- Modeo Interactive
- Exemax
- Codize

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-nimarosa| image:: https://github.com/nimarosa.png?size=40px
:target: https://github.com/nimarosa
:alt: nimarosa
.. |maintainer-ibuioli| image:: https://github.com/ibuioli.png?size=40px
:target: https://github.com/ibuioli
:alt: ibuioli

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-nimarosa| |maintainer-ibuioli|

This module is part of the `OCA/l10n-argentina <https://github.com/OCA/l10n-argentina/tree/16.0/l10n_ar_afipws>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions l10n_ar_afipws/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# For copyright and license notices, see __manifest__.py file in module root
# directory or check the readme files

from . import wizard
from . import models
32 changes: 32 additions & 0 deletions l10n_ar_afipws/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# For copyright and license notices, see __manifest__.py file in module root
# directory or check the readme files

{
"name": "Modulo Base para los Web Services de AFIP",
"version": "16.0.1.0.0",
"category": "Accounting/Localizations",
"sequence": 14,
"author": "Nimarosa, ADHOC SA, Moldeo Interactive, Exemax, \
Codize, Odoo Community Association (OCA)",
"license": "AGPL-3",
"summary": "Integration for Argentina Electronic invoice webservices",
"depends": [
"l10n_ar",
],
"website": "https://github.com/OCA/l10n-argentina",
"data": [
"wizard/upload_certificate_view.xml",
"views/afipws_menuitem.xml",
"views/afipws_certificate_view.xml",
"views/afipws_certificate_alias_view.xml",
"views/afipws_connection_view.xml",
"security/ir.model.access.csv",
"security/security.xml",
"views/res_config_settings.xml",
],
"maintainers": ["nimarosa", "ibuioli"],
"images": [],
"installable": True,
"auto_install": False,
"application": False,
}
Loading

0 comments on commit 53bc90b

Please sign in to comment.