Skip to content

Commit

Permalink
Merge PR #184 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by gurneyalex
  • Loading branch information
OCA-git-bot committed Dec 7, 2023
2 parents a9e6e36 + 70b15d6 commit 93e1dfc
Show file tree
Hide file tree
Showing 40 changed files with 3,569 additions and 0 deletions.
148 changes: 148 additions & 0 deletions product_brand/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
=====================
Product Brand Manager
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:24090b5b053ab0f7be3c186a742088619f15b740257c233b7a0b3fc2195b3808
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
:alt: Mature
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github
:target: https://github.com/OCA/brand/tree/17.0/product_brand
:alt: OCA/brand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/brand-17-0/brand-17-0-product_brand
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/brand&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows odoo users to easily manage product brands.

**Table of contents**

.. contents::
:local:

Usage
=====

To create a new brand:

1. Go to **Sales > Configuration > Products > Product Brands**.
2. You can set its logo, associate a partner and add a description.

*Note:* You must have the **Sales** addon installed.

To add a product to a brand:

1. Go to the product itself and edit.
2. Below the product's name there is a Brand field where you can pick
the one the product belongs to.

To see the sales report based on brand dimension:

1. Go to **Sales > Reporting > Sales**.
2. There you can **Group by** brand or add it as a dimension in the
pivot view.

To see the invoice report based on brand dimension:

1. Go to **Invoicing > Reporting > Management > Invoice Analysis**.
2. There you can **Group by** brand or add it as a dimension in the
pivot view.

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

- Add a field with brands associated to a Customer or Supplier on the
Customers/Suppliers Form View.
- Fix smart button alignment in brand form view

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20product_brand%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* NetAndCo
* Akretion
* Prisnet Telecommunications SA
* MONK Software
* SerpentCS Pvt. Ltd.
* Tecnativa
* Kaushal Prajapati

Contributors
------------

- Mathieu Lemercier <[email protected]>
- Franck Bret <[email protected]>
- Seraphine Lantible <[email protected]>
- Gunnar Wagner <[email protected]>
- Leonardo Donelli <[email protected]>
- Serpent Consulting Services Pvt. Ltd. <[email protected]>
- Marcelo Pickler <[email protected]>
- Andrius Laukavičius <[email protected]> (Boolit)
- Daniel Campos <[email protected]>
- `Tecnativa <https://www.tecnativa.com>`__

- David Vidal
- João Marques

- Kaushal Prajapati <[email protected]>
- `Jarsa <https://www.jarsa.com>`__

- Alan Ramos

- `NuoBiT Solutions <https://www.nuobit.com>`__

- Eric Antones <[email protected]>

- `Trobz <https://trobz.com>`__:

- Thao Le <[email protected]>

Other credits
-------------

The migration of this module from 16.0 to 17.0 was financially supported
by Camptocamp.

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/17.0/product_brand>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions product_brand/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import reports
30 changes: 30 additions & 0 deletions product_brand/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2009 NetAndCo (<http://www.netandco.net>).
# Copyright 2011 Akretion Benoît Guillot <[email protected]>
# Copyright 2014 prisnet.ch Seraphine Lantible <[email protected]>
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
# Copyright 2018 Daniel Campos <[email protected]>
# Copyright 2018 Tecnativa - David Vidal
# Copyright 2019 Giovanni - GSLabIt
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Product Brand Manager",
"version": "17.0.1.0.0",
"development_status": "Mature",
"category": "Product",
"summary": "Product Brand Manager",
"author": "NetAndCo, Akretion, Prisnet Telecommunications SA, "
"MONK Software, SerpentCS Pvt. Ltd., Tecnativa, Kaushal "
"Prajapati, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/brand",
"license": "AGPL-3",
"depends": ["sale"],
"data": [
"security/ir.model.access.csv",
"views/product_brand_view.xml",
"reports/sale_report_view.xml",
"reports/account_invoice_report_view.xml",
],
"installable": True,
"auto_install": False,
}
153 changes: 153 additions & 0 deletions product_brand/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * product_brand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-02-02 21:13+0000\n"
"Last-Translator: eduardgm <[email protected]>\n"
"Language-Team: none\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"

