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] account_brand #219

Open
wants to merge 60 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
963311f
[ADD] account_brand (#568)
osi-scampbell Aug 8, 2019
760580c
[12.0][IMP] - dedicated model for partner brand in account_brand module
sbejaoui Aug 16, 2019
3084a28
Fix URL to OCA/brand
zeroheure Oct 25, 2019
1510072
[12.0][REF] - Use brand mixin in branded invoices definition
sbejaoui Oct 31, 2019
bff456a
[12.0][IMP] - Improve unit tests
sbejaoui Nov 4, 2019
4aca984
[12.0][IMP] - Improve readme
sbejaoui Nov 12, 2019
94462f5
account_brand 12.0.2.1.0
OCA-git-bot Nov 15, 2019
e9f5d60
[12.0][IMP] - Brand field is editable in draft state for invoice and …
sbejaoui Feb 13, 2020
b21dc5c
account_brand 12.0.3.0.0
OCA-git-bot Feb 18, 2020
1e43c72
[12.0][FIX] Brand not required on vendor bill
qgroulard Aug 11, 2020
90f01ca
[FIX] Check brand requirement constraint
qgroulard Aug 12, 2020
76e7e5b
[FIX] Override is brand required
qgroulard Aug 18, 2020
dfe688a
account_brand 12.0.3.0.1
OCA-git-bot Aug 18, 2020
9935513
[12.0][FIX] Create credit note with brand
qgroulard Aug 11, 2020
db9cfde
account_brand 12.0.3.0.2
OCA-git-bot Aug 25, 2020
0c7d418
[IMP] - set the invoice line analytic account at brand change
sbejaoui Dec 30, 2019
1e3951e
[FIX] - brand_id field in invoice form view is editable only in draft…
sbejaoui Dec 30, 2019
a65d83f
[IMP] - Add unit tests
sbejaoui Dec 30, 2019
43bd958
account_brand 12.0.3.0.3
OCA-git-bot Oct 23, 2020
d56781e
[12.0][IMP] - Add res partner account brand
sbejaoui Nov 8, 2019
570593b
[IMP] - Add account type constrains and domain
sbejaoui May 18, 2020
fef1c7a
[FIX] - Fix brand onchange
sbejaoui Jun 2, 2020
ef2a98c
[FIX] Invoice account_id
qgroulard Jun 16, 2020
1b970e8
account_brand 12.0.3.1.0
OCA-git-bot Oct 23, 2020
6028d2c
[MIG] account_brand: Migration to 13.0
cubells Apr 28, 2020
74e3ad5
[IMP] - Add unit tests
sbejaoui Dec 30, 2019
3f971aa
account_brand 13.0.1.0.1
OCA-git-bot Jun 2, 2021
f9ae4f5
[14.0][FIX] Travis
Freni-OSI Jul 16, 2021
0074079
[14.0][MIG] account_brand
Freni-OSI Jul 16, 2021
6e165fa
[UPD] Update account_brand.pot
oca-travis Jul 16, 2021
b4734c5
[UPD] README.rst
OCA-git-bot Jul 16, 2021
3189a94
[15.0][MIG] - account_brand
sbejaoui Mar 17, 2022
b433f60
[UPD] Update account_brand.pot
Mar 18, 2022
f4fe987
[UPD] README.rst
OCA-git-bot Mar 18, 2022
3adffc7
[IMP]account_brand: If we can't set analytic account in brand then us…
vimalpatelserpentcs Mar 16, 2022
98c6e38
account_brand 15.0.1.0.1
OCA-git-bot Mar 21, 2022
fc44227
[16.0][MIG] - migration brand & account_brand to 16.0
sbejaoui Oct 10, 2022
d240d09
[UPD] Update account_brand.pot
Oct 10, 2022
c63044d
[UPD] README.rst
OCA-git-bot Oct 10, 2022
642d8b9
[UPD] Update account_brand.pot
Oct 14, 2022
644de9a
Update translation files
weblate Oct 14, 2022
02a5bb9
Translated using Weblate (German)
marylla Nov 4, 2022
9e68431
[UPD] Update account_brand.pot
Nov 29, 2022
75054f4
Update translation files
weblate Nov 29, 2022
02592e6
Translated using Weblate (Croatian)
badbole Jan 6, 2023
066b999
Translated using Weblate (Croatian)
badbole Feb 16, 2023
752469b
Translated using Weblate (Spanish)
Gelo-fl May 4, 2023
ec603e6
Added translation using Weblate (Spanish (Argentina))
ibuioli Jun 25, 2023
398a212
Translated using Weblate (Spanish (Argentina))
ibuioli Jun 25, 2023
673d300
[UPD] README.rst
OCA-git-bot Sep 3, 2023
4f70b09
[IMP] account_brand: pre-commit auto fixes
RicardCForgeFlow Mar 8, 2024
020cb1d
[MIG] account_brand: Migration to 17.0
RicardCForgeFlow Mar 11, 2024
536fc58
[UPD] Update account_brand.pot
Jan 1, 2025
a0f43f2
[BOT] post-merge updates
OCA-git-bot Jan 1, 2025
d0f6c11
Update translation files
weblate Jan 1, 2025
1b6b19a
Added translation using Weblate (Italian)
mymage Jan 2, 2025
452787a
Translated using Weblate (Italian)
mymage Jan 2, 2025
df770e7
[MIG] account_brand: Migration to 18.0
bosd Jan 2, 2025
9d55282
account_brand: test_requirements
bosd Jan 5, 2025
e7f69d5
account_brand: Improve documentation
bosd Jan 6, 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
134 changes: 134 additions & 0 deletions account_brand/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
=============
Account Brand
=============

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

.. |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/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/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-18-0/brand-18-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=18.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:%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
-------

* Open Source Integrators
* ACSONE SA/NV

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

- Raphael Lee <[email protected]>
- Steve Campbell <[email protected]>
- Maxime Chambreuil <[email protected]>
- `Obertix <https://www.obertix.net>`__:

- Vicent Cubells

- Ammar Officewala <[email protected]>
- bosd <<[email protected]>

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/18.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
24 changes: 24 additions & 0 deletions account_brand/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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": "18.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"],
}
130 changes: 130 additions & 0 deletions account_brand/i18n/account_brand.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_brand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 17.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_account_payment__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
#: model:ir.model.fields,help:account_brand.field_account_payment__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,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
#. odoo-python
#: code:addons/account_brand/models/res_partner_account_brand.py:0
#: model:ir.model.constraint,message:account_brand.constraint_res_partner_account_brand_unique_account_by_partner
#, python-format
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
#, python-format
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