Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
2db7b4c
[ADD] account_brand (#568)
osi-scampbell Aug 8, 2019
5e98652
[12.0][IMP] - dedicated model for partner brand in account_brand module
sbejaoui Aug 16, 2019
4f8166c
Fix URL to OCA/brand
zeroheure Oct 25, 2019
bd2ce2d
[12.0][REF] - Use brand mixin in branded invoices definition
sbejaoui Oct 31, 2019
3ff72a6
[12.0][IMP] - Improve unit tests
sbejaoui Nov 4, 2019
59e64c3
[12.0][IMP] - Improve readme
sbejaoui Nov 12, 2019
913dc22
[12.0][IMP] - Brand field is editable in draft state for invoice and …
sbejaoui Feb 13, 2020
1f87f7e
[12.0][FIX] Brand not required on vendor bill
qgroulard Aug 11, 2020
fcbedf3
[FIX] Check brand requirement constraint
qgroulard Aug 12, 2020
d14463a
[FIX] Override is brand required
qgroulard Aug 18, 2020
ed0da64
[12.0][FIX] Create credit note with brand
qgroulard Aug 11, 2020
7849a20
[IMP] - set the invoice line analytic account at brand change
sbejaoui Dec 30, 2019
1a6669f
[FIX] - brand_id field in invoice form view is editable only in draft…
sbejaoui Dec 30, 2019
0935c4b
[IMP] - Add unit tests
sbejaoui Dec 30, 2019
9906073
[IMP] - Add account type constrains and domain
sbejaoui May 18, 2020
7501635
[FIX] - Fix brand onchange
sbejaoui Jun 2, 2020
6d28d03
[FIX] Invoice account_id
qgroulard Jun 16, 2020
92071d1
[MIG] account_brand: Migration to 13.0
cubells Apr 28, 2020
99beac6
[IMP] - Add unit tests
sbejaoui Dec 30, 2019
9b0a984
[14.0][FIX] Travis
Freni-OSI Jul 16, 2021
514144c
[14.0][MIG] account_brand
Freni-OSI Jul 16, 2021
8e52687
[15.0][MIG] - account_brand
sbejaoui Mar 17, 2022
f97ae06
[IMP]account_brand: If we can't set analytic account in brand then us…
vimalpatelserpentcs Mar 16, 2022
a7c37aa
[16.0][MIG] - migration brand & account_brand to 16.0
sbejaoui Oct 10, 2022
7fa4b5c
Translated using Weblate (German)
marylla Nov 4, 2022
525a049
Translated using Weblate (Croatian)
badbole Jan 6, 2023
821d731
Translated using Weblate (Spanish)
Gelo-fl May 4, 2023
e3377d9
Added translation using Weblate (Spanish (Argentina))
ibuioli Jun 25, 2023
0e29056
[IMP] account_brand: pre-commit auto fixes
RicardCForgeFlow Mar 8, 2024
215190e
[MIG] account_brand: Migration to 17.0
RicardCForgeFlow Mar 11, 2024
58a7b73
Added translation using Weblate (Italian)
mymage Jan 2, 2025
c59cf56
[MIG] account_brand: Migration to 18.0
bosd Jan 2, 2025
84d555c
account_brand: Improve documentation
bosd Jan 6, 2025
a386209
Translated using Weblate (Dutch)
bosd Apr 9, 2025
9c7b27c
[IMP] account_brand - brand required is for Customer Invoices and Cus…
baimont Aug 28, 2025
0dafe5e
Added translation using Weblate (Turkish)
bo-eska Apr 7, 2026
afcde76
Translated using Weblate (Spanish)
Ed-Spain Apr 20, 2026
012eed4
[IMP] account_brand: pre-commit auto fixes
BhaveshHeliconia May 15, 2026
e779c90
[MIG] account_brand: Migration to 19.0
BhaveshHeliconia May 15, 2026
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
141 changes: 141 additions & 0 deletions account_brand/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

=============
Account Brand
=============

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

.. |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/account_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-account_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 module allows you to send branded invoices to your customers. It
adds a brand field on the invoice and the brand information to the PDF
report.

**Table of contents**

.. contents::
:local:

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

It is important to note that the "brand use level" **should** be set to
``Optional`` or ``Required``. The brand use level is configured in the
Users & Companies settings. By default it is set to 'Do not use brands
on business document'. Then the field to select a brand on the invoice
view will not be available.

To change the "brand use level":

#. Go to Settings > General Settings #. Select the brand use level, the
following options are available:
``Do not use brands on business document`` (Default) ``Optional``
``Required``

Usage
=====

To use this module, you need to:

1. Go to Accounting > Customers > Invoices
2. Select or create an invoice
3. Enter the information and select the brand
4. Print the PDF report. It includes the style and information of the
brand.

To do point 4, the `Brand External Report
Layout <https://github.com/OCA/brand/tree/18.0/brand_external_report_layout/README.rst>`__
OCA module must be installed.

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:%20account_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
-------

* Open Source Integrators
* ACSONE SA/NV

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

- Raphael Lee <rlee@opensourceintegrators.com>
- Steve Campbell <scampbell@opensourceintegrators.com>
- Maxime Chambreuil <mchambreuil@opensourceintegrators.com>
- `Obertix <https://www.obertix.net>`__:

- Vicent Cubells

- Ammar Officewala <aofficewala@opensourceintegrators.com>
- bosd <<c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>
- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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

- Open Source Integrators <https://www.opensourceintegrators.com>

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-osi-scampbell| image:: https://github.com/osi-scampbell.png?size=40px
:target: https://github.com/osi-scampbell
:alt: osi-scampbell
.. |maintainer-sbejaoui| image:: https://github.com/sbejaoui.png?size=40px
:target: https://github.com/sbejaoui
:alt: sbejaoui

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

|maintainer-osi-scampbell| |maintainer-sbejaoui|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
5 changes: 5 additions & 0 deletions account_brand/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (C) 2019 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizards
22 changes: 22 additions & 0 deletions account_brand/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright (C) 2019 Open Source Integrators
# Copyright 2019 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Account Brand",
"summary": "Send branded invoices and refunds",
"version": "19.0.1.0.0",
"category": "Accounting Management",
"website": "https://github.com/OCA/brand",
"author": "Open Source Integrators,ACSONE SA/NV,Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["account", "brand"],
"data": [
"views/account_move_views.xml",
"views/res_partner_account_brand.xml",
"security/res_partner_account_brand.xml",
],
"installable": True,
"development_status": "Beta",
"maintainers": ["osi-scampbell", "sbejaoui"],
}
129 changes: 129 additions & 0 deletions account_brand/i18n/account_brand.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_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: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__account_id
msgid "Account"
msgstr ""

#. module: account_brand
#: model:ir.model,name:account_brand.model_account_move_reversal
msgid "Account Move Reversal"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_account_bank_statement_line__brand_id
#: model:ir.model.fields,field_description:account_brand.field_account_move__brand_id
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__brand_id
msgid "Brand"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_account_move__brand_use_level
msgid "Brand Use Level"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,help:account_brand.field_account_bank_statement_line__brand_id
#: model:ir.model.fields,help:account_brand.field_account_move__brand_id
msgid "Brand to use for this sale"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_account_move__company_id
msgid "Company"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__create_uid
msgid "Created by"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__create_date
msgid "Created on"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__display_name
msgid "Display Name"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__id
msgid "ID"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_account_move__is_brand_required
msgid "Is Brand Required"
msgstr ""

#. module: account_brand
#: model:ir.model,name:account_brand.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__write_uid
msgid "Last Updated by"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__write_date
msgid "Last Updated on"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__partner_id
msgid "Partner"
msgstr ""

#. module: account_brand
#: model:ir.actions.act_window,name:account_brand.res_partner_account_brand_act_window
#: model:ir.ui.menu,name:account_brand.res_partner_account_brand_menu
msgid "Partner Accounts by Brand"
msgstr ""

#. module: account_brand
#: model:ir.model.constraint,message:account_brand.constraint_res_partner_account_brand_unique_account_by_partner
msgid "Partner has already an account set for this brand!"
msgstr ""

#. module: account_brand
#: model:ir.model.fields.selection,name:account_brand.selection__res_partner_account_brand__account_type__liability_payable
msgid "Payable"
msgstr ""

#. module: account_brand
#. odoo-python
#: code:addons/account_brand/models/res_partner_account_brand.py:0
msgid "Please select an account of type %s"
msgstr ""

#. module: account_brand
#: model:ir.model.fields.selection,name:account_brand.selection__res_partner_account_brand__account_type__asset_receivable
msgid "Receivable"
msgstr ""

#. module: account_brand
#: model:ir.model,name:account_brand.model_res_partner_account_brand
msgid "Receivable/Payable Partner Account By Brand"
msgstr ""

#. module: account_brand
#: model:ir.model.fields,field_description:account_brand.field_res_partner_account_brand__account_type
msgid "Type"
msgstr ""
Loading
Loading