XAF auditfile export

l10n_nl_xaf_auditfile_export
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/18.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalization/Netherlands
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSStefan Rijnhart, Weblate, OCA-git-bot, oca-ci, andrea
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_nl
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows you to export XAF audit files for the Dutch tax
authorities (Belastingdienst).

The currently exported version is 3.2

An option allows to export the XAF audit files in a format that is
accepted by Unit4.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export list New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (10)
  • auditfile Binary
    copy=False readonly=True
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • auditfile_success Boolean
    copy=False
  • company_id Many2one → res.company
    required=True args: 'res.company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (17)
  • button_generate(self)
  • check_dates(self)
    @api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    return recordset of accounts
  • get_journals(self)
    return journals
  • get_move_line_count(self)
    return amount of move lines
  • get_move_line_total_credit(self)
    return total credit of move lines
  • get_move_line_total_debit(self)
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    return moves for a journal, generator style
  • get_ob_lines(self)
    return opening balance entries
  • get_ob_totals(self)
    return totals of opening balance
  • get_odoo_version()
    @staticmethod
    return odoo version
  • get_partners(self)
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
  • get_taxes(self)
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/17.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalization/Netherlands
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, andrea, Wodran Van de Sande
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:06
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - l10n_nl
    - base_iban
    - base_vat
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module allows you to export XAF audit files for the Dutch tax
authorities (Belastingdienst).

The currently exported version is 3.2

An option allows to export the XAF audit files in a format that is
accepted by Unit4.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (10)
  • auditfile Binary
    copy=False readonly=True
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • auditfile_success Boolean
    copy=False
  • company_id Many2one → res.company
    required=True args: 'res.company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (17)
  • button_generate(self)
  • check_dates(self)
    @api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    return recordset of accounts
  • get_journals(self)
    return journals
  • get_move_line_count(self)
    return amount of move lines
  • get_move_line_total_credit(self)
    return total credit of move lines
  • get_move_line_total_debit(self)
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    return moves for a journal, generator style
  • get_ob_lines(self)
    return opening balance entries
  • get_ob_totals(self)
    return totals of opening balance
  • get_odoo_version()
    @staticmethod
    return odoo version
  • get_partners(self)
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
  • get_taxes(self)
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/16.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalization/Netherlands
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSHolger Brunn, Ronald Portier (Therp BV), Weblate, OCA-git-bot, Tom Blauwendraat, Andrea Stirpe, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (12)
  • auditfile Binary
    copy=False readonly=True
  • auditfile_name Char
    compute='_compute_auditfile_name' args: 'Auditfile filename'
  • auditfile_success Boolean
    copy=False readonly=True
  • company_id Many2one → res.company
    required=True args: 'res.company'
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (17)
  • button_generate(self)
  • check_dates(self)
    @api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    return recordset of accounts
  • get_journals(self)
    return journals
  • get_move_line_count(self)
    return amount of move lines
  • get_move_line_total_credit(self)
    return total credit of move lines
  • get_move_line_total_debit(self)
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    return moves for a journal, generator style
  • get_ob_lines(self)
    return opening balance entries
  • get_ob_totals(self)
    return totals of opening balance
  • get_odoo_version(self)
    return odoo version
  • get_partners(self)
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
  • get_taxes(self)
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/15.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYLocalization/Netherlands
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSRonald Portier (Therp BV), Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (9)
  • auditfile Binary
    copy=False readonly=True
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • company_id Many2one → res.company
    required=True args: 'res.company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (17)
  • button_generate(self)
  • check_dates(self)
    @api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    return recordset of accounts
  • get_journals(self)
    return journals
  • get_move_line_count(self)
    return amount of move lines
  • get_move_line_total_credit(self)
    return total credit of move lines
  • get_move_line_total_debit(self)
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    return moves for a journal, generator style
  • get_ob_lines(self)
    return opening balance entries
  • get_ob_totals(self)
    return totals of opening balance
  • get_odoo_version(self)
    return odoo version
  • get_partners(self)
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
  • get_taxes(self)
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/14.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 3.2.1
CATEGORY
CATEGORYLocalization/Netherlands
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSGitHub, Ronald Portier (Therp BV), oca-travis, Weblate, OCA-git-bot, Andrea Stirpe, oca-ci, antonioburic, oca-git-bot, Danny de Jong, Jeroen Vet
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:01
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (9)
  • auditfile Binary
    copy=False readonly=True
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • company_id Many2one → res.company
    default=<expr> readonly=True args: 'res.company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (17)
  • button_generate(self)
  • check_dates(self)
    @api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    return recordset of accounts
  • get_journals(self)
    return journals
  • get_move_line_count(self)
    return amount of move lines
  • get_move_line_total_credit(self)
    return total credit of move lines
  • get_move_line_total_debit(self)
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    return moves for a journal, generator style
  • get_ob_lines(self)
    return opening balance entries
  • get_ob_totals(self)
    return totals of opening balance
  • get_odoo_version(self)
    return odoo version
  • get_partners(self)
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
  • get_taxes(self)
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/13.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSGitHub, Andrea, Cas Vissers, Luc De Meyer, OCA Transbot, oca-travis, OCA-git-bot, antonioburic
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:14
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (9)
  • auditfile Binary
    copy=False readonly=True
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • company_id Many2one → res.company
    required=True args: 'res.company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (17)
  • button_generate(self)
  • check_dates(self)
    @api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    return recordset of accounts
  • get_journals(self)
    return journals
  • get_move_line_count(self)
    return amount of move lines
  • get_move_line_total_credit(self)
    return total credit of move lines
  • get_move_line_total_debit(self)
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    return moves for a journal, generator style
  • get_ob_lines(self)
    return opening balance entries
  • get_ob_totals(self)
    return totals of opening balance
  • get_odoo_version(self)
    return odoo version
  • get_partners(self)
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
  • get_taxes(self)
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/12.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 1.1.1
CATEGORY
CATEGORYInvoices & Payments
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSHolger Brunn, Andrea, Cas Vissers, Weblate, OCA-git-bot, oca-ci, antonioburic
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (9)
  • auditfile Binary
    copy=False readonly=True args: 'Auditfile'
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
    args: 'Name'
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (17)
  • button_generate(self)
    @api.multi
  • check_dates(self)
    @api.multi@api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    @api.multi
    return recordset of accounts
  • get_journals(self)
    @api.multi
    return journals
  • get_move_line_count(self)
    @api.multi
    return amount of move lines
  • get_move_line_total_credit(self)
    @api.multi
    return total credit of move lines
  • get_move_line_total_debit(self)
    @api.multi
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    @api.multi
    return moves for a journal, generator style
  • get_ob_lines(self)
    @api.multi
    return opening balance entries
  • get_ob_totals(self)
    @api.multi
    return totals of opening balance
  • get_odoo_version(self)
    @api.multi
    return odoo version
  • get_partners(self)
    @api.multi
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
    @api.multi
  • get_taxes(self)
    @api.multi
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/11.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSRonald Portier, Holger Brunn, OCA Transbot, Stefan Rijnhart (Opener), oca-travis, OCA-git-bot, OCA Git Bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - account
    - base_setup
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (9)
  • auditfile Binary
    copy=False readonly=True args: 'Auditfile'
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
    args: 'Name'
  • unit4 Boolean
    help='The Unit4 system expects a value for `<xsd:element name="docRef" ..>` of maximum 35 characters, infringing the official standard. In case the value exceeds 35 characters, an error is raised by Unit4 while importing the audit file. By setting this flag to true, the `docRef` value is simply truncated to 35 characters so that the auditfile can be successfully imported into Unit4.\nIf you want to export an auditfile with the official standard (missing the Unit4 compatibility) just set this flag to False.'
