Skip to main content

Base module for Intrastat Product

Project description

License: AGPL-3

Intrastat Product

This module contains common objects and fields for the Intrastat Product reporting, such as the H.S. codes (if you are not familiar with H.S. codes, read Wikipedia <http://en.wikipedia.org/wiki/Harmonized_System>) and the country of origin on the products.

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.

Installation

WARNING:

This module conflicts with the module report_intrastat from the official addons. If you have already installed the module report_intrastat, you should uninstall it before installing this module.

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.

Try me on Runbot

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.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.

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 odoo8_addon_intrastat_product-8.0.1.5.0.99.dev10-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_intrastat_product-8.0.1.5.0.99.dev10-py2-none-any.whl
Algorithm Hash digest
SHA256 f9168ae563a05980f2252208849226369a11ec29316523a8f85462219f2deda0
MD5 f021773853896a7109c64ead726d0638
BLAKE2b-256 c3f14d8718f49aeff8474ead18fa47d76b9e1c35ff100850386acab0711e5f34

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