Search 1.9 billion lines of Odoo code on GitHub

intrastat_product

Author: brain-tec AG, Akretion, Noviat, Odoo Community Association (OCA)
License: AGPL-3
Branch: 11.0-xp
Repository: brain-tec/intrastat
Dependencies: account, base, decimal_precision, intrastat_base, product_harmonized_system, purchase, sale_stock, and stock
Languages: Python (1123, 57.5%), XML (770, 39.4%), and reStructuredText (61, 3.1%)
Other branches: 10.0, 10.0-add-type-to-view, 11.0, 11.0-mig-intrastat_product, 11.0-pass-declaration-to-xls-template, 12-intrastat-reminder-m2m-table, 12.0, 13-brexit-support, 13.0, 13.0-intrastat_product-fix_compute_hs_code_id, 14.0, 15.0, 15.0-ocabot-update-dotfiles, 8.0, 9.0, and pass-declaration-to-xls-template
Other repositories: BenjaHe/intrastat-extrastat, Bubbles-IT/intrastat, Bubbles-IT/noviat-apps, CGenie/intrastat, CatsAndDogsbvba/noviat-apps, Change2improve/intrastat-extrastat, DudhatShivam/noviat-apps, FullBringEc/noviat-apps, Gabinete-Digital/intrastat-extrastat, Guobower/noviat-apps, ICTSTUDIO/noviat-apps, ITISAG-OCA/intrastat, Idealisconsulting/noviat-apps, Ingeos/intrastat-extrastat, Ingeos/noviat-apps, LionMathias/intrastat-extrastat, NL66278/noviat-apps, NeatNerdPrime/intrastat-extrastat, Noviat/intrastat, OCA-MUK/intrastat-extrastat, OCA/intrastat-extrastat, OdooBulgaria/noviat-apps, Organize-IT/noviat-apps, OutillageStEtienne/intrastat, PieterPaulussen/noviat-apps, SVQTQ/noviat-apps, SetRac/noviat-apps, SeuMarco/intrastat-extrastat, StefanRijnhart/noviat-apps, Tecnativa/intrastat, Tonow-c2c/intrastat-extrastat, VisiionSolucionesTecnologicas/intrastat, aaltinisik/intrastat-extrastat, acsone/intrastat-extrastat, akretion/account-financial-reporting, akretion/intrastat-extrastat, akretion/noviat-apps, alanljj/noviat-apps, apachesep/intrastat, apetbiz/intrastat, aroodooteam/noviat-apps, aurestic/intrastat, bealdav/intrastat-extrastat, brain-tec/noviat-apps, bvkl/intrastat, cameroun/noviat-apps, camptocamp/intrastat-extrastat, clagoa/noviat-apps, coopaname/noviat-apps, damdam-s/account-financial-reporting, diagramsoftware/intrastat, diggy128/intrastat, doomsterinc/noviat-apps, druidoo-dev/intrastat-extrastat, eezee-it/noviat-apps, factorlibre/intrastat-extrastat, fjouatte/intrastat-extrastat, flocalhost/intrastat-extrastat, francislouie/noviat-apps, gfcapalbo/noviat-apps, guewen/intrastat-extrastat, gurneyalex/account-financial-reporting, haroldtamo/intrastat, haryoran04/noviat-apps, haylahi/noviat-apps, hbrunn/account-financial-reporting, hbrunn/noviat-apps, ilexius/noviat-apps, johanvhg/noviat-apps, kossovo/noviat-apps, lbelorgey/intrastat-extrastat, leemannd/intrastat, lfreeke/intrastat, lideritjnma/intrastat-extrastat, likaiyuan/noviat-apps, lonelyleaves/noviat-apps, lubonbvba/noviat-apps, luc-demeyer/account-financial-reporting, luc-demeyer/intrastat-extrastat, luc-demeyer/noviat-apps, mah007/noviat-apps, marionumza/noviat-apps, markrobinson85/noviat-apps, mdietrichc2c/noviat-apps, mohamedhagag/noviat-apps, odof/intrastat, odoo-modules/noviat-apps, open-synergy/intrastat, ovnicraft/noviat-apps, petypi/noviat-apps, praxya/intrastat, pscloud/intrastat, redblow/intrastat-extrastat, rkhalil1990/noviat-apps, rven/noviat-apps, sanube/intrastat-extrastat, sasakuma/noviat-apps, schout-it/noviat-apps, sunflowerit/intrastat, sunflowerit/noviat-apps, suningwz/noviat-apps, syci/noviat-apps, taktik/noviat-apps, ursais/intrastat, van-orsouw-consultancy/noviat-apps, and vidtsin/noviat-apps

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="intrastat-product"></a> <h2>Intrastat Product</h2> <p>This module contains common objects and fields for the Intrastat Product reporting, such as the <em>H.S. codes</em> (if you are not familiar with H.S. codes, read <cite>Wikipedia &lt;http://en.wikipedia.org/wiki/Harmonized_System&gt;</cite>) and the <em>country of origin</em> on the products.</p> <p>It should be used in combination with country-specific Intrastat Product reporting modules such as:</p> <ul class="simple"> <li><em>l10n_fr_intrastat_product</em>: the module for the <em>Déclaration d'Echange de Biens</em> (DEB) for France</li> <li><em>l10n_be_intrastat_product</em>: the module for the Intrastat Product Declaration for Belgium</li> </ul> <p>These country-specific modules can be found in the OCA localization for those countries.</p> <a name="installation"></a> <h3>Installation</h3> <p>WARNING:</p> <p>This module conflicts with the module <em>report_intrastat</em> from the official addons. If you have already installed the module <em>report_intrastat</em>, you should uninstall it before installing this module.</p> <a name="usage"></a> <h3>Usage</h3> <p>This module is used in combination with the country-specific localization module(s).</p> <a name="coding-guidelines-for-localization-module"></a> <h4>Coding guidelines for localization module:</h4> <p>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.</p> <ul> <li><p class="first">Declaration Object</p> <p>Create a new class as follows:</p> <pre> <code lang="python">class L10nCcIntrastatProductDeclaration(models.Model): _name = 'l10n.cc.intrastat.product.declaration' _description = &quot;Intrastat Product Declaration for YourCountry&quot; _inherit = ['intrastat.product.declaration', 'mail.thread']</code> </pre> <p>whereby cc = your country code</p> </li> <li><p class="first">Computation &amp; Declaration Lines</p> <p>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).</p> <p>Adapt also the parent_id fields of the newly created objects (cf. l10n_be_intrastat_product as example).</p> </li> <li><p class="first">XML Files: Menu, Action, Views</p> <p>Cf. l10n_be_istrastat_product as example, replace &quot;be&quot; by your Country Code.</p> </li> </ul> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/227/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/intrastat/issues">GitHub Issues</a>. 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.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Alexis de Lattre, Akretion &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li> <li>Luc De Meyer, Noviat &lt;<a class="reference external" href="mailto:info&#64;noviat.com">info&#64;noviat.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>