-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe8eb06
commit d251cae
Showing
4 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ Intrastat Product | |
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:dbd4da70502d90ac25da6f51e7032e46a16651426528180f6ff43dae63669e4e | ||
!! source digest: sha256:3fb40f7c9f01768c0dfa79696fb0b656a66e12fb237cac4094fd05fea8f7ad5d | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
|
@@ -34,10 +34,10 @@ 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 | ||
- *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. | ||
|
@@ -90,40 +90,40 @@ 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 | ||
- Declaration Object | ||
|
||
Create a new class as follows: | ||
Create a new class as follows: | ||
|
||
.. code:: python | ||
.. code:: python | ||
class L10nCcIntrastatProductDeclaration(models.Model): | ||
_name = 'l10n.cc.intrastat.product.declaration' | ||
_description = "Intrastat Product Declaration for YourCountry" | ||
_inherit = ['intrastat.product.declaration', 'mail.thread'] | ||
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 | ||
whereby cc = your country code | ||
|
||
- Computation & Declaration Lines | ||
- 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). | ||
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). | ||
Adapt also the parent_id fields of the newly created objects (cf. | ||
l10n_be_intrastat_product as example). | ||
|
||
- XML Files: Menu, Action, Views | ||
- XML Files: Menu, Action, Views | ||
|
||
Cf. l10n_be_istrastat_product as example, replace "be" by your | ||
Country Code. | ||
Cf. l10n_be_istrastat_product as example, replace "be" by your Country | ||
Code. | ||
|
||
**Other functionality added by this module:** | ||
|
||
- Compute the Intrastat Lines in an invoice. For this, your user needs | ||
to be in the "Technical / Invoice Intrastat Transaction Details" | ||
group. Go to the "Intrastat transaction details" tab and press | ||
**Compute** | ||
- Compute the Intrastat Lines in an invoice. For this, your user needs | ||
to be in the "Technical / Invoice Intrastat Transaction Details" | ||
group. Go to the "Intrastat transaction details" tab and press | ||
**Compute** | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
@@ -158,16 +158,16 @@ Authors | |
Contributors | ||
------------ | ||
|
||
- Alexis de Lattre, Akretion <[email protected]> | ||
- Alexis de Lattre, Akretion <[email protected]> | ||
|
||
- Luc De Meyer, Noviat <[email protected]> | ||
- Luc De Meyer, Noviat <[email protected]> | ||
|
||
- Denis Roussel <[email protected]> | ||
- Denis Roussel <[email protected]> | ||
|
||
- Tecnativa <`www.tecnativa.com\\> <http://www.tecnativa.com\>>`__: | ||
- Tecnativa <`www.tecnativa.com\\> <http://www.tecnativa.com\>>`__: | ||
|
||
- João Marques | ||
- Víctor Martínez | ||
- João Marques | ||
- Víctor Martínez | ||
|
||
Maintainers | ||
----------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters