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

[16.0][MIG] account_cost_center: Migration to 16.0 #2013

Open
wants to merge 35 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
2f104d8
[ADD] account_cost_center
astirpe Jan 11, 2017
8a5e0f2
OCA Transbot updated translations from Transifex
oca-transbot Jan 13, 2017
a44ec7f
[FIX] correct domain for filter
hbrunn Mar 2, 2017
c93f6a1
OCA Transbot updated translations from Transifex
oca-transbot Mar 3, 2017
5014784
[10.0][MIG] Porting account_cost_center to V10
astirpe Jun 15, 2018
6987e44
[11.0][MIG] account_cost_center
astirpe Apr 18, 2019
1ba9ad3
[FIX] Invoice cost center readonly if not draft
astirpe May 22, 2019
434f38b
[UPD] README.rst
OCA-git-bot May 23, 2019
eb305ec
[UPD] Update account_cost_center.pot
oca-travis May 23, 2019
8a2e699
[12.0][MIG] account_cost_center
astirpe May 28, 2019
72adc4b
[UPD] Update account_cost_center.pot
oca-travis May 11, 2020
c6701f5
[UPD] README.rst
OCA-git-bot May 11, 2020
19c1003
Update translation files
oca-transbot May 12, 2020
05f24ff
Translated using Weblate (German)
marylla Jun 12, 2020
1fca352
Translated using Weblate (Portuguese (Brazil))
mliell Jun 13, 2020
32fcc05
Translated using Weblate (Slovenian)
sysadminmatmoz Aug 11, 2020
4e8b057
Translated using Weblate (Italian)
francesco-ooops Jul 9, 2021
205b1fa
Translated using Weblate (French)
pasgou Aug 3, 2021
f3b726e
Translated using Weblate (French)
pasgou Aug 4, 2021
2d22beb
[IMP] : black, isort, prettier
smemon786 May 31, 2022
9af51e4
[MIG] account_cost_centre: Migration to 15.0
smemon786 May 31, 2022
83bb5b1
[UPD] Update account_cost_center.pot
Nov 22, 2022
b827362
[UPD] README.rst
OCA-git-bot Nov 22, 2022
471dddf
Translated using Weblate (Spanish (Argentina))
ibuioli Dec 4, 2022
898a83e
Translated using Weblate (Italian)
francesco-ooops Jan 18, 2023
aaa3a6a
Translated using Weblate (Italian)
francesco-ooops Mar 7, 2023
0c4785a
Translated using Weblate (Portuguese (Brazil))
douglascstd Mar 17, 2023
527931b
Translated using Weblate (Italian)
mymage Mar 23, 2023
e6d9701
Translated using Weblate (Italian)
mymage Apr 10, 2023
42b59de
Translated using Weblate (Italian)
mymage Apr 17, 2023
355ef9b
[UPD] README.rst
OCA-git-bot Sep 3, 2023
a25ec34
Translated using Weblate (Spanish)
Ivorra78 Aug 21, 2023
d0a103f
Update translation files
weblate Oct 9, 2023
9168aff
Translated using Weblate (Portuguese (Brazil))
May 17, 2024
6939f1d
[MIG] account_cost_center: Migration to 16.0
HeliconiaSolutions Jan 15, 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
113 changes: 113 additions & 0 deletions account_cost_center/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
==========
Costcenter
==========

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

.. |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%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/16.0/account_cost_center
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_cost_center
: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/account-financial-tools&target_branch=16.0
:alt: Try me on Runboat

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

This module allows the user to link every invoice line to a cost center
providing an extra dimension for the analysis.

**Table of contents**

.. contents::
:local:

Usage
=====

This module is relevant when you are creating sales invoices and using analytic accounting.

Start using cost centers by defining the cost centers. Be aware that Analytic Accounting
must be activated on the user for the following menu option.
Use the menu in the accounting module:

**Configuration > Analytics accounting > Cost centers**

.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_cost_center/static/description/account_costcenter_1.png
:alt: Cost centers can be configured
:align: center

Once defined you can add a cost center to an invoice line. A default cost center for
the current invoice can be set in the other info tab.

.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_cost_center/static/description/account_costcenter_2.png
:alt: Cost centers can be selected on invoice lines
:align: center

This module adds the cost center concept to the reporting.

**Accounting > Invoice Analysis**

Here you can select or unselect the cost center within your analysis.

.. figure:: https://raw.githubusercontent.com/OCA/account-financial-tools/16.0/account_cost_center/static/description/account_costcenter_3.png
:alt: Cost centers can be selected on invoice lines
:align: center

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/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/account-financial-tools/issues/new?body=module:%20account_cost_center%0Aversion:%2016.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
~~~~~~~

* Onestein

Contributors
~~~~~~~~~~~~

