Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] product_brand: Migration to 18.0 #215

Merged
merged 74 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
6dd2f5a
[INIT] init module product_brand extract from trunk-addons-community.…
bguillot Mar 27, 2012
c1a0756
migration of product_brand for version 7.0
guewen Mar 14, 2014
2b374ad
Launchpad automatic translations update.
Apr 9, 2014
e12c133
Set all addons to uninstallable and move them into __unported__ folder
Jul 9, 2014
38ba583
portation of product_brand to 8.0
willArrive Dec 14, 2014
fd8b4c3
[IMP]product_brand: Several improvements
LeartS Feb 17, 2015
d6c50e3
[MIG] product_brand :Updated module as per v9
JayVora-SerpentCS Jan 20, 2016
1254a52
[MIG][10.0] product_brand (#191)
loxamir Dec 28, 2016
da17a93
Update product_brand.py
andreampiovesana Feb 27, 2017
fdddbbf
[IMP] product_brand: update form view for 10.0
Jun 27, 2017
fc7248a
[MIG] : Migration to 11.0 + Test
Mar 6, 2018
1921291
[FIX] product_brand: Don't format the ID (#355)
May 30, 2018
0bccd60
remove obsolete .pot files [ci skip]
sbidoul Jun 15, 2018
de4229c
[IMP] product_branch: Order brands by name
pedrobaeza Jul 2, 2018
b1dd282
product_brand: complete fr translation
Jul 6, 2018
3fedece
Translated using Weblate (German)
Aug 26, 2018
5227fb1
[MIG] Merge product_brand_sale_report into product_brand
chienandalu Jul 12, 2018
ae95556
[MIG] Merge product_brand_invoice_report into product_brand
chienandalu Sep 26, 2018
5739b18
[IMP] product_brand: Make the kanban card of product.brand consistent…
ddufresne Oct 12, 2018
5447a20
[MIG] product_brand to 12.0
ThomasBinsfeld Oct 2, 2018
9a48ce3
[MIG] product_pricelist_direct_print: Migration to 12.0
alexey-pelykh Dec 4, 2018
36a982d
Translated using Weblate (Spanish)
mvrodriguez Feb 8, 2019
eeb5564
Added translation using Weblate (Norwegian Bokmål)
willmakenoise Feb 11, 2019
95e7d12
[12.0] [FIX] Patch product_brand (#433)
willmakenoise Feb 11, 2019
624f6d6
Translated using Weblate (Norwegian Bokmål)
willmakenoise Feb 11, 2019
5835f39
Translated using Weblate (Norwegian Bokmål)
willmakenoise Feb 11, 2019
ef0190e
Translated using Weblate (Dutch)
Apr 16, 2019
5201a85
[IMP] product_brand: save logo as attachment (#493)
GSLabIt Jul 15, 2019
be6ac4d
[MIG][13.0] product_brand
smurf-U Oct 16, 2019
5b5ed64
Added translation using Weblate (Portuguese (Brazil))
mileo Nov 25, 2019
bbb6a15
Translated using Weblate (Portuguese (Brazil))
mileo Nov 25, 2019
46b1197
Added translation using Weblate (Catalan)
eduardgm Feb 2, 2020
582a0c2
Translated using Weblate (Catalan)
eduardgm Feb 2, 2020
9044bfa
[FIX] product_brand: Fix repo URL
pedrobaeza Feb 27, 2020
586f46f
perf optimization to prevent loading all products
Rad0van Sep 18, 2020
408ea8c
[MIG] product_brand: Migration to 14.0
joao-p-marques Dec 18, 2020
cf773fd
product_brand: name groups in form view
simahawk Jun 22, 2021
912aff7
product_brand 14.0.1.0.1
OCA-git-bot Jun 22, 2021
72657d0
product_brand: add base test class
simahawk Jun 22, 2021
62af58e
[IMP] improve UI add notebook
sebastienbeau Oct 6, 2021
14a6fff
product_brand 14.0.1.1.0
OCA-git-bot Oct 6, 2021
fe3cbf3
Added translation using Weblate (Dutch)
Oct 25, 2021
cde9052
Translated using Weblate (Dutch)
Oct 25, 2021
475e11c
[MIG] product_brand: Migration to 15.0
alan196 Nov 29, 2021
2bfc57d
Added translation using Weblate (Polish)
jacekmichalski Jul 22, 2022
f22db48
Translated using Weblate (Polish)
jacekmichalski Jul 22, 2022
b992907
Added translation using Weblate (Spanish (Argentina))
ibuioli Sep 5, 2022
51798fc
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 5, 2022
33d5172
[MIG] product_brand: Migration to 16.0
marielejeune Sep 16, 2022
6c27142
Translated using Weblate (Croatian)
badbole Jan 6, 2023
2a8fd54
[FIX] product_brand: Error getting sale data when pos_sale module is …
eantones Dec 22, 2022
69d2216
product_brand 16.0.1.0.1
OCA-git-bot Jan 31, 2023
0256756
Translated using Weblate (Italian)
francesco-ooops Feb 3, 2023
6c93483
Translated using Weblate (Slovenian)
sysadminmatmoz Apr 11, 2023
423723c
Translated using Weblate (Italian)
mymage Apr 17, 2023
29c5c9c
Translated using Weblate (Italian)
mymage Jun 8, 2023
efed617
Translated using Weblate (Spanish (Argentina))
ibuioli Jun 25, 2023
58c6246
Translated using Weblate (Spanish)
Ivorra78 Jul 29, 2023
d3813ad
Added translation using Weblate (Portuguese)
pedrocs-exo Oct 12, 2023
f404d62
Translated using Weblate (Portuguese)
pedrocs-exo Oct 12, 2023
fea06f7
[IMP] product_brand: test performance improvement
josep-tecnativa Oct 17, 2023
1b3bde5
[BOT] post-merge updates
OCA-git-bot Oct 19, 2023
02936e9
[IMP] product_brand: pre-commit auto fixes
thaolt99 Nov 30, 2023
edcb56a
[MIG] product_brand: Migration to 17.0
thaolt99 Nov 30, 2023
6385b6e
[BOT] post-merge updates
OCA-git-bot Dec 7, 2023
ec8e0a7
Translated using Weblate (Italian)
mymage Feb 4, 2024
bd0f8e9
[FIX] product_brand: use active_id instead of id in the domain field
celm1990 May 11, 2024
e27e0c3
Translated using Weblate (Portuguese (Brazil))
May 17, 2024
7a5939e
[FIX] product_brand: Rule product.brand.public has no group
randall-vx Jul 11, 2024
46ff80c
[BOT] post-merge updates
OCA-git-bot Jul 12, 2024
546bf79
[IMP] Remove global ACL and specify explicit routes for each line.
lef-adhoc Feb 9, 2024
6d80a22
[BOT] post-merge updates
OCA-git-bot Jul 20, 2024
7661885
[BOT] post-merge updates
OCA-git-bot Sep 8, 2024
bbe4c52
[MIG] product_brand: Migration to 18.0
Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
150 changes: 150 additions & 0 deletions product_brand/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
=====================
Product Brand Manager
=====================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a7a9c5429fcfddf3b8fb5b4a07cb7eb47f5ec2d96769b0f4e71129041ea91ea5
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/18.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-18-0/brand-18-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=18.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:%2018.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]>
- Samir Guesmi <[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]>
- Do Anh Duy <[email protected]>

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

The migration of this module from 16.0 to 17.0 and then from 17.0 to
18.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/18.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": "18.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,
}
151 changes: 151 additions & 0 deletions product_brand/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# 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__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 "Last Modified on"
#~ msgstr "Última modificació el"

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

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