Skip to main content

Base module for Intrastat Product

Project description

Beta License: AGPL-3 OCA/intrastat-extrastat Translate me on Weblate Try me on Runbot

This module contains common objects and fields for the Intrastat Product reporting.

It should be used in combination with country-specific Intrastat Product reporting modules such as:

  • l10n_fr_intrastat_product: the module for the Déclaration d’Echange de Biens (DEB) for France

  • l10n_be_intrastat_product: the module for the Intrastat Product Declaration for Belgium

These country-specific modules can be found in the OCA localization for those countries.

Table of contents

Installation

This module is NOT compatible with the account_intrastat module from Odoo Enterprise.

Configuration

By default the intrastat declaration is generated based upon the product record master data. Hence unexpected results may occur in case this master data is not accurate, e.g. wrong or missing weight, country of origin, …


This can be corrected by changing the appropriate fields when analysing the intrastat declaration but this can be challenging in case of large transaction volumes and especially in the specific use case where the product weight cannot be encoded correctly on the product records (e.g. products with variable weight).


It is possible to allow encoding the intrastat transaction details on the purchase/sale invoice via the “intrastat_product.group_invoice_intrastat_transaction_detail” usability group.

Usage

This module is used in combination with the country-specific localization module(s).

Coding guidelines for localization module:

We recommend to start by copying an existing module, e.g. l10n_be_intrastat_product and adapt the code for the specific needs of your country.

  • Declaration Object

    Create a new class as follows:

    class L10nCcIntrastatProductDeclaration(models.Model):
        _name = 'l10n.cc.intrastat.product.declaration'
        _description = "Intrastat Product Declaration for YourCountry"
        _inherit = ['intrastat.product.declaration', 'mail.thread']

    whereby cc = your country code

  • Computation & Declaration Lines

    Create also new objects inheriting from the Computation and Declaration Line Objects so that you can add methods or customise the methods from the base modules (make a PR when the customization or new method is required for multiple countries).

    Adapt also the parent_id fields of the newly created objects (cf. l10n_be_intrastat_product as example).

  • XML Files: Menu, Action, Views

    Cf. l10n_be_istrastat_product as example, replace “be” by your Country Code.

Known issues / Roadmap

The declaration is based upon the invoices of the corresponding tax declaration period.

An option to generate the intrastat declaration based upon the dates of the physical movements of goods is currently not available.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • brain-tec AG

  • Akretion

  • Noviat

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/intrastat-extrastat project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo13_addon_intrastat_product-13.0.3.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo13_addon_intrastat_product-13.0.3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7c549ce7057afff6bf5a650d3cc80d4779c33d24f636223075201f5d808fe3c8
MD5 bf6c128f4cf73f049e1d7f9c2761ae72
BLAKE2b-256 8f5f46fe2a45e0a30a1fa1e3d8bfd118173eca9b6f8dbd6e13151ec41800542f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page