Skip to content

Commit

Permalink
[IMP] product_brand: Move menu
Browse files Browse the repository at this point in the history
  • Loading branch information
chienandalu committed Aug 14, 2017
1 parent 8a133b1 commit b96b9ed
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 115 deletions.
32 changes: 15 additions & 17 deletions product_brand/README.rst
Expand Up @@ -14,40 +14,35 @@ This module introduce the following features:

* It also allows to attach a partner to a brand.

Installation
=============

No external library is used.

Configuration
=============

No configuration is required.
- From Sales, Purchases or Inventory go to *Configuration > Products > Product
Brands* and start adding brands.

Usage
=====

- Edit any product form and set its brand.

For further information, please visit:

* https://www.odoo.com/forum/help-1
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/135/9.0

Known issues / Roadmap
======================

* Add a field with brands assiciated to a Customer or Supplier on
* Add a field with brands assiciated to a Customer or Supplier on
the Customers/Suppliers Form View.


Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/product-attribute/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/product-attribute/issues/new?body=module:%20product_brand%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

help us smash it by providing detailed and welcomed feedback.

Credits
=======
Expand All @@ -66,16 +61,19 @@ Contributors
* Gunnar Wagner <vrms@netcologne.de>
* Leonardo Donelli <donelli@webmonks.it>
* Serpent Consulting Services Pvt. Ltd. <jay.vora@serpentcs.com>
* David Vidal <david.vidal@tecnativa.com>

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.

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.
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.
24 changes: 14 additions & 10 deletions product_brand/__openerp__.py
@@ -1,19 +1,23 @@
# -*- coding: utf-8 -*-
# © 2009 NetAndCo (<http://www.netandco.net>).
# © 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>
# © 2014 prisnet.ch Seraphine Lantible <s.lantible@gmail.com>
# © 2016-Today Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# Copyright 2009 NetAndCo (<http://www.netandco.net>).
# Copyright 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>
# Copyright 2014 prisnet.ch Seraphine Lantible <s.lantible@gmail.com>
# Copyright 2016 SerpentCS Pvt. Ltd. <http://www.serpentcs.com>
# Copyright 2017 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

{
'name': 'Product Brand Manager',
'version': '9.0.1.0.0',
'version': '9.0.1.1.0',
'category': 'Product',
'summary': "Product Brand Manager",
'author': 'NetAndCo, Akretion, Prisnet Telecommunications SA'
', MONK Software, Odoo Community Association (OCA)'
', SerpentCS Pvt. Ltd.',
'summary': 'Product Brand Manager',
'author': 'NetAndCo, '
'Akretion, '
'Prisnet Telecommunications SA, '
'MONK Software, '
'SerpentCS Pvt. Ltd., '
'Odoo Community Association (OCA)',
'website': 'https://odoo-community.org/',
'license': 'AGPL-3',
'depends': ['product'],
'data': [
Expand Down
82 changes: 0 additions & 82 deletions product_brand/i18n/product_brand.pot

This file was deleted.

9 changes: 4 additions & 5 deletions product_brand/models/product_brand.py
@@ -1,9 +1,8 @@
# -*- coding: utf-8 -*-
# © 2009 NetAndCo (<http://www.netandco.net>).
# © 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>
# © 2014 prisnet.ch Seraphine Lantible <s.lantible@gmail.com>
# © 2016-Today Serpent Consulting Services Pvt. Ltd.
# (<http://www.serpentcs.com>)
# Copyright 2009 NetAndCo (<http://www.netandco.net>).
# Copyright 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>
# Copyright 2014 prisnet.ch Seraphine Lantible <s.lantible@gmail.com>
# Copyright 2016 SerpentCS Pvt. Ltd. <http://www.serpentcs.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

from openerp import api, fields, models
Expand Down
7 changes: 6 additions & 1 deletion product_brand/views/product_brand_view.xml
Expand Up @@ -201,13 +201,18 @@
<field name="res_model">product.brand</field>
<field name="view_type">form</field>
<field name="view_mode">kanban,form,tree</field>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Create a Product Brand.
</p>
</field>
</record>

<menuitem
name="Product Brands"
id="menu_product_brand"
action="action_product_brand"
parent="base.menu_product"/>
parent="product.prod_config_main"/>

</data>
</openerp>

0 comments on commit b96b9ed

Please sign in to comment.