Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
162 changes: 162 additions & 0 deletions analytic_partner/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
===============================
Link analytic items and partner
===============================

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

.. |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/17.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-17-0/account-analytic-17-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=17.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:

1. Go to **Setting > Users > Groups** and check that your user has the
"Show Full Accounting Features" and "Analytic Accounting" access
rights.

Usage
=====

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

You can also:

1. Go to the form view of one of the partners selected as "other
partner".
2. Click on the smart-button **Cost/Revenue** placed on the upper-right
part.
3. 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:%2017.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 <[email protected]>

- Daniel Reis <[email protected]>
- `APSL-Nagarro <https://apsl.tech>`__:

- Bernat Obrador <[email protected]>

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/17.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": "18.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"],
}
40 changes: 40 additions & 0 deletions analytic_partner/i18n/analytic_partner.pot
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_partner
#
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: 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 ""
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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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 <[email protected]>, 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
Loading