Base module for Intrastat Product
Project description
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.
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
Contributors
Alexis de Lattre, Akretion <alexis.delattre@akretion.com>
Luc De Meyer, Noviat <info@noviat.com>
Maintainers
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file odoo12_addon_intrastat_product-12.0.1.0.4-py3-none-any.whl
.
File metadata
- Download URL: odoo12_addon_intrastat_product-12.0.1.0.4-py3-none-any.whl
- Upload date:
- Size: 90.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2038d5c106f618c8dff2cfd64aad58bd437f60eedb754625551685a762aa1be2 |
|
MD5 | 1afb732d072193c116fd5fc4b410a1f9 |
|
BLAKE2b-256 | 0a36751273f78428a6379e6f4c3d158ab390cc515f2f9405bf63cf0d24a95792 |