Skip to content

Commit

Permalink
[10.0][MIG] Port l10n_nl_xaf_auditfile_export (#59)
Browse files Browse the repository at this point in the history
* Align code with l10n_nl_xaf_auditfile_export V8

* Porting to V10

* Update readme

* Minor code review

* Fix start and end date of periods + updated readme

* Fix condition when checking dates

* Update Usage in readme according V10 menu names

* Replace bank field with bank_id

* Make menuitem compatible with Odoo enterprise

* Add nl.po file (courtesy of @ploegvde)

* Fix menu name in readme

* Add empty line in chatter between errors
  • Loading branch information
astirpe authored and hbrunn committed Mar 13, 2017
1 parent 5154021 commit cb5acbb
Show file tree
Hide file tree
Showing 10 changed files with 413 additions and 354 deletions.
50 changes: 35 additions & 15 deletions l10n_nl_xaf_auditfile_export/README.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,35 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

====================
XAF auditfile export
====================

This module allows you to export XAF audit files for the Dutch tax authorities (Belastingdienst).

The currently exported version is 3.2

Configuration
=============

The exporting feature is available to the users who have `Accountant` or `Adviser` rights for accounting.

To configure the default start and end dates of the actual fiscal year, go to `accounting`/`settings` and change the
last date of the year you want to export. Then in the form of the audit file export, by default the end-date will be set
accordingly and the start date will be 12 months before the end date.
Be aware that in case the OCA module `account_fiscal_year` is installed, then the calculus of the fiscal year dates is
overridden, taking by default the date range defined for the actual fiscal year (check `Settings`/`Date Ranges`).

This module works on huge amount of data, so there is a possibility to encounter out of memory exceptions. In this case. set the config parameter `l10n_nl_xaf_auditfile_export.max_records` to a value much lower than 10000.

Usage
=====

To use this module, you need to:

* go to `Invoicing`/`Reporting`/`Legal Reports`/`Auditfile export`
* be sure that you have `Accountant` or `Adviser` rights for accounting
* go to `Invoicing`/`Reports`/`Auditfile export`
* create a new record, adjust values if the defaults are not appropriate
* click `Generate auditfile`
* click `Download` on the field `Auditfile`
Expand All @@ -19,10 +38,9 @@ For further information, please visit:

* https://www.odoo.com/forum/help-1

Configuration
=============

This module works on huge amount of data, so there is a possibility to encounter out of memory exceptions. In this case. set the config parameter `l10n_nl_xaf_auditfile_export.max_records` to a value much lower than 10000.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/176/10.0

Known issues / Roadmap
======================
Expand All @@ -33,11 +51,10 @@ Known issues / Roadmap
Bug Tracker
===========

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/l10n-netherlands/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Credits
=======
Expand All @@ -46,6 +63,7 @@ Contributors
------------

* Holger Brunn <hbrunn@therp.nl>
* Andrea Stirpe <a.stirpe@onestein.nl>

Icon
----
Expand All @@ -60,12 +78,14 @@ http://www.softwarepakket.nl/swpakketten/auditfiles/auditfile_financieel.php?bro
Maintainer
----------

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

This module is maintained by the OCA.

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.
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.

To contribute to this module, please visit http://odoo-community.org.
To contribute to this module, please visit https://odoo-community.org.
23 changes: 7 additions & 16 deletions l10n_nl_xaf_auditfile_export/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,20 @@
##############################################################################
{
"name": "XAF auditfile export",
"version": "8.0.1.0.0",
"author": "Therp BV",
"version": "10.0.1.0.0",
"author": "Therp BV, Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Accounting & Finance",
"summary": "Export XAF auditfiles for Dutch tax authorities",
"depends": [
'base',
'account',
"base",
"account",
],
"data": [
"security/ir.model.access.csv",
"views/xaf_auditfile_export.xml",
"views/templates.xml",
"views/menu.xml",
'views/templates.xml',
'security/ir.model.access.csv',
],
"qweb": [
],
"test": [
],
"auto_install": False,
'installable': False,
"application": False,
"external_dependencies": {
'python': [],
},
"installable": True,
}
191 changes: 0 additions & 191 deletions l10n_nl_xaf_auditfile_export/i18n/l10n_nl_xaf_auditfile_export.pot

This file was deleted.

Loading

0 comments on commit cb5acbb

Please sign in to comment.