From 53b1ff6ed492583e3f27cbe155dfcb0652b95e6f Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Fri, 18 Apr 2014 17:06:43 +0200 Subject: [PATCH] Add module product_disable_quick_create. --- product_disable_quick_create/__init__.py | 22 ++++++++++ product_disable_quick_create/__openerp__.py | 45 +++++++++++++++++++++ product_disable_quick_create/model_data.xml | 38 +++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 product_disable_quick_create/__init__.py create mode 100644 product_disable_quick_create/__openerp__.py create mode 100644 product_disable_quick_create/model_data.xml diff --git a/product_disable_quick_create/__init__.py b/product_disable_quick_create/__init__.py new file mode 100644 index 0000000..58d7937 --- /dev/null +++ b/product_disable_quick_create/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Product Disable Quick Create module for OpenERP +# Copyright (C) 2014 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + diff --git a/product_disable_quick_create/__openerp__.py b/product_disable_quick_create/__openerp__.py new file mode 100644 index 0000000..f5a5327 --- /dev/null +++ b/product_disable_quick_create/__openerp__.py @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Product Disable Quick Create module for OpenERP +# Copyright (C) 2014 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + + +{ + 'name': 'Product Disable Quick Create', + 'version': '0.1', + 'category': 'Products & Pricelists', + 'license': 'AGPL-3', + 'summary': 'Disable quick create a many product-related objects', + 'description': """ +Product Disable Quick Create +============================ + +Disable quick create on many product-related objects. + +Please contact Alexis de Lattre from Akretion for any help or question about this module. + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['product', 'base_optional_quick_create'], + 'data': [ + 'model_data.xml', + ], + 'active': False, +} diff --git a/product_disable_quick_create/model_data.xml b/product_disable_quick_create/model_data.xml new file mode 100644 index 0000000..32d798e --- /dev/null +++ b/product_disable_quick_create/model_data.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +