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] analytic_partner #672

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9a776e6
[ADD] analytic_partner
pedrobaeza Aug 12, 2015
564b7be
[FIX+IMP] analytic_partner:
pedrobaeza Aug 20, 2015
5fd4a74
OCA Transbot updated translations from Transifex
oca-transbot Aug 5, 2016
58c33d2
[MIG] analytic_account: Migrated to 10.0
luismontalba May 22, 2017
e0341e2
OCA Transbot updated translations from Transifex
oca-transbot Jun 23, 2017
d7d5563
[11.0][MIG] analytic_partner: Migration to 11.0
cristinamartinrod Oct 15, 2018
d58ac7e
[MIG] analytic_partner: Migration to 12.0
sergio-teruel Jan 17, 2019
dd66e2c
Translated using Weblate (Galician)
mvrodriguez Feb 1, 2019
2ec37ac
Translated using Weblate (Catalan)
May 27, 2019
4bb884c
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 2, 2019
e46cc3e
Translated using Weblate (Chinese (Simplified))
liweijie0812 Aug 30, 2019
f3994c3
[IMP] analytic_partner: black, isort
ps-tubtim Jan 7, 2020
7d67982
[MIG] analytic_partner: Migration to 13.0
ps-tubtim Jan 7, 2020
e9116b3
[IMP] analytic_partner: black, isort
CarlosRoca13 Jul 22, 2021
2490de0
[MIG] analytic_partner: Migration to v14.0
CarlosRoca13 Jul 22, 2021
8476070
[UPD] Update analytic_partner.pot
oca-travis Aug 11, 2021
920444b
[UPD] README.rst
OCA-git-bot Aug 11, 2021
56298a1
Added translation using Weblate (French (France))
Yvesldff Jan 26, 2022
ba337fa
Translated using Weblate (French)
Yvesldff Jan 26, 2022
d4697a9
Translated using Weblate (French (France))
Yvesldff Jan 26, 2022
80160cb
[MIG] analytic_partner: Migration to 16.0
heliaktiv Jul 28, 2023
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
155 changes: 155 additions & 0 deletions analytic_partner/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
===============================
Link analytic items and partner
===============================

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

.. |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/16.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-16-0/account-analytic-16-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=16.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** and check that
your user has the "Show Full Accounting Features" and
"Analytic Accounting" access rights.

Usage
=====

#. Go to **Invoicing > Accounting > 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:%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
~~~~~~~

* 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]>

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/16.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": "16.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 <[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