Skip to content
Health
80/100
good
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 4 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity25/25
    In 10 Odoo series since 8.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.46 MB
Module directory on disk
Code analysis 0 migration notes 3 models 7 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
OCA/intrastat-extrastat:
OCA/reporting-engine:
odoo/odoo:
- web
- bus
- uom
Python dependencies
python-stdnum
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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…