From 51c3b7baebc655058d4b17d89742f6dfbf43a6ee Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Wed, 7 Dec 2016 15:30:10 +0100 Subject: [PATCH] Port account_partner_required to odoo 10 Add technical module account_type_menu --- account_type_menu/README.rst | 47 ++++++++++++++++++++++++ account_type_menu/__init__.py | 1 + account_type_menu/__manifest__.py | 17 +++++++++ account_type_menu/views/account_type.xml | 9 +++++ 4 files changed, 74 insertions(+) create mode 100644 account_type_menu/README.rst create mode 100644 account_type_menu/__init__.py create mode 100644 account_type_menu/__manifest__.py create mode 100644 account_type_menu/views/account_type.xml diff --git a/account_type_menu/README.rst b/account_type_menu/README.rst new file mode 100644 index 000000000..af5498ed0 --- /dev/null +++ b/account_type_menu/README.rst @@ -0,0 +1,47 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +================== +Account Types Menu +================== + +This module adds a menu entry *Account Type* under *Accounting > Configuration > Accounting*, because this menu entry doesn't exists in the official *account* module of Odoo 10. + +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/92/10.0 + +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. + +Credits +======= + +Contributors +------------ + +* Alexis de Lattre + +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 https://odoo-community.org. diff --git a/account_type_menu/__init__.py b/account_type_menu/__init__.py new file mode 100644 index 000000000..40a96afc6 --- /dev/null +++ b/account_type_menu/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/account_type_menu/__manifest__.py b/account_type_menu/__manifest__.py new file mode 100644 index 000000000..ab8d336ef --- /dev/null +++ b/account_type_menu/__manifest__.py @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- +# © 2016 Akretion (http://www.akretion.com/) +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Account Types Menu', + 'version': '10.0.1.0.0', + 'category': 'Accounting', + 'license': 'AGPL-3', + 'summary': "Adds a menu entry for Account Types", + 'author': "Akretion,Odoo Community Association (OCA)", + 'website': 'http://www.akretion.com/', + 'depends': ['account'], + 'data': ['views/account_type.xml'], + 'installable': True, +} diff --git a/account_type_menu/views/account_type.xml b/account_type_menu/views/account_type.xml new file mode 100644 index 000000000..4a9d4828f --- /dev/null +++ b/account_type_menu/views/account_type.xml @@ -0,0 +1,9 @@ + + + + + +