Public methods (15)
  • button_generate(self)
    @api.multi
  • check_dates(self)
    @api.multi@api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    @api.multi
    return recordset of accounts
  • get_journals(self)
    @api.multi
    return journals
  • get_move_line_count(self)
    @api.multi
    return amount of move lines
  • get_move_line_total_credit(self)
    @api.multi
    return total credit of move lines
  • get_move_line_total_debit(self)
    @api.multi
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    @api.multi
    return moves for a journal, generator style
  • get_odoo_version(self)
    @api.multi
    return odoo version
  • get_partners(self)
    @api.multi
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
    @api.multi
  • get_taxes(self)
    @api.multi
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/10.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 1.2.1
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSStefan Rijnhart, Holger Brunn, Pedro M. Baeza, OCA Transbot, oca-travis, OCA-git-bot, Tom Blauwendraat
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (9)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • value_to_html(self, value, options)
    @api.model

New fields (9)
  • auditfile Binary
    copy=False readonly=True args: 'Auditfile'
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • auditfile_success Boolean
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
    args: 'Name'
Public methods (17)
  • button_generate(self)
    @api.multi
  • check_dates(self)
    @api.one@api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    @api.multi
    return recordset of accounts
  • get_journals(self)
    @api.multi
    return journals
  • get_move_line_count(self)
    @api.multi
    return amount of move lines
  • get_move_line_total_credit(self)
    @api.multi
    return total credit of move lines
  • get_move_line_total_debit(self)
    @api.multi
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    @api.multi
    return moves for a journal, generator style
  • get_ob_lines(self)
    @api.multi
    return opening balance entries
  • get_ob_totals(self)
    @api.multi
    return totals of opening balance
  • get_odoo_version(self)
    @api.multi
    return odoo version
  • get_partners(self)
    @api.multi
    return a generator over partners
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
    @api.multi
  • get_taxes(self)
    @api.multi
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/9.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSRonald Portier, Holger Brunn, Pedro M. Baeza, Andrea, OCA Transbot, oca-travis, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-netherlands
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:21
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
auditfile_template auditfile_template ir.ui.view qweb New
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
Models touched (8)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (9)
  • auditfile Binary
    copy=False readonly=True args: 'Auditfile'
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • auditfile_success Boolean
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company'
  • date_end Date
    required=True args: 'End date'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • date_start Date
    required=True args: 'Start date'
  • fiscalyear_name Char
    compute='_compute_fiscalyear_name'
  • name Char
    args: 'Name'
