Repository
OCA/l10n-france · module folder · Try on Runboat
Module version
1.1.0
Category
Localisation/Report Intrastat
Folder size
0.46 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/l10n-france
Last tracking update
2026-08-07 09:06:34
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
Alexis de Lattre, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/intrastat-extrastat:
OCA/reporting-engine:
odoo/odoo:
- web
- bus
- uom
Python dependencies
python-stdnum, xlrd, xlsxwriter
System dependencies
None
Required by
None
Description
This module adds support for the **Déclaration Européenne des Services**
(DES) for France.

The DES declaration has been introduced on January 1st 2010 in France.
All French companies must send this declaration each month to France's
Customs administration if they sell services without VAT to other EU
companies.

More information about the DES is available on this [official web
page](https://www.douane.gouv.fr/service-en-ligne/declaration-europeenne-de-services-des).

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
l10n_fr_intrastat_service_declaration_form fr.intrastat.service.declaration.form l10n.fr.intrastat.service.declaration form New
l10n_fr_intrastat_service_declaration_graph fr.intrastat.service.declaration.graph l10n.fr.intrastat.service.declaration graph New
l10n_fr_intrastat_service_declaration_line_form fr.intrastat.service.declaration.line.form l10n.fr.intrastat.service.declaration.line form New
l10n_fr_intrastat_service_declaration_line_tree fr.intrastat.service.declaration.line.tree l10n.fr.intrastat.service.declaration.line list New
l10n_fr_intrastat_service_declaration_pivot fr.intrastat.service.declaration.pivot l10n.fr.intrastat.service.declaration pivot New
l10n_fr_intrastat_service_declaration_search fr.intrastat.service.declaration.search l10n.fr.intrastat.service.declaration search New
l10n_fr_intrastat_service_declaration_tree fr.intrastat.service.declaration.list l10n.fr.intrastat.service.declaration list New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (12)
  • attachment_datas Binary
    related='attachment_id.datas' string='XML Export'
  • attachment_id Many2one → ir.attachment
    args: 'ir.attachment'
  • attachment_name Char
    related='attachment_id.name' string='XML Filename'
  • company_id Many2one → res.company
    default=<expr> ondelete='cascade' required=True string='Company' args: 'res.company'
  • currency_id Many2one
    related='company_id.currency_id' store=True string='Company Currency'
  • declaration_line_ids One2many → l10n.fr.intrastat.service.declaration.line
    copy=False string='DES Lines' args: 'l10n.fr.intrastat.service.declaration.line', 'parent_id'
  • end_date Date
    compute='_compute_dates' store=True
  • num_decl_lines Integer
    compute='_compute_numbers' store=True string='Number of Lines' tracking=True
  • start_date Date
    default=<expr> required=True
  • state Selection
    copy=False default='draft' readonly=True tracking=True args: [('draft', 'Draft'), ('done', 'Done')]
  • total_amount Monetary
    compute='_compute_numbers' currency_field='currency_id' store=True tracking=True
  • year_month Char
    compute='_compute_dates' store=True string='Period' tracking=True
Public methods (4)
  • back2draft(self)
  • done(self)
  • generate_service_lines(self)
  • start_date_change(self)
    @api.onchange('start_date')

New fields (10)
  • amount_company_currency Integer
    help='Amount in company currency to write in the declaration. Amount in company currency = amount in invoice currency converted to company currency with the rate of the invoice date and rounded at 0 digits' required=True string='Amount'
  • amount_invoice_currency Monetary
    currency_field='invoice_currency_id' help='Invoiced amount in the invoice currency' readonly=True string='Invoiced Amount'
  • company_currency_id Many2one → res.currency
    related='company_id.currency_id' store=True string='Company Currency' args: 'res.currency'
  • company_id Many2one → res.company
    related='parent_id.company_id' store=True args: 'res.company'
  • invoice_currency_id Many2one → res.currency
    readonly=True args: 'res.currency', 'Invoice Currency'
  • invoice_date Date
    related='move_id.invoice_date' store=True string='Invoice Date'
  • move_id Many2one → account.move
    ondelete='restrict' readonly=True string='Invoice' args: 'account.move'
  • parent_id Many2one → l10n.fr.intrastat.service.declaration
    index=True ondelete='cascade' string='DES' args: 'l10n.fr.intrastat.service.declaration'
  • partner_id Many2one → res.partner
    domain=[('parent_id', '=', False)] ondelete='restrict' string='Customer' args: 'res.partner'
  • partner_vat Char
    compute='_compute_partner_vat' precompute=True readonly=False required=True store=True string='Customer VAT'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…