Skip to content

Commit 30cf2fb

Browse files
committed
Merge PR #275 into 19.0
Signed-off-by pedrobaeza
2 parents 0031ba7 + 2280a8d commit 30cf2fb

40 files changed

+3573
-0
lines changed

product_brand/README.rst

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
5+
=====================
6+
Product Brand Manager
7+
=====================
8+
9+
..
10+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
11+
!! This file is generated by oca-gen-addon-readme !!
12+
!! changes will be overwritten. !!
13+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14+
!! source digest: sha256:e31d8112a71f057de8f15886aa6dceb86933228c550c6b6a2a1ce91b2ed824dd
15+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16+
17+
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
18+
:target: https://odoo-community.org/page/development-status
19+
:alt: Mature
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
21+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
22+
:alt: License: AGPL-3
23+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github
24+
:target: https://github.com/OCA/brand/tree/19.0/product_brand
25+
:alt: OCA/brand
26+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
27+
:target: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-product_brand
28+
:alt: Translate me on Weblate
29+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/brand&target_branch=19.0
31+
:alt: Try me on Runboat
32+
33+
|badge1| |badge2| |badge3| |badge4| |badge5|
34+
35+
This module allows odoo users to easily manage product brands.
36+
37+
**Table of contents**
38+
39+
.. contents::
40+
:local:
41+
42+
Usage
43+
=====
44+
45+
To create a new brand:
46+
47+
1. Go to **Sales > Configuration > Products > Product Brands**.
48+
2. You can set its logo, associate a partner and add a description.
49+
50+
*Note:* You must have the **Sales** addon installed.
51+
52+
To add a product to a brand:
53+
54+
1. Go to the product itself and edit.
55+
2. Below the product's name there is a Brand field where you can pick
56+
the one the product belongs to.
57+
58+
To see the sales report based on brand dimension:
59+
60+
1. Go to **Sales > Reporting > Sales**.
61+
2. There you can **Group by** brand or add it as a dimension in the
62+
pivot view.
63+
64+
To see the invoice report based on brand dimension:
65+
66+
1. Go to **Invoicing > Reporting > Management > Invoice Analysis**.
67+
2. There you can **Group by** brand or add it as a dimension in the
68+
pivot view.
69+
70+
Known issues / Roadmap
71+
======================
72+
73+
- Add a field with brands associated to a Customer or Supplier on the
74+
Customers/Suppliers Form View.
75+
- Fix smart button alignment in brand form view
76+
77+
Bug Tracker
78+
===========
79+
80+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/issues>`_.
81+
In case of trouble, please check there if your issue has already been reported.
82+
If you spotted it first, help us to smash it by providing a detailed and welcomed
83+
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20product_brand%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
84+
85+
Do not contact contributors directly about support or help with technical issues.
86+
87+
Credits
88+
=======
89+
90+
Authors
91+
-------
92+
93+
* NetAndCo
94+
* Akretion
95+
* Prisnet Telecommunications SA
96+
* MONK Software
97+
* SerpentCS Pvt. Ltd.
98+
* Tecnativa
99+
* Kaushal Prajapati
100+
101+
Contributors
102+
------------
103+
104+
- Mathieu Lemercier <mathieu@netandco.net>
105+
- Franck Bret <franck@netandco.net>
106+
- Seraphine Lantible <s.lantible@gmail.com>
107+
- Gunnar Wagner <vrms@netcologne.de>
108+
- Leonardo Donelli <donelli@webmonks.it>
109+
- Serpent Consulting Services Pvt. Ltd. <jay.vora@serpentcs.com>
110+
- Marcelo Pickler <loxamir@gmail.com>
111+
- Andrius Laukavičius <ala@boolit.eu> (Boolit)
112+
- Daniel Campos <danielcampos@avanzosc.es>
113+
- Samir Guesmi <samir.guesmi@acsone.eu>
114+
- `Tecnativa <https://www.tecnativa.com>`__
115+
116+
- David Vidal
117+
- João Marques
118+
119+
- Kaushal Prajapati <kbprajapati@live.com>
120+
- `Jarsa <https://www.jarsa.com>`__
121+
122+
- Alan Ramos
123+
124+
- `NuoBiT Solutions <https://www.nuobit.com>`__
125+
126+
- Eric Antones <eantones@nuobit.com>
127+
128+
- `Trobz <https://trobz.com>`__:
129+
130+
- Thao Le <thaolt@trobz.com>
131+
- Do Anh Duy <duyda@trobz.com>
132+
133+
Other credits
134+
-------------
135+
136+
The migration of this module from 16.0 to 17.0 and then from 17.0 to
137+
18.0 was financially supported by Camptocamp.
138+
139+
Maintainers
140+
-----------
141+
142+
This module is maintained by the OCA.
143+
144+
.. image:: https://odoo-community.org/logo.png
145+
:alt: Odoo Community Association
146+
:target: https://odoo-community.org
147+
148+
OCA, or the Odoo Community Association, is a nonprofit organization whose
149+
mission is to support the collaborative development of Odoo features and
150+
promote its widespread use.
151+
152+
This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/19.0/product_brand>`_ project on GitHub.
153+
154+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

product_brand/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from . import models
2+
from . import reports

product_brand/__manifest__.py

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright 2009 NetAndCo (<http://www.netandco.net>).
2+
# Copyright 2011 Akretion Benoît Guillot <benoit.guillot@akretion.com>
3+
# Copyright 2014 prisnet.ch Seraphine Lantible <s.lantible@gmail.com>
4+
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
5+
# Copyright 2018 Daniel Campos <danielcampos@avanzosc.es>
6+
# Copyright 2018 Tecnativa - David Vidal
7+
# Copyright 2019 Giovanni - GSLabIt
8+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
9+
10+
{
11+
"name": "Product Brand Manager",
12+
"version": "19.0.1.0.0",
13+
"development_status": "Mature",
14+
"category": "Product",
15+
"summary": "Product Brand Manager",
16+
"author": "NetAndCo, Akretion, Prisnet Telecommunications SA, "
17+
"MONK Software, SerpentCS Pvt. Ltd., Tecnativa, Kaushal "
18+
"Prajapati, Odoo Community Association (OCA)",
19+
"website": "https://github.com/OCA/brand",
20+
"license": "AGPL-3",
21+
"depends": ["sale"],
22+
"data": [
23+
"security/ir.model.access.csv",
24+
"views/product_brand_view.xml",
25+
"reports/sale_report_view.xml",
26+
"reports/account_invoice_report_view.xml",
27+
],
28+
"installable": True,
29+
"auto_install": False,
30+
}

product_brand/i18n/ca.po

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * product_brand
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 13.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2020-02-02 21:13+0000\n"
10+
"Last-Translator: eduardgm <eduard.garcia@qubiq.es>\n"
11+
"Language-Team: none\n"
12+
"Language: ca\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 3.10\n"
18+
19+
#. module: product_brand
20+
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_kanban
21+
msgid "Avatar"
22+
msgstr ""
23+
24+
#. module: product_brand
25+
#: model:ir.actions.act_window,name:product_brand.action_product_brand
26+
#: model:ir.model.fields,field_description:product_brand.field_account_invoice_report__product_brand_id
27+
#: model:ir.model.fields,field_description:product_brand.field_product_product__product_brand_id
28+
#: model:ir.model.fields,field_description:product_brand.field_product_template__product_brand_id
29+
#: model:ir.model.fields,field_description:product_brand.field_sale_report__product_brand_id
30+
#: model_terms:ir.ui.view,arch_db:product_brand.product_template_form_brand_add
31+
#: model_terms:ir.ui.view,arch_db:product_brand.view_account_invoice_report_search
32+
#: model_terms:ir.ui.view,arch_db:product_brand.view_order_product_search
33+
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_template_search_brand
34+
msgid "Brand"
35+
msgstr "Marca"
36+
37+
#. module: product_brand
38+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__name
39+
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_form
40+
msgid "Brand Name"
41+
msgstr "Nom de la marca"
42+
43+
#. module: product_brand
44+
#: model:ir.actions.act_window,name:product_brand.action_open_brand_products
45+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__product_ids
46+
msgid "Brand Products"
47+
msgstr "Productes de la marca"
48+
49+
#. module: product_brand
50+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__create_uid
51+
msgid "Created by"
52+
msgstr "Creat per"
53+
54+
#. module: product_brand
55+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__create_date
56+
msgid "Created on"
57+
msgstr "Creat el"
58+
59+
#. module: product_brand
60+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__description
61+
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_form
62+
msgid "Description"
63+
msgstr "Descripció"
64+
65+
#. module: product_brand
66+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__display_name
67+
msgid "Display Name"
68+
msgstr "Nom mostrat"
69+
70+
#. module: product_brand
71+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__id
72+
msgid "ID"
73+
msgstr "ID"
74+
75+
#. module: product_brand
76+
#: model:ir.model,name:product_brand.model_account_invoice_report
77+
msgid "Invoices Statistics"
78+
msgstr "Estadístiques de factures"
79+
80+
#. module: product_brand
81+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__write_uid
82+
msgid "Last Updated by"
83+
msgstr "Última actualització per"
84+
85+
#. module: product_brand
86+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__write_date
87+
msgid "Last Updated on"
88+
msgstr "Última modificació el"
89+
90+
#. module: product_brand
91+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__logo
92+
msgid "Logo File"
93+
msgstr "Logotip"
94+
95+
#. module: product_brand
96+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__products_count
97+
msgid "Number of products"
98+
msgstr "Número de productes"
99+
100+
#. module: product_brand
101+
#: model:ir.model.fields,field_description:product_brand.field_product_brand__partner_id
102+
msgid "Partner"
103+
msgstr "Empresa"
104+
105+
#. module: product_brand
106+
#: model:ir.model,name:product_brand.model_product_template
107+
msgid "Product"
108+
msgstr ""
109+
110+
#. module: product_brand
111+
#: model:ir.actions.act_window,name:product_brand.action_open_single_product_brand
112+
#: model:ir.model,name:product_brand.model_product_brand
113+
#: model_terms:ir.ui.view,arch_db:product_brand.product_brand_search_form_view
114+
msgid "Product Brand"
115+
msgstr "Marca de producte"
116+
117+
#. module: product_brand
118+
#: model:ir.ui.menu,name:product_brand.menu_product_brand
119+
msgid "Product Brands"
120+
msgstr "Marques de producte"
121+
122+
#. module: product_brand
123+
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_form
124+
#: model_terms:ir.ui.view,arch_db:product_brand.view_product_brand_kanban
125+
msgid "Products"
126+
msgstr "Productes"
127+
128+
#. module: product_brand
129+
#: model:ir.model,name:product_brand.model_sale_report
130+
msgid "Sales Analysis Report"
131+
msgstr "Anàlisis de Ventes"
132+
133+
#. module: product_brand
134+
#: model:ir.model.fields,help:product_brand.field_product_product__product_brand_id
135+
#: model:ir.model.fields,help:product_brand.field_product_template__product_brand_id
136+
msgid "Select a brand for this product"
137+
msgstr "Seleccioni una marca per aquest producte"
138+
139+
#. module: product_brand
140+
#: model:ir.model.fields,help:product_brand.field_product_brand__partner_id
141+
msgid "Select a partner for this brand if any."
142+
msgstr "Seleccioni una empresa per aquesta marca si hi ha."
143+
144+
#~ msgid "Logo"
145+
#~ msgstr "Logotip"
146+
147+
#~ msgid "Last Modified on"
148+
#~ msgstr "Última modificació el"
149+
150+
#~ msgid "Product Template"
151+
#~ msgstr "Plantilla de producte"
152+
153+
#~ msgid "product.brand"
154+
#~ msgstr "product.brand"

0 commit comments

Comments
 (0)