mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[IMP] intrastat_base: Update README.rst + rename variables + restore code lost in transition to github/OCA/intrastat
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
==============
|
||||
Intrastat Base
|
||||
==============
|
||||
|
||||
=====================
|
||||
Intrastat Base Module
|
||||
=====================
|
||||
|
||||
This module contains common functions for the Intrastat reporting and
|
||||
should be used in combination with country-specific reporting modules
|
||||
such as:
|
||||
This module contains common functions for the intrastat reporting and
|
||||
should be used in combination with the generic reporting module
|
||||
*intrastat_product* and with the country-specific reporting modules such
|
||||
as:
|
||||
|
||||
- *l10n_fr_intrastat_service*:
|
||||
the module for the *Déclaration Européenne des Services* (DES) for France
|
||||
@@ -31,25 +31,28 @@ you should uninstall it first before installing this module.
|
||||
Usage
|
||||
=====
|
||||
|
||||
To create H.S. codes, go to the menu *Sales > Configuration > Product Categories and Attributes > H.S. Codes*.
|
||||
This module adds an intrastat property on countries and activates this property
|
||||
on the 28 countries of the European Union.
|
||||
|
||||
Then you will be able to set the H.S. code on an product (under the *Information* tab) or on a product category. On the product form, you will also be able to set the *Country of Origin* of a product (for example, if the product is *made in China*, select *China* as *Country of Origin*).
|
||||
With this module, the country field on partners becomes a required field.
|
||||
|
||||
It adds an option *Exclude invoice line from intrastat if this tax is present*
|
||||
on taxes.
|
||||
|
||||
It adds a tab *Intrastat* on the company form view.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/91/8.0
|
||||
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-reporting/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 `here <https://github.com/OCA/
|
||||
account-financial-reporting/issues/new?body=module:%20
|
||||
intrastat_base%0Aversion:%20
|
||||
8.0.1.2%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
|
||||
Bugs are tracked on `GitHub Issues
|
||||
<https://github.com/OCA/account-financial-reporting/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
|
||||
=======
|
||||
@@ -62,9 +65,10 @@ Contributors
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
.. image:: http://odoo-community.org/logo.png
|
||||
|
||||
.. image:: https://odoo-community.org/logo.png
|
||||
:alt: Odoo Community Association
|
||||
:target: http://odoo-community.org
|
||||
:target: https://odoo-community.org
|
||||
|
||||
This module is maintained by the OCA.
|
||||
|
||||
@@ -72,4 +76,4 @@ 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 http://odoo-community.org.
|
||||
To contribute to this module, please visit https://odoo-community.org.
|
||||
|
||||
@@ -1,182 +0,0 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * intrastat_base
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 8.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-05-27 18:43+0000\n"
|
||||
"PO-Revision-Date: 2015-05-27 18:43+0000\n"
|
||||
"Last-Translator: <>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: help:product.template,is_accessory_cost:0
|
||||
msgid "Activate this option for shipping costs, packaging costs and all services related to the sale of products. This option is used for Intrastat reports."
|
||||
msgstr "Activez cette option pour les frais de port, les frais d'emballage et tous les services liés à la vente de produits physiques. Cette option est utilisée pour la DEB et la DES."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/intrastat_common.py:165
|
||||
#, python-format
|
||||
msgid "Cannot delete the declaration %s because it is in Done state"
|
||||
msgstr "Impossible de supprimer la déclaration %s car elle est à l'état déclaré"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: view:res.company:intrastat_base.view_company_form
|
||||
msgid "Common Intrastat Settings"
|
||||
msgstr "Paramètres communs DEB et DES"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: model:ir.model,name:intrastat_base.model_report_intrastat_common
|
||||
msgid "Common functions for intrastat reports for products "
|
||||
msgstr ""
|
||||
|
||||
#. module: intrastat_base
|
||||
#: model:ir.model,name:intrastat_base.model_res_company
|
||||
msgid "Companies"
|
||||
msgstr "Sociétés"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/intrastat_common.py:68
|
||||
#, python-format
|
||||
msgid "Company not yet set on intrastat report."
|
||||
msgstr "Société non configurée sur le rapport intrastat."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: model:ir.model,name:intrastat_base.model_res_country
|
||||
msgid "Country"
|
||||
msgstr "Pays"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: view:res.country:intrastat_base.view_country_search
|
||||
#: field:res.country,intrastat:0
|
||||
msgid "EU Country"
|
||||
msgstr "Pays UE"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: field:product.template,exclude_from_intrastat:0
|
||||
msgid "Exclude from Intrastat reports"
|
||||
msgstr "Exclure de la DEB et de la DES"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: field:account.tax,exclude_from_intrastat_if_present:0
|
||||
msgid "Exclude invoice line from intrastat if this tax is present"
|
||||
msgstr "Exclue la ligne de facture de la DEB/DES si cette taxe est présente"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: field:report.intrastat.common,id:0
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: help:product.template,exclude_from_intrastat:0
|
||||
msgid "If set to True, the product or service will not be taken into account for Intrastat Product or Service reports. So you should leave this field to False unless you have a very good reason."
|
||||
msgstr "Si l'option est activée, le produit ou service ne sera pris en compte ni pour la DEB ni pour la DES. Cette option doit donc rester désactivée sauf si vous avez une très bonne raison."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: help:account.tax,exclude_from_intrastat_if_present:0
|
||||
msgid "If this tax is present on an invoice line, this invoice line will be skipped when generating Intrastat Product or Service lines from invoices."
|
||||
msgstr "Si cette taxe est présente sur une ligne de facture, cette ligne de facture ne sera pas prise en compte lors de la génération de la DEB et de la DES depuis les factures."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: view:product.template:intrastat_base.product_template_form_view
|
||||
msgid "Intrastat Properties"
|
||||
msgstr "Propriétés DEB/DES"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: model:ir.ui.menu,name:intrastat_base.menu_intrastat_base_root
|
||||
msgid "Intrastat Reporting"
|
||||
msgstr "DEB et DES"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: view:res.company:intrastat_base.view_company_form
|
||||
msgid "Intrastat Settings"
|
||||
msgstr "Configuration DEB/DES"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: field:product.template,is_accessory_cost:0
|
||||
msgid "Is accessory cost"
|
||||
msgstr "Frais accessoires"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: help:res.company,intrastat_remind_user_ids:0
|
||||
msgid "List of OpenERP users who will receive a notification to remind them about the Intrastat declaration."
|
||||
msgstr "Liste d'utilisateurs OpenERP qui recevront le rappel pour la DEB et/ou la DES."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/company.py:55
|
||||
#, python-format
|
||||
msgid "Missing e-mail address on user '%s'."
|
||||
msgstr "Adresse e-mail manquante sur l'utilisateur '%s'."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: model:ir.model,name:intrastat_base.model_product_template
|
||||
msgid "Product Template"
|
||||
msgstr "Modèle d'article"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: view:res.country:intrastat_base.view_country_search
|
||||
msgid "Search Countries"
|
||||
msgstr "Recherche des pays"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: help:res.country,intrastat:0
|
||||
msgid "Set to True for all European Union countries."
|
||||
msgstr "A cocher pour tous les pays de l'Union Européenne."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: model:product.template,name:intrastat_base.shipping_costs_exclude_product_template
|
||||
msgid "Shipping costs"
|
||||
msgstr "Frais de port"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: model:ir.model,name:intrastat_base.model_account_tax
|
||||
msgid "Tax"
|
||||
msgstr "Taxes"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/intrastat_common.py:84
|
||||
#, python-format
|
||||
msgid "The VAT number is not set for the partner '%s'."
|
||||
msgstr "Le numéro de TVA n'est pas renseigné pour le partenaire '%s'."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/intrastat_common.py:76
|
||||
#, python-format
|
||||
msgid "The company currency must be 'EUR', but is currently '%s'."
|
||||
msgstr "La monnaie de la société doit être 'EUR', mais est actuellement '%s'."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/intrastat_common.py:72
|
||||
#, python-format
|
||||
msgid "The country is not set on the company '%s'."
|
||||
msgstr "Le pays n'est pas renseigné sur la société '%s'."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/intrastat_common.py:105
|
||||
#, python-format
|
||||
msgid "The generated XML file is not valid against the official XML Schema Definition. The generated XML file and the full error have been written in the server logs. Here is the error, which may give you an idea on the cause of the problem : %s."
|
||||
msgstr "La validation du fichier XML avec le schéma XML officiel a échoué. Le fichier XML généré et le détail de l'erreur ont été écrits dans les logs du serveur. Voici le message d'erreur, qui peut vous donner une idée de la cause du problème : %s."
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/product.py:51
|
||||
#, python-format
|
||||
msgid "The option 'Is accessory cost?' should only be activated on 'Service' products. You have activated this option for the product '%s' which is of type '%s'"
|
||||
msgstr "L'option 'Frais accessoires' ne doit être activée que sur les produits de type 'Service'. Vous avez activé cette option sur le produit '%s' qui est de type '%s'"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: code:addons/intrastat_base/intrastat_common.py:62
|
||||
#, python-format
|
||||
msgid "The start date must be the first day of the month"
|
||||
msgstr "La date de début doit être le premier jour du mois"
|
||||
|
||||
#. module: intrastat_base
|
||||
#: field:res.company,intrastat_remind_user_ids:0
|
||||
msgid "Users Receiving the Intrastat Reminder"
|
||||
msgstr "Utilisateurs qui reçoivent le rappel DEB/DES"
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
|
||||
"access_report_intrastat_common","Read access on report.intrastat.common","model_report_intrastat_common","base.group_user",1,0,0,0
|
||||
|
@@ -9,21 +9,18 @@
|
||||
<openerp>
|
||||
<data>
|
||||
|
||||
<!-- Add required field country_id on view_partner_form -->
|
||||
<!-- Set country_id field to required on partner form view -->
|
||||
<record id="view_partner_form" model="ir.ui.view">
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='country_id']"
|
||||
position="attributes">
|
||||
<attribute name="attrs">{'readonly': [('use_parent_address','=',True)], 'required': True}</attribute>
|
||||
<xpath expr="//field[@name='country_id']" position="attributes">
|
||||
<attribute name="required">1</attribute>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='child_ids']/form//field[@name='country_id']"
|
||||
position="attributes">
|
||||
<attribute name="attrs">{'required': True}</attribute>
|
||||
<attribute name="required">1</attribute>
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user