Public methods (15)
  • button_generate(self)
    @api.multi
  • check_dates(self)
    @api.constrains('date_start', 'date_end')
  • default_get(self, fields_list)
    @api.model
  • get_accounts(self)
    @api.multi
    return recordset of accounts
  • get_journals(self)
    @api.multi
    return journals
  • get_move_line_count(self)
    @api.multi
    return amount of move lines
  • get_move_line_total_credit(self)
    @api.multi
    return total credit of move lines
  • get_move_line_total_debit(self)
    @api.multi
    return total debit of move lines
  • get_move_period_number(self, move)
    @api.model
  • get_moves(self, journal)
    @api.multi
    return moves for a journal, generator style
  • get_odoo_version(self)
    @api.multi
    return odoo version
  • get_partners(self)
    @api.multi
    return a generator over partners and suppliers
  • get_period_number(self, date)
    @api.model
  • get_periods(self)
    @api.multi
  • get_taxes(self)
    @api.multi
    return taxes
REPOSITORY
REPOSITORYOCA/l10n-netherlands
GIT
GIThttps://github.com/OCA/l10n-netherlands.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-netherlands/tree/8.0/l10n_nl_xaf_auditfile_export
VERSION
VERSION 2.0.3
CATEGORY
CATEGORYAccounting & Finance
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Therp BV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Therp BV
COMMITTERS
COMMITTERSStéphane Bidoul, Yannick Vaucher, Stefan Rijnhart, Holger Brunn, GitHub, Andrea, Stéphane Bidoul (ACSONE), OCA Transbot, Stefan Rijnhart (Opener), Roel Adriaans, oca-travis, Tom Blauwendraat
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:23
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - base
    - account
    - base_setup
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
form_xaf_auditfile_export xaf.auditfile.export form New
tree_xaf_auditfile_export xaf.auditfile.export tree New
xaf_template_all xaf_template_all ir.ui.view qweb New
xaf_template_default xaf_template_default ir.ui.view qweb Inherits l10n_nl_xaf_auditfile_export.xaf_template_all
Models touched (8)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (9)
  • auditfile Binary
    copy=False readonly=True args: 'Auditfile'
  • auditfile_name Char
    compute='_compute_auditfile_name' store=True args: 'Auditfile filename'
  • company_id Many2one → res.company
    required=True args: 'res.company', 'Company'
  • data_export Selection
    default='default' help="Select 'All' in order to include optional partner details and general account history information in the exported XAF File. " required=True selection=[('default', 'Default'), ('all', 'All')] string='Data record info'
  • date_generated Datetime
    copy=False readonly=True args: 'Date generated'
  • exclude_account_ids Many2many → account.account
    help='Accounts that should not be shown on the report' string='Accounts to exclude' args: 'account.account'
  • name Char
    args: 'Name'
  • period_end Many2one → account.period
    required=True args: 'account.period', 'End period'
  • period_start Many2one → account.period
    required=True args: 'account.period', 'Start period'
Public methods (9)
  • button_generate(self)
    @api.multi
  • check_periods(self)
    @api.multi@api.constrains('period_start', 'period_end')
  • default_get(self, fields)
    @api.model
  • get_move_line_count(self, periods)
    @api.multi
    return amount of move lines
  • get_move_line_total_credit(self, periods)
    @api.multi
    return total credit of move lines
  • get_move_line_total_debit(self, periods)
    @api.multi
    return total debit of move lines
  • get_moves(self, journal, periods)
    @api.multi
    return moves for a journal, generator style
  • get_odoo_version(self)
    @api.multi
    return odoo version
  • get_partners(self, partner_ids)
    @api.multi
    return a generator over partners