Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ce4eff7
[ADD] - Add analytic brand module
sbejaoui Dec 30, 2019
e7bae0c
[ADD] - Add analytic_account_id field
sbejaoui Dec 30, 2019
0284077
[IMP] - set the invoice line analytic account at brand change
sbejaoui Dec 30, 2019
b77dbf1
[UPD] Update analytic_brand.pot
oca-travis Oct 23, 2020
e07dc6a
analytic_brand 12.0.1.0.1
OCA-git-bot Oct 23, 2020
5025d87
[MIG] - migration analytic_brand 13.0
sbejaoui Oct 23, 2020
087fddb
[UPD] Update analytic_brand.pot
oca-travis Oct 24, 2020
e4e0250
[MIG][14.0] Migarted analytic_brand module.
AmmarOfficewalaSerpentCS Jun 2, 2021
4501363
[15.0][MIG] - analytic_brand
sbejaoui Mar 17, 2022
a668717
[UPD] Update analytic_brand.pot
Mar 18, 2022
0c96617
[UPD] README.rst
OCA-git-bot Mar 18, 2022
1166068
[FIX] brand view in analytic_brand
BT-tkarpinski Jan 13, 2023
a37c225
analytic_brand 15.0.1.0.1
OCA-git-bot Jan 26, 2023
17df973
[UPD] README.rst
OCA-git-bot Sep 4, 2023
c57181d
Added translation using Weblate (Spanish)
Ivorra78 Feb 28, 2024
9f871dc
Translated using Weblate (Spanish)
Ivorra78 Feb 28, 2024
49ee721
[IMP] analytic_brand: black, isort, prettier
JasminSForgeFlow Jun 24, 2024
e25dab1
[MIG] analytic_brand: Migration to 17.0
JasminSForgeFlow Jun 24, 2024
dfdcac7
[UPD] Update analytic_brand.pot
Jan 1, 2025
db65069
[BOT] post-merge updates
OCA-git-bot Jan 1, 2025
24836a2
Added translation using Weblate (Italian)
mymage Jan 2, 2025
c6a85e6
Translated using Weblate (Italian)
mymage Jan 2, 2025
7459626
[MIG] analytic_brand: Migration to 18.0
BhaveshHeliconia Feb 11, 2025
0c14572
[CHG] analytic_brand: replace analytic account by analytic distribution
marielejeune Apr 15, 2025
ad4008d
[UPD] Update analytic_brand.pot
Apr 24, 2025
189ad32
[BOT] post-merge updates
OCA-git-bot Apr 24, 2025
97f0808
[FIX] analytic_brand: Run tests in post-install:
marielejeune Jun 3, 2025
30bc55f
[UPD] Update analytic_brand.pot
Jul 29, 2025
e7b2eba
[BOT] post-merge updates
OCA-git-bot Jul 29, 2025
dd07446
Update translation files
weblate Jul 29, 2025
3440778
Translated using Weblate (Italian)
mymage Jul 30, 2025
520cfa0
Translated using Weblate (Spanish)
MRomeera Aug 7, 2025
d5357e5
[IMP] analytic_brand: pre-commit auto fixes
bizzappdev Oct 3, 2025
0738d7f
[MIG] analytic_brand: Migration to 19.0
bizzappdev Oct 3, 2025
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
96 changes: 96 additions & 0 deletions analytic_brand/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==============
Analytic Brand
==============

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-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/19.0/analytic_brand
:alt: OCA/brand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/brand-19-0/brand-19-0-analytic_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=19.0
:alt: Try me on Runboat

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

This addon associate an analytic distribution to a brand that will be
used as a default value where the brand is used if the analytic
accounting is activated.

**Table of contents**

.. contents::
:local:

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:%20analytic_brand%0Aversion:%2019.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
-------

* ACSONE SA/NV

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

- Souheil Bejaoui <souheil.bejaoui@acsone.eu>
- Ammar Officewala <aofficewala@opensourceintegrators.com>
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

- Marie Lejeune <marie.lejeune@acsone.eu/>

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.

.. |maintainer-sbejaoui| image:: https://github.com/sbejaoui.png?size=40px
:target: https://github.com/sbejaoui
:alt: sbejaoui

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-sbejaoui|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions analytic_brand/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
21 changes: 21 additions & 0 deletions analytic_brand/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2019 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Analytic Brand",
"summary": """
This addon associate an analytic account to a brand that will be used
as a default value where the brand is used if the analytic accounting
is activated""",
"version": "19.0.1.0.0",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/brand",
"depends": ["analytic", "brand"],
"data": ["views/res_brand.xml"],
"demo": [],
"maintainers": ["sbejaoui"],
"external_dependencies": {
"python": ["openupgradelib"],
},
}
34 changes: 34 additions & 0 deletions analytic_brand/i18n/analytic_brand.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_brand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Report-Msgid-Bugs-To: \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: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__analytic_distribution
msgid "Analytic Distribution"
msgstr ""

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__analytic_precision
msgid "Analytic Precision"
msgstr ""

#. module: analytic_brand
#: model:ir.model,name:analytic_brand.model_res_brand
msgid "Brand"
msgstr ""

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__distribution_analytic_account_ids
msgid "Distribution Analytic Account"
msgstr ""
40 changes: 40 additions & 0 deletions analytic_brand/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_brand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-08-07 15:25+0000\n"
"Last-Translator: Miquel Romera <mromera@pmsastro.es>\n"
"Language-Team: none\n"
"Language: es\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 5.10.4\n"

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__analytic_distribution
msgid "Analytic Distribution"
msgstr "Distribución analítica"

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__analytic_precision
msgid "Analytic Precision"
msgstr "Precisión analítica"

#. module: analytic_brand
#: model:ir.model,name:analytic_brand.model_res_brand
msgid "Brand"
msgstr "Marca"

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__distribution_analytic_account_ids
msgid "Distribution Analytic Account"
msgstr "Cuenta analítica de distribución"

#~ msgid "Analytic Account"
#~ msgstr "Cuenta Analítica"
40 changes: 40 additions & 0 deletions analytic_brand/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_brand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-07-30 09:46+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\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 5.10.4\n"

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__analytic_distribution
msgid "Analytic Distribution"
msgstr "Distribuzione analitica"

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__analytic_precision
msgid "Analytic Precision"
msgstr "Precisione analitica"

#. module: analytic_brand
#: model:ir.model,name:analytic_brand.model_res_brand
msgid "Brand"
msgstr "Marca"

#. module: analytic_brand
#: model:ir.model.fields,field_description:analytic_brand.field_res_brand__distribution_analytic_account_ids
msgid "Distribution Analytic Account"
msgstr "Conto distribuzione analitica"

#~ msgid "Analytic Account"
#~ msgstr "Conto analitico"
1 change: 1 addition & 0 deletions analytic_brand/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import res_brand
9 changes: 9 additions & 0 deletions analytic_brand/models/res_brand.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2019 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import models


class ResBrand(models.Model):
_name = "res.brand"
_inherit = ["analytic.mixin", "res.brand"]
3 changes: 3 additions & 0 deletions analytic_brand/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
5 changes: 5 additions & 0 deletions analytic_brand/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Souheil Bejaoui \<<souheil.bejaoui@acsone.eu>\>
- Ammar Officewala \<<aofficewala@opensourceintegrators.com>\>
- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
- Bhavesh Heliconia
- Marie Lejeune \<<marie.lejeune@acsone.eu>/>
3 changes: 3 additions & 0 deletions analytic_brand/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This addon associate an analytic distribution to a brand that will be used as
a default value where the brand is used if the analytic accounting is
activated.
Binary file added analytic_brand/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading