DES

l10n_fr_intrastat_service
REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/19.0/l10n_fr_intrastat_service
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:51
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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
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.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/18.0/l10n_fr_intrastat_service
VERSION
VERSION 1.3.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:19
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - html_editor
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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
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 (5)
  • back2draft(self)
  • done(self)
  • generate_service_lines(self)
  • start_date_change(self)
    @api.onchange('start_date')
  • unlink(self)

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.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/17.0/l10n_fr_intrastat_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:20:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - account
    - base_setup
    - base
    - web
    - onboarding
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES python-stdnum
xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
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> 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 (6)
  • back2draft(self)
  • done(self)
  • generate_service_lines(self)
  • generate_xml(self)
  • start_date_change(self)
    @api.onchange('start_date')
  • unlink(self)

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' readonly=True string='Amount in Invoice Currency'
  • 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='Partner Name' args: 'res.partner'
  • partner_vat Char
    required=True string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/16.0/l10n_fr_intrastat_service
VERSION
VERSION 1.6.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:59
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - 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 python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
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> required=True states={'done': [('readonly', 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 states={'done': [('readonly', True)]} 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 states={'done': [('readonly', 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 (8)
  • back2draft(self)
  • create_xlsx(self)
  • done(self)
  • generate_service_lines(self)
  • generate_xml(self)
  • name_get(self)
    @api.depends('year_month')
  • start_date_change(self)
    @api.onchange('start_date')
  • unlink(self)

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' readonly=True string='Amount in Invoice Currency'
  • 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='Partner Name' args: 'res.partner'
  • partner_vat Char
    required=True string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/15.0/l10n_fr_intrastat_service
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:46:43
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - 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 python-stdnum>=1.18
xlrd
xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
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> required=True states={'done': [('readonly', 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 states={'done': [('readonly', True)]} 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 states={'done': [('readonly', 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 (9)
  • back2draft(self)
  • create_xlsx(self)
  • delete_xml(self)
  • done(self)
  • generate_service_lines(self)
  • generate_xml(self)
  • name_get(self)
    @api.depends('year_month')
  • start_date_change(self)
    @api.onchange('start_date')
  • unlink(self)

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' readonly=True string='Amount in Invoice Currency'
  • 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 string='Company' 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='Partner Name' args: 'res.partner'
  • partner_vat Char
    required=True string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/14.0/l10n_fr_intrastat_service
VERSION
VERSION 1.2.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Sylvain LE GAL, OCA Transbot, oca-travis, Weblate, OCA-git-bot, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:41:11
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - 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 python-stdnum
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
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> required=True states={'done': [('readonly', 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 states={'done': [('readonly', True)]} 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 states={'done': [('readonly', True)]}
  • state Selection
    copy=False default='draft' readonly=True string='State' tracking=True args: [('draft', 'Draft'), ('done', 'Done')]
  • total_amount Monetary
    compute='_compute_numbers' currency_field='currency_id' store=True string='Total Amount' tracking=True
  • year_month Char
    compute='_compute_dates' store=True string='Period' tracking=True
Public methods (9)
  • back2draft(self)
  • create_xlsx(self)
  • delete_xml(self)
  • done(self)
  • generate_service_lines(self)
  • generate_xml(self)
  • name_get(self)
    @api.depends('year_month')
  • start_date_change(self)
    @api.onchange('start_date')
  • unlink(self)

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' readonly=True string='Amount in Invoice Currency'
  • 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 string='Company' 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='Partner Name' args: 'res.partner'
  • partner_vat Char
    required=True string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/13.0/l10n_fr_intrastat_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:34:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - 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 (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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
Models touched (3)

New fields (10)
  • attachment_id Many2one → ir.attachment
    string='XML Export' args: 'ir.attachment'
  • company_id Many2one → res.company
    default=<expr> required=True states={'done': [('readonly', 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 states={'done': [('readonly', True)]} 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 states={'done': [('readonly', True)]}
  • state Selection
    copy=False default='draft' readonly=True string='State' tracking=True args: [('draft', 'Draft'), ('done', 'Done')]
  • total_amount Monetary
    compute='_compute_numbers' currency_field='currency_id' store=True string='Total Amount' tracking=True
  • year_month Char
    compute='_compute_dates' store=True string='Period' tracking=True
Public methods (7)
  • back2draft(self)
  • create_xlsx(self)
  • done(self)
  • generate_service_lines(self)
  • generate_xml(self)
  • name_get(self)
    @api.depends('year_month')
  • 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' string='Amount'
  • amount_invoice_currency Monetary
    currency_field='invoice_currency_id' readonly=True string='Amount in Invoice Currency'
  • 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 string='Company' 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
    ondelete='cascade' string='DES' args: 'l10n.fr.intrastat.service.declaration'
  • partner_id Many2one → res.partner
    ondelete='restrict' string='Partner Name' args: 'res.partner'
  • partner_vat Char
    string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/12.0/l10n_fr_intrastat_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, OCA Transbot, Thomas Binsfeld, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-france
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:25
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
odoo/odoo:
    - base_vat
    - 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 (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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
Models touched (2)

New fields (9)
  • company_id Many2one → res.company
    default=<expr> required=True states={'done': [('readonly', 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 states={'done': [('readonly', True)]} string='DES Lines' args: 'l10n.fr.intrastat.service.declaration.line', 'parent_id'
  • month Selection
    default=<expr> required=True states={'done': [('readonly', True)]} string='Month' args: [(1, '01'), (2, '02'), (3, '03'), (4, '04'), (5, '05'), (6, '06'), (7, '07'), (8, '08'), (9, '09'), (10, '10'), (11, '11'), (12, '12')]
  • num_decl_lines Integer
    compute='_compute_numbers' readonly=True store=True string='Number of Lines' track_visibility='always'
  • state Selection
    copy=False default='draft' readonly=True string='State' track_visibility='onchange' args: [('draft', 'Draft'), ('done', 'Done')]
  • total_amount Monetary
    compute='_compute_numbers' currency_field='currency_id' help='Total amount in company currency of the declaration.' readonly=True store=True string='Total Amount' track_visibility='onchange'
  • year Integer
    default=<expr> required=True states={'done': [('readonly', True)]} string='Year'
  • year_month Char
    compute='_compute_year_month' help='Year and month of the declaration.' readonly=True store=True string='Period' track_visibility='onchange'
Public methods (5)
  • back2draft(self)
  • done(self)
  • generate_service_lines(self)
  • generate_xml(self)
  • goto_prodouane_site(self)

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' string='Amount'
  • amount_invoice_currency Monetary
    currency_field='invoice_currency_id' readonly=True string='Amount in Invoice Currency'
  • 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 string='Company' args: 'res.company'
  • date_invoice Date
    related='invoice_id.date_invoice' store=True string='Invoice Date'
  • invoice_currency_id Many2one → res.currency
    readonly=True args: 'res.currency', 'Invoice Currency'
  • invoice_id Many2one → account.invoice
    ondelete='restrict' readonly=True string='Invoice' args: 'account.invoice'
  • parent_id Many2one → l10n.fr.intrastat.service.declaration
    ondelete='cascade' string='DES' args: 'l10n.fr.intrastat.service.declaration'
  • partner_id Many2one → res.partner
    ondelete='restrict' string='Partner Name' args: 'res.partner'
  • partner_vat Char
    string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')
REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/10.0/l10n_fr_intrastat_service
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Guewen Baconnier, Stéphane Bidoul (ACSONE), OCA Transbot, David Beal, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:03
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
OCA/reporting-engine:
    - report_xlsx_helper
    - report_xlsx
odoo/odoo:
    - base_vat
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES xlsxwriter
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (6)
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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
Models touched (2)

New fields (9)
  • company_id Many2one → res.company
    default=<expr> required=True states={'done': [('readonly', True)]} string='Company' args: 'res.company'
  • currency_id Many2one
    readonly=True related='company_id.currency_id' string='Company Currency'
  • declaration_line_ids One2many → l10n.fr.intrastat.service.declaration.line
    copy=False states={'done': [('readonly', True)]} string='Intrastat Service Lines' args: 'l10n.fr.intrastat.service.declaration.line', 'parent_id'
  • month Selection
    default=_get_month required=True states={'done': [('readonly', True)]} string='Month' args: [(1, '01'), (2, '02'), (3, '03'), (4, '04'), (5, '05'), (6, '06'), (7, '07'), (8, '08'), (9, '09'), (10, '10'), (11, '11'), (12, '12')]
  • num_decl_lines Integer
    compute='_compute_numbers' readonly=True store=True string='Number of Lines' track_visibility='always'
  • state Selection
    copy=False default='draft' readonly=True string='State' track_visibility='onchange' args: [('draft', 'Draft'), ('done', 'Done')]
  • total_amount Monetary
    compute='_compute_numbers' currency_field='currency_id' help='Total amount in company currency of the declaration.' readonly=True store=True string='Total Amount' track_visibility='onchange'
  • year Integer
    default=_get_year required=True states={'done': [('readonly', True)]} string='Year'
  • year_month Char
    compute='_compute_year_month' help='Year and month of the declaration.' readonly=True store=True string='Period' track_visibility='onchange'
Public methods (6)
  • back2draft(self)
  • create_xlsx(self)
  • done(self)
  • generate_service_lines(self)
  • generate_xml(self)
  • goto_prodouane_site(self)

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' string='Amount'
  • amount_invoice_currency Monetary
    currency_field='invoice_currency_id' readonly=True string='Amount in Invoice Currency'
  • company_currency_id Many2one → res.currency
    readonly=True related='company_id.currency_id' string='Company Currency' args: 'res.currency'
  • company_id Many2one → res.company
    readonly=True related='parent_id.company_id' store=True string='Company' args: 'res.company'
  • date_invoice Date
    readonly=True related='invoice_id.date_invoice' string='Invoice Date'
  • invoice_currency_id Many2one → res.currency
    readonly=True args: 'res.currency', 'Invoice Currency'
  • invoice_id Many2one → account.invoice
    ondelete='restrict' readonly=True string='Invoice' args: 'account.invoice'
  • parent_id Many2one → l10n.fr.intrastat.service.declaration
    ondelete='cascade' string='Intrastat Service Declaration' args: 'l10n.fr.intrastat.service.declaration'
  • partner_id Many2one → res.partner
    ondelete='restrict' string='Partner Name' args: 'res.partner'
  • partner_vat Char
    string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')
REPOSITORY
REPOSITORYOCA/l10n-france
GIT
GIThttps://github.com/OCA/l10n-france.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-france/tree/8.0/l10n_fr_intrastat_service
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalisation/Report Intrastat
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONYes
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Akretion
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Akretion
COMMITTERS
COMMITTERSAlexis de Lattre, Stéphane Bidoul (ACSONE), OCA Transbot, oca-travis, Weblate, OCA-git-bot
WEBSITE
WEBSITEhttp://www.akretion.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/intrastat-extrastat:
    - intrastat_base
odoo/odoo:
    - base_vat
    - account
    - base_setup
    - base
    - 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 (5)
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_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 tree 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.tree l10n.fr.intrastat.service.declaration tree New
Models touched (2)

New fields (9)
  • company_id Many2one → res.company
    default=<expr> required=True states={'done': [('readonly', True)]} string='Company' args: 'res.company'
  • currency_id Many2one → res.currency
    readonly=True related='company_id.currency_id' string='Currency' args: 'res.currency'
  • declaration_line_ids One2many → l10n.fr.intrastat.service.declaration.line
    copy=False states={'done': [('readonly', True)]} string='Intrastat Service Lines' args: 'l10n.fr.intrastat.service.declaration.line', 'parent_id'
  • month Selection
    default=_get_month required=True string='Month' args: [(1, '01'), (2, '02'), (3, '03'), (4, '04'), (5, '05'), (6, '06'), (7, '07'), (8, '08'), (9, '09'), (10, '10'), (11, '11'), (12, '12')]
  • num_decl_lines Integer
    compute='_compute_numbers' store=True string='Number of lines' track_visibility='always'
  • state Selection
    copy=False default='draft' readonly=True string='State' track_visibility='onchange' args: [('draft', 'Draft'), ('done', 'Done')]
  • total_amount Float
    compute='_compute_numbers' digits=dp.get_precision('Account') help='Total amount in company currency of the declaration.' store=True string='Total amount' track_visibility='always'
  • year Integer
    default=_get_year required=True string='Year'
  • year_month Char
    compute='_compute_year_month' help='Year and month of the declaration.' readonly=True store=True string='Period' track_visibility='always'
Public methods (4)
  • back2draft(self)
    @api.one
  • done(self)
    @api.one
  • generate_service_lines(self)
    @api.multi
  • generate_xml(self)
    @api.multi

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' string='Amount in company currency'
  • amount_invoice_currency Float
    digits=dp.get_precision('Account') readonly=True string='Amount in invoice currency'
  • company_currency_id Many2one → res.currency
    readonly=True related='company_id.currency_id' string='Company currency' args: 'res.currency'
  • company_id Many2one → res.company
    readonly=True related='parent_id.company_id' store=True string='Company' args: 'res.company'
  • date_invoice Date
    readonly=True related='invoice_id.date_invoice' string='Invoice date'
  • invoice_currency_id Many2one → res.currency
    readonly=True args: 'res.currency', 'Invoice currency'
  • invoice_id Many2one → account.invoice
    readonly=True string='Invoice ref' args: 'account.invoice'
  • parent_id Many2one → l10n.fr.intrastat.service.declaration
    ondelete='cascade' string='Intrastat service ref' args: 'l10n.fr.intrastat.service.declaration'
  • partner_id Many2one → res.partner
    ondelete='restrict' args: 'res.partner', 'Partner name'
  • partner_vat Char
    string='Customer VAT'
Public methods (1)
  • partner_on_change(self)
    @api.onchange('partner_id')