* Kevin Graveman <[email protected]>
* Richard Dijkstra <[email protected]>
* Andrea Stirpe <[email protected]>
* Antonio Esposito <[email protected]>
* `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`_

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/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/16.0/account_cost_center>`_ project on GitHub.

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

from . import models
22 changes: 22 additions & 0 deletions account_cost_center/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2016-2020 Onestein (<http://www.onestein.eu>)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Costcenter",
"summary": "Cost center information for invoice lines",
"author": "Onestein, Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/account-financial-tools",
"category": "Accounting",
"version": "16.0.1.0.0",
"depends": ["account", "base_view_inheritance_extension"],
"data": [
"security/ir.model.access.csv",
"security/account_cost_center_security.xml",
"views/account_cost_center_views.xml",
"views/account_move_views.xml",
"views/account_move_line_views.xml",
"views/account_invoice_report_views.xml",
],
"installable": True,
}
122 changes: 122 additions & 0 deletions account_cost_center/i18n/account_cost_center.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_cost_center
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.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_cost_center
#: model:ir.model,name:account_cost_center.model_account_cost_center
msgid "Account Cost Center"
msgstr ""

#. module: account_cost_center
#: model_terms:ir.actions.act_window,help:account_cost_center.account_cost_center_action
msgid "Click to add a new cost center."
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__code
msgid "Code"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__company_id
msgid "Company"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_bank_statement_line__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_invoice_report__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_move__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_move_line__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_payment__cost_center_id
#: model_terms:ir.ui.view,arch_db:account_cost_center.view_account_invoice_report_search
msgid "Cost Center"
msgstr ""

#. module: account_cost_center
#: model:ir.actions.act_window,name:account_cost_center.account_cost_center_action
#: model:ir.ui.menu,name:account_cost_center.account_cost_center_menu
msgid "Cost Centers"
msgstr ""

#. module: account_cost_center
#: model_terms:ir.actions.act_window,help:account_cost_center.account_cost_center_action
msgid "Cost centers provide an extra analytic dimension"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__create_uid
msgid "Created by"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__create_date
msgid "Created on"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,help:account_cost_center.field_account_bank_statement_line__cost_center_id
#: model:ir.model.fields,help:account_cost_center.field_account_move__cost_center_id
#: model:ir.model.fields,help:account_cost_center.field_account_payment__cost_center_id
msgid "Default Cost Center"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__display_name
msgid "Display Name"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__id
msgid "ID"
msgstr ""

#. module: account_cost_center
#: model:ir.model,name:account_cost_center.model_account_invoice_report
msgid "Invoices Statistics"
msgstr ""

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

#. module: account_cost_center
#: model:ir.model,name:account_cost_center.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center____last_update
msgid "Last Modified on"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__write_uid
msgid "Last Updated by"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__write_date
msgid "Last Updated on"
msgstr ""

#. module: account_cost_center
#: model_terms:ir.ui.view,arch_db:account_cost_center.account_cost_center_view_search
msgid "Name/Code"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__name
msgid "Title"
msgstr ""
127 changes: 127 additions & 0 deletions account_cost_center/i18n/am.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_cost_center
#
# Translators:
# OCA Transbot <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-12 03:43+0000\n"
"PO-Revision-Date: 2017-01-12 03:43+0000\n"
"Last-Translator: OCA Transbot <[email protected]>, 2017\n"
"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n"
"Language: am\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"

#. module: account_cost_center
#: model:ir.model,name:account_cost_center.model_account_cost_center
msgid "Account Cost Center"
msgstr ""

#. module: account_cost_center
#: model_terms:ir.actions.act_window,help:account_cost_center.account_cost_center_action
msgid "Click to add a new cost center."
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__code
msgid "Code"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__company_id
msgid "Company"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_bank_statement_line__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_invoice_report__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_move__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_move_line__cost_center_id
#: model:ir.model.fields,field_description:account_cost_center.field_account_payment__cost_center_id
#: model_terms:ir.ui.view,arch_db:account_cost_center.view_account_invoice_report_search
msgid "Cost Center"
msgstr ""

#. module: account_cost_center
#: model:ir.actions.act_window,name:account_cost_center.account_cost_center_action
#: model:ir.ui.menu,name:account_cost_center.account_cost_center_menu
msgid "Cost Centers"
msgstr ""

#. module: account_cost_center
#: model_terms:ir.actions.act_window,help:account_cost_center.account_cost_center_action
msgid "Cost centers provide an extra analytic dimension"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__create_uid
msgid "Created by"
msgstr "Creado por"

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__create_date
msgid "Created on"
msgstr "Creado en"

#. module: account_cost_center
#: model:ir.model.fields,help:account_cost_center.field_account_bank_statement_line__cost_center_id
#: model:ir.model.fields,help:account_cost_center.field_account_move__cost_center_id
#: model:ir.model.fields,help:account_cost_center.field_account_payment__cost_center_id
msgid "Default Cost Center"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__display_name
msgid "Display Name"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__id
msgid "ID"
msgstr "ID"

#. module: account_cost_center
#: model:ir.model,name:account_cost_center.model_account_invoice_report
msgid "Invoices Statistics"
msgstr ""

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

#. module: account_cost_center
#: model:ir.model,name:account_cost_center.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center____last_update
msgid "Last Modified on"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__write_uid
msgid "Last Updated by"
msgstr "Última actualización por"

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__write_date
msgid "Last Updated on"
msgstr "Última actualización en"

#. module: account_cost_center
#: model_terms:ir.ui.view,arch_db:account_cost_center.account_cost_center_view_search
msgid "Name/Code"
msgstr ""

#. module: account_cost_center
#: model:ir.model.fields,field_description:account_cost_center.field_account_cost_center__name
msgid "Title"
msgstr ""
Loading
Loading