[MIG] intrastat_product: Migration to 11.0

* Small fixes in intrastat_base
* account_tax_template
This commit is contained in:
Luc De Meyer
2019-04-17 20:48:49 +02:00
committed by Denis Roussel
parent a701634c67
commit fa5dca3e34
7 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3
=====================================
Generic Intrastat Product Declaration
=====================================
This module adds a menu entry for a Generic Intrastat Product Declaration.
This is useful to cover countries for which there is no localization module.
Installation
============
There is no specific installation procedure for this module.
Configuration and Usage
=======================
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/227/10.0
Bug Tracker
===========
Bugs are tracked on `GitHub Issues
<https://github.com/OCA/intrastat/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.
Credits
=======
Contributors
------------
* Luc De Meyer <luc.demeyer@noviat.com>
Do not contact contributors directly about support or help with technical issues.
Maintainer
----------
.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org
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 http://odoo-community.org.

View File

View File

@@ -0,0 +1,20 @@
# Copyright 2009-2018 Noviat.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Generic Intrastat Product Declaration',
'version': '11.0.1.0.0',
'category': 'Accounting & Finance',
'website': 'https://github.com/OCA/intrastat',
'author': 'Noviat,'
'Odoo Community Association (OCA)',
'license': 'AGPL-3',
'installable': True,
'depends': [
'intrastat_product',
],
'data': [
'security/intrastat_security.xml',
'views/intrastat_product.xml'
],
}

View File

@@ -0,0 +1,22 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * intrastat_product_generic
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \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_product_generic
#: model:ir.actions.act_window,name:intrastat_product_generic.intrastat_product_declaration_action_generic
#: model:ir.ui.menu,name:intrastat_product_generic.intrastat_product_declaration_menu_generic
#: model:res.groups,name:intrastat_product_generic.group_intrastat_product_generic
msgid "Generic Intrastat Product Declaration"
msgstr ""

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
<record id="group_intrastat_product_generic" model="res.groups">
<field name="name">Generic Intrastat Product Declaration</field>
</record>
<record id="base.user_root" model="res.users">
<field eval="[(4, ref('group_intrastat_product_generic'))]" name="groups_id"/>
</record>
</odoo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<odoo>
<record id="intrastat_product_declaration_action_generic" model="ir.actions.act_window">
<field name="name">Generic Intrastat Product Declaration</field>
<field name="res_model">intrastat.product.declaration</field>
<field name="view_mode">tree,form,graph</field>
<field name="context">{'generic_intrastat_product_declaration': 1}</field>
</record>
<menuitem id="intrastat_product_declaration_menu_generic"
parent="intrastat_base.menu_intrastat_base_root"
action="intrastat_product_declaration_action_generic"
groups="group_intrastat_product_generic"/>
</odoo>