Skip to content

Commit

Permalink
Merge PR #573 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Aug 9, 2023
2 parents 1f841fb + a964622 commit 133d9cf
Show file tree
Hide file tree
Showing 70 changed files with 3,414 additions and 0 deletions.
154 changes: 154 additions & 0 deletions analytic_partner/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
===============================
Link analytic items and partner
===============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f070a4d1e69c76a901195744233bcbe96df21361334ab78c54543a70bda2f394
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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--analytic-lightgray.png?logo=github
:target: https://github.com/OCA/account-analytic/tree/15.0/analytic_partner
:alt: OCA/account-analytic
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-analytic-15-0/account-analytic-15-0-analytic_partner
: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-analytic&target_branch=15.0
:alt: Try me on Runboat

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

This module adds a commercial partner on each analytic item for allowing to
have another dimension for data analysis.

It also handles the proper propagation of this field to the created analytic
entries when validating invoices.

**Table of contents**

.. contents::
:local:

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

To configure this module, you need to:

#. Go to **Setting > Users > Groups**.
#. Search "Show Full Accounting Features".
#. Make sure your user is included in such group.
#. Do the same for "Analytic Accounting" group.

Usage
=====

#. Go to **Invoicing > Configuration > Management > Analytic Items**.
#. Set the **other partner** in the form view of an the analytic entry.
#. Go back to list view where you can search and group by this new field.

You can also:

#. Go to the form view of one of the partners selected as "other partner".
#. Click on the smart-button **Cost/Revenue** placed on the upper-right part.
#. Navigate to the analytic items associated to this partner.

Known issues / Roadmap
======================

This module hasn't been tested with *account_analytic_distribution* module
installed, so maybe it's incompatible with it.

Changelog
=========

13.0.1.0.0 (2020-01-07)
~~~~~~~~~~~~~~~~~~~~~~~

Migrated to odoo 13.

12.0.1.0.0 (2019-01-17)
~~~~~~~~~~~~~~~~~~~~~~~

Migrated to odoo 12.

11.0.1.0.0 (2018-10-15)
~~~~~~~~~~~~~~~~~~~~~~~

Migrated to odoo 11.

10.0.1.0.0 (2017-05-22)
~~~~~~~~~~~~~~~~~~~~~~~

Migrated to odoo 10.

8.0.1.0.1 (2015-08-20)
~~~~~~~~~~~~~~~~~~~~~~~

* [IMP] Distinguish between the partner of the account and the specific partner.
* [FIX] Allow grouping on partner_id field.
* [FIX] README - Indentation is not correct in Known issues.

8.0.1.0.0 (2015-08-13)
~~~~~~~~~~~~~~~~~~~~~~~

First version.

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

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

* Tecnativa

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

* `Tecnativa <https://www.tecnativa.com>`__:

* Pedro M. Baeza
* Luis M. Ontalba
* Cristina Martin R.
* Sergio Teruel
* Carlos Roca

* `Ecosoft <https://ecosoft.co.th/>`__:

* Pimolnat Suntian <pimolnats@ecosoft.co.th>

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-analytic <https://github.com/OCA/account-analytic/tree/15.0/analytic_partner>`_ 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 analytic_partner/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from . import models
17 changes: 17 additions & 0 deletions analytic_partner/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2015 Tecnativa - Pedro M. Baeza
# Copyright 2017 Tecnativa - Luis Martínez
# Copyright 2018 Tecnativa - Cristina Martin R.
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html

{
"name": "Link analytic items and partner",
"summary": "Search and group analytic entries by partner",
"version": "15.0.1.0.0",
"category": "Analytic Accounting",
"website": "https://github.com/OCA/account-analytic",
"author": "Tecnativa," "Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": ["account"],
"data": ["views/account_analytic_line_views.xml", "views/res_partner_views.xml"],
}
58 changes: 58 additions & 0 deletions analytic_partner/i18n/analytic_partner.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_partner
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.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_partner
#: model:ir.model,name:analytic_partner.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: analytic_partner
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_partner_form_analytic
msgid "Cost/Revenue"
msgstr ""

#. module: analytic_partner
#: model:ir.actions.act_window,name:analytic_partner.act_analytic_cost_revenue
msgid "Costs & Revenues"
msgstr ""

#. module: analytic_partner
#: model:ir.model.fields,field_description:analytic_partner.field_account_analytic_line__display_name
#: model:ir.model.fields,field_description:analytic_partner.field_account_move_line__display_name
msgid "Display Name"
msgstr ""

#. module: analytic_partner
#: model:ir.model.fields,field_description:analytic_partner.field_account_analytic_line__id
#: model:ir.model.fields,field_description:analytic_partner.field_account_move_line__id
msgid "ID"
msgstr ""

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

#. module: analytic_partner
#: model:ir.model.fields,field_description:analytic_partner.field_account_analytic_line____last_update
#: model:ir.model.fields,field_description:analytic_partner.field_account_move_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: analytic_partner
#: model:ir.model.fields,field_description:analytic_partner.field_account_analytic_line__other_partner_id
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_account_analytic_line_filter
msgid "Other Partner"
msgstr ""
47 changes: 47 additions & 0 deletions analytic_partner/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-23 23:05+0000\n"
"PO-Revision-Date: 2016-12-23 23:05+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: analytic_partner
#: model:ir.model,name:analytic_partner.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: analytic_partner
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_partner_form_analytic
msgid "Cost/Revenue"
msgstr ""

#. module: analytic_partner
#: model:ir.actions.act_window,name:analytic_partner.act_analytic_cost_revenue
msgid "Costs & Revenues"
msgstr ""

#. module: analytic_partner
#: model:ir.model,name:analytic_partner.model_account_move_line
#, fuzzy
msgid "Journal Item"
msgstr "عناصر دفتر اليومية"

#. module: analytic_partner
#: model:ir.model.fields,field_description:analytic_partner.field_account_analytic_line__other_partner_id
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_account_analytic_line_filter
msgid "Other Partner"
msgstr ""
45 changes: 45 additions & 0 deletions analytic_partner/i18n/bg.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-23 23:05+0000\n"
"PO-Revision-Date: 2016-12-23 23:05+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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: analytic_partner
#: model:ir.model,name:analytic_partner.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: analytic_partner
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_partner_form_analytic
msgid "Cost/Revenue"
msgstr ""

#. module: analytic_partner
#: model:ir.actions.act_window,name:analytic_partner.act_analytic_cost_revenue
msgid "Costs & Revenues"
msgstr ""

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

#. module: analytic_partner
#: model:ir.model.fields,field_description:analytic_partner.field_account_analytic_line__other_partner_id
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_account_analytic_line_filter
msgid "Other Partner"
msgstr ""
46 changes: 46 additions & 0 deletions analytic_partner/i18n/bs.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * analytic_partner
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-23 23:05+0000\n"
"PO-Revision-Date: 2016-12-23 23:05+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: analytic_partner
#: model:ir.model,name:analytic_partner.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: analytic_partner
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_partner_form_analytic
msgid "Cost/Revenue"
msgstr ""

#. module: analytic_partner
#: model:ir.actions.act_window,name:analytic_partner.act_analytic_cost_revenue
msgid "Costs & Revenues"
msgstr ""

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

#. module: analytic_partner
#: model:ir.model.fields,field_description:analytic_partner.field_account_analytic_line__other_partner_id
#: model_terms:ir.ui.view,arch_db:analytic_partner.view_account_analytic_line_filter
msgid "Other Partner"
msgstr ""
Loading

0 comments on commit 133d9cf

Please sign in to comment.