diff --git a/product_brand/__init__.py b/product_brand/__init__.py deleted file mode 100644 index 7055491f5..000000000 --- a/product_brand/__init__.py +++ /dev/null @@ -1,27 +0,0 @@ -# -*- encoding: utf-8 -*- -################################################################################# -# # -# product_brand for OpenERP # -# Copyright (C) 2009 NetAndCo (). # -# Authors, Mathieu Lemercier, mathieu@netandco.net, # -# Franck Bret, franck@netandco.net # -# Copyright (C) 2011 Akretion Benoît Guillot # -# # -# 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 . # -# # -################################################################################# -################################################################################### -# Product Brand is an Openobject module wich enable Brand management for products # -################################################################################### -from . import product_brand diff --git a/product_brand/__openerp__.py b/product_brand/__openerp__.py deleted file mode 100644 index 666dcfff0..000000000 --- a/product_brand/__openerp__.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- encoding: utf-8 -*- -################################################################################# -# # -# product_brand for OpenERP # -# Copyright (C) 2009 NetAndCo (). # -# Authors, Mathieu Lemercier, mathieu@netandco.net, # -# Franck Bret, franck@netandco.net # -# Copyright (C) 2011 Akretion Benoît Guillot # -# # -# 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 . # -# # -################################################################################# -################################################################################### -# Product Brand is an Openobject module wich enable Brand management for products # -################################################################################### -{ - 'name': 'Product Brand Manager', - 'version': '0.1', - 'category': 'Product', - 'description': """ -Product Brand Manager -===================== - -This module allows your user to easily manage product brands. You can -define brands, attach a logo and a description to them. It also allows to -attach a partner to a brand. Once installed, check the menu -Product/configuration/brand - -To do / To come: - -- A view to seeing products by brand. - - """, - 'author': 'NetAndCo', - 'website': 'http://ww.netandco.net', - 'depends': ['product'], - 'data': [ - 'product_brand_view.xml', - 'security/ir.model.access.csv' - ], - 'installable': True, -} diff --git a/product_brand/i18n/fr.po b/product_brand/i18n/fr.po deleted file mode 100644 index e5b244d75..000000000 --- a/product_brand/i18n/fr.po +++ /dev/null @@ -1,82 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_brand -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-03-14 12:55+0000\n" -"PO-Revision-Date: 2014-04-08 17:33+0000\n" -"Last-Translator: Guewen Baconnier @ Camptocamp \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" -"X-Generator: Launchpad (build 17007)\n" - -#. module: product_brand -#: model:ir.model,name:product_brand.model_product_brand -#: view:product.brand:0 -msgid "product.brand" -msgstr "product.brand" - -#. module: product_brand -#: model:ir.model,name:product_brand.model_product_template -msgid "Product Template" -msgstr "Modèle de produit" - -#. module: product_brand -#: model:ir.ui.menu,name:product_brand.menu_product_brand -msgid "Brand management" -msgstr "Gestion des marques" - -#. module: product_brand -#: view:product.brand:0 -#: field:product.brand,description:0 -msgid "Description" -msgstr "Description" - -#. module: product_brand -#: view:product.brand:0 -#: field:product.brand,name:0 -msgid "Brand Name" -msgstr "Marque" - -#. module: product_brand -#: view:product.brand:0 -msgid "Product Brand" -msgstr "Marque d'article" - -#. module: product_brand -#: field:product.brand,logo:0 -msgid "Logo File" -msgstr "Logo" - -#. module: product_brand -#: model:ir.actions.act_window,name:product_brand.action_product_brand -#: view:product.product:0 -#: field:product.template,product_brand_id:0 -msgid "Brand" -msgstr "Marque" - -#. module: product_brand -#: help:product.brand,partner_id:0 -msgid "Select a partner for this brand if it exists." -msgstr "Sélectionnez un partenaire pour cette marque." - -#. module: product_brand -#: view:product.product:0 -msgid "Group by..." -msgstr "Regrouper par..." - -#. module: product_brand -#: field:product.brand,partner_id:0 -msgid "partner" -msgstr "Partenaire" - -#. module: product_brand -#: help:product.template,product_brand_id:0 -msgid "Select a brand for this product." -msgstr "Sélectionnez une marque pour ce produit." diff --git a/product_brand/i18n/fr_FR.po b/product_brand/i18n/fr_FR.po deleted file mode 100644 index 9f9d41af9..000000000 --- a/product_brand/i18n/fr_FR.po +++ /dev/null @@ -1,82 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_brand -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 5.0.7\n" -"Report-Msgid-Bugs-To: support@openerp.com\n" -"POT-Creation-Date: 2014-03-14 12:55+0000\n" -"PO-Revision-Date: 2014-03-11 12:42+0000\n" -"Last-Translator: Graeme Gellatly \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Launchpad-Export-Date: 2014-05-17 07:08+0000\n" -"X-Generator: Launchpad (build 17007)\n" - -#. module: product_brand -#: model:ir.model,name:product_brand.model_product_brand -#: view:product.brand:0 -msgid "product.brand" -msgstr "" - -#. module: product_brand -#: model:ir.model,name:product_brand.model_product_template -msgid "Product Template" -msgstr "" - -#. module: product_brand -#: model:ir.ui.menu,name:product_brand.menu_product_brand -msgid "Brand management" -msgstr "Gestion des marques" - -#. module: product_brand -#: view:product.brand:0 -#: field:product.brand,description:0 -msgid "Description" -msgstr "Description" - -#. module: product_brand -#: view:product.brand:0 -#: field:product.brand,name:0 -msgid "Brand Name" -msgstr "Marque" - -#. module: product_brand -#: view:product.brand:0 -msgid "Product Brand" -msgstr "" - -#. module: product_brand -#: field:product.brand,logo:0 -msgid "Logo File" -msgstr "" - -#. module: product_brand -#: model:ir.actions.act_window,name:product_brand.action_product_brand -#: view:product.product:0 -#: field:product.template,product_brand_id:0 -msgid "Brand" -msgstr "Marque" - -#. module: product_brand -#: help:product.brand,partner_id:0 -msgid "Select a partner for this brand if it exists." -msgstr "" - -#. module: product_brand -#: view:product.product:0 -msgid "Group by..." -msgstr "" - -#. module: product_brand -#: field:product.brand,partner_id:0 -msgid "partner" -msgstr "Partenaire" - -#. module: product_brand -#: help:product.template,product_brand_id:0 -msgid "Select a brand for this product." -msgstr "" diff --git a/product_brand/i18n/product_brand.pot b/product_brand/i18n/product_brand.pot deleted file mode 100644 index 9dddf3599..000000000 --- a/product_brand/i18n/product_brand.pot +++ /dev/null @@ -1,82 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# * product_brand -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-03-14 12:55+0000\n" -"PO-Revision-Date: 2014-03-14 12:55+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: product_brand -#: model:ir.model,name:product_brand.model_product_brand -#: view:product.brand:0 -msgid "product.brand" -msgstr "" - -#. module: product_brand -#: model:ir.model,name:product_brand.model_product_template -msgid "Product Template" -msgstr "" - -#. module: product_brand -#: model:ir.ui.menu,name:product_brand.menu_product_brand -msgid "Brand management" -msgstr "" - -#. module: product_brand -#: view:product.brand:0 -#: field:product.brand,description:0 -msgid "Description" -msgstr "" - -#. module: product_brand -#: view:product.brand:0 -#: field:product.brand,name:0 -msgid "Brand Name" -msgstr "" - -#. module: product_brand -#: view:product.brand:0 -msgid "Product Brand" -msgstr "" - -#. module: product_brand -#: field:product.brand,logo:0 -msgid "Logo File" -msgstr "" - -#. module: product_brand -#: model:ir.actions.act_window,name:product_brand.action_product_brand -#: view:product.product:0 -#: field:product.template,product_brand_id:0 -msgid "Brand" -msgstr "" - -#. module: product_brand -#: help:product.brand,partner_id:0 -msgid "Select a partner for this brand if it exists." -msgstr "" - -#. module: product_brand -#: view:product.product:0 -msgid "Group by..." -msgstr "" - -#. module: product_brand -#: field:product.brand,partner_id:0 -msgid "partner" -msgstr "" - -#. module: product_brand -#: help:product.template,product_brand_id:0 -msgid "Select a brand for this product." -msgstr "" - diff --git a/product_brand/product_brand.py b/product_brand/product_brand.py deleted file mode 100644 index 9e3c7f9f9..000000000 --- a/product_brand/product_brand.py +++ /dev/null @@ -1,49 +0,0 @@ -# -*- encoding: utf-8 -*- -################################################################################# -# # -# product_brand for OpenERP # -# Copyright (C) 2009 NetAndCo (). # -# Authors, Mathieu Lemercier, mathieu@netandco.net, # -# Franck Bret, franck@netandco.net # -# Copyright (C) 2011 Akretion Benoît Guillot # -# # -# 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 . # -# # -################################################################################# -from openerp.osv import orm, fields - - -class product_brand(orm.Model): - _name = 'product.brand' - _columns = { - 'name': fields.char('Brand Name'), - 'description': fields.text('Description', translate=True), - 'partner_id': fields.many2one( - 'res.partner', - 'partner', - help='Select a partner for this brand if it exists.', - ondelete='restrict'), - 'logo': fields.binary('Logo File') - } - - -class product_template(orm.Model): - _inherit = 'product.template' - _columns = { - 'product_brand_id': fields.many2one( - 'product.brand', - 'Brand', - help='Select a brand for this product.', - ondelete='restrict') - } diff --git a/product_brand/product_brand_view.xml b/product_brand/product_brand_view.xml deleted file mode 100644 index 66a23ec35..000000000 --- a/product_brand/product_brand_view.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - product.brand.search.form - product.brand - - - - - - - - - - product.brand.form - product.brand - -
- - -
-
-
-

- -

-
- - - - - - -
-
-
-
- - - product.brand.tree - product.brand - - - - - - - - - - - product.search.form - product.product - - - - - - - - - - - - - product.normal.form - product.product - - -
-
-
-
- - - product.template.product.form - product.template - - - - - - - - - - Brand - product.brand - form - tree,form - - - -
-
diff --git a/product_brand/security/ir.model.access.csv b/product_brand/security/ir.model.access.csv deleted file mode 100644 index 892147b47..000000000 --- a/product_brand/security/ir.model.access.csv +++ /dev/null @@ -1,2 +0,0 @@ -"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" -"access_product_brand_product_manager","product.brand","model_product_brand","base.group_partner_manager",1,1,1,1