#. module: product_brand
#: model:ir.actions.act_window,name:product_brand.action_product_brand
#: model:ir.model.fields,field_description:product_brand.field_account_invoice_report__product_brand_id
#: model:ir.model.fields,field_description:product_brand.field_product_product__product_brand_id
#: model:ir.model.fields,field_description:product_brand.field_product_template__product_brand_id
#: model:ir.model.fields,field_description:product_brand.field_sale_report__product_brand_id
#: model_terms:ir.ui.view,arch_db:product_brand.product_template_form_brand_add
#: model_terms:ir.ui.view,arch_db:product_brand.view_account_invoice_report_search
#: model_terms:ir.ui.view,arch_db:product_brand.view_order_product_search
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_template_search_brand
msgid "Brand"
msgstr "Marca"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__name
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_form
msgid "Brand Name"
msgstr "Nom de la marca"

#. module: product_brand
#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
#: model:ir.model.fields,field_description:product_brand.field_product_brand__product_ids
msgid "Brand Products"
msgstr "Productes de la marca"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__create_uid
msgid "Created by"
msgstr "Creat per"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__create_date
msgid "Created on"
msgstr "Creat el"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__description
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_form
msgid "Description"
msgstr "Descripció"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__display_name
msgid "Display Name"
msgstr "Nom mostrat"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__id
msgid "ID"
msgstr "ID"

#. module: product_brand
#: model:ir.model,name:product_brand.model_account_invoice_report
msgid "Invoices Statistics"
msgstr "Estadístiques de factures"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand____last_update
msgid "Last Modified on"
msgstr "Última modificació el"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__write_uid
msgid "Last Updated by"
msgstr "Última actualització per"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__write_date
msgid "Last Updated on"
msgstr "Última modificació el"

#. module: product_brand
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_kanban
msgid "Logo"
msgstr "Logotip"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__logo
msgid "Logo File"
msgstr "Logotip"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__products_count
msgid "Number of products"
msgstr "Número de productes"

#. module: product_brand
#: model:ir.model.fields,field_description:product_brand.field_product_brand__partner_id
msgid "Partner"
msgstr "Empresa"

#. module: product_brand
#: model:ir.model,name:product_brand.model_product_template
msgid "Product"
msgstr ""

#. module: product_brand
#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
#: model:ir.model,name:product_brand.model_product_brand
#: model_terms:ir.ui.view,arch_db:product_brand.product_brand_search_form_view
msgid "Product Brand"
msgstr "Marca de producte"

#. module: product_brand
#: model:ir.ui.menu,name:product_brand.menu_product_brand
msgid "Product Brands"
msgstr "Marques de producte"

#. module: product_brand
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_form
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_kanban
msgid "Products"
msgstr "Productes"

#. module: product_brand
#: model:ir.model,name:product_brand.model_sale_report
msgid "Sales Analysis Report"
msgstr "Anàlisis de Ventes"

#. module: product_brand
#: model:ir.model.fields,help:product_brand.field_product_product__product_brand_id
#: model:ir.model.fields,help:product_brand.field_product_template__product_brand_id
msgid "Select a brand for this product"
msgstr "Seleccioni una marca per aquest producte"

#. module: product_brand
#: model:ir.model.fields,help:product_brand.field_product_brand__partner_id
msgid "Select a partner for this brand if any."
msgstr "Seleccioni una empresa per aquesta marca si hi ha."

#~ msgid "Product Template"
#~ msgstr "Plantilla de producte"

#~ msgid "product.brand"
#~ msgstr "product.brand"
Loading

0 comments on commit 93e1dfc

Please sign in to comment.