Skip to content

Commit

Permalink
Merge PR #652 into 17.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Nov 7, 2024
2 parents bb7def0 + 940db2c commit be7919d
Show file tree
Hide file tree
Showing 32 changed files with 1,508 additions and 0 deletions.
117 changes: 117 additions & 0 deletions pos_analytic_by_config/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
===================
POS Analytic Config
===================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:d9e9a16dc39889632d437be5d71d540c859e02d9cd77763d4ff5d4325eacd97a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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/pos_analytic_by_config
: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-pos_analytic_by_config
: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 allows to generate analytic distributions from the PoS
orders.

**Table of contents**

.. contents::
:local:

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

To configure the analytic distributions by store:

1. Go to *Invoicing > Configuration > Analytic Distribution Models*
2. We'll create one for every pos config.
3. Select an account prefix (Normally your incoming account prefix)
4. Select a PoS config (unhide it from the optionl fields).
5. Choose your desired distribution for that store.

Usage
=====

When you reconcile your sessions, the analytic distribution should go as
expected for your point of sale.

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

- Add ``account_analytic_id`` in ``pos.order`` so we can use it in
reports.
- In ``13.0`` the session reconciliation has been refactored and thus
the journal items are now very simplified. There's no product detail
now, so we won't be able to analyze that level of detail anymore. For
invoices it remains as it was.

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:%20pos_analytic_by_config%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
-------

* ACSONE SA/NV
* Tecnativa

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

- `ACSONE SA/NV <https://www.acsone.eu>`__

- Adrien Peiffer <[email protected]>
- Cédric Pigeon <[email protected]>
- Xavier Bouquiaux <[email protected]>

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

- David Vidal

- `APSL-Nagarro <https://www.apsl.tech>`__

- Antoni Marroig <[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/pos_analytic_by_config>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions pos_analytic_by_config/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
16 changes: 16 additions & 0 deletions pos_analytic_by_config/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2015 ACSONE SA/NV
# Copyright 2020 Tecnativa - David Vidal
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
{
"name": "POS Analytic Config",
"summary": "Use analytic account defined on POS configuration for POS orders",
"author": "ACSONE SA/NV, Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-analytic",
"category": "Point Of Sale, Accounting",
"version": "17.0.1.0.0",
"license": "AGPL-3",
"depends": ["point_of_sale"],
"data": [
"views/account_analytic_distribution_model_views.xml",
],
}
67 changes: 67 additions & 0 deletions pos_analytic_by_config/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_analytic_by_config
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-02-14 17:23+0000\n"
"Last-Translator: Rachid Al Assir <[email protected]>\n"
"Language-Team: none\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 ? 4 : 5;\n"
"X-Generator: Weblate 4.14.1\n"

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_account_analytic_distribution_model
msgid "Analytic Distribution Model"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_order
msgid "Point of Sale Orders"
msgstr "أوامر نقطة البيع"

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_session
msgid "Point of Sale Session"
msgstr "جلسة نقطة البيع"

#. module: pos_analytic_by_config
#: model:ir.model.fields,field_description:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Pos Config"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model.fields,help:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Select a Point of Sale for which the analytic distribution will be used"
msgstr ""

#~ msgid "Analytic Account"
#~ msgstr "الحساب التحليلي"

#~ msgid "Analytic Account for this config."
#~ msgstr "حساب تحليلي لهذا التكوين."

#~ msgid "Analytic Account that these orders link to"
#~ msgstr "الحساب التحليلي الذي ترتبط به هذه الطلبات"

#~ msgid "Journal Item"
#~ msgstr "عنصر اليومية"

#~ msgid "Point of Sale Configuration"
#~ msgstr "إعدادات نقطة البيع"

#~ msgid "Display Name"
#~ msgstr "الاسم المعروض"

#~ msgid "ID"
#~ msgstr "المُعرف"

#~ msgid "Last Modified on"
#~ msgstr "آخر تعديل في"
60 changes: 60 additions & 0 deletions pos_analytic_by_config/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_analytic_by_config
#
# Translators:
# Carles Antoli <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-13 23:06+0000\n"
"PO-Revision-Date: 2022-03-21 13:17+0000\n"
"Last-Translator: Noel estudillo <[email protected]>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\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"
"X-Generator: Weblate 4.3.2\n"

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_account_analytic_distribution_model
msgid "Analytic Distribution Model"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_order
msgid "Point of Sale Orders"
msgstr "Comandes al punt de venda"

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_session
msgid "Point of Sale Session"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model.fields,field_description:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Pos Config"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model.fields,help:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Select a Point of Sale for which the analytic distribution will be used"
msgstr ""

#~ msgid "Analytic Account"
#~ msgstr "Compte analític"

#~ msgid "Analytic Account for this config."
#~ msgstr "Compte analític per a aquesta configuració."

#~ msgid "Analytic Account that these orders link to"
#~ msgstr "Compte analític al qual enllacen aquestes comandes"

#~ msgid "Point of Sale Configuration"
#~ msgstr "Configuració del punt de venda"

#~ msgid "Invoice Line"
#~ msgstr "Línia de factura"
47 changes: 47 additions & 0 deletions pos_analytic_by_config/i18n/de.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:
# * pos_analytic_by_config
#
# Translators:
# Rudolf Schnapka <[email protected]>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-20 23:05+0000\n"
"PO-Revision-Date: 2017-01-20 23:05+0000\n"
"Last-Translator: Rudolf Schnapka <[email protected]>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\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: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_account_analytic_distribution_model
msgid "Analytic Distribution Model"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_order
msgid "Point of Sale Orders"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_session
msgid "Point of Sale Session"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model.fields,field_description:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Pos Config"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model.fields,help:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Select a Point of Sale for which the analytic distribution will be used"
msgstr ""

#~ msgid "Analytic Account"
#~ msgstr "Kostenstelle"
48 changes: 48 additions & 0 deletions pos_analytic_by_config/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * pos_analytic_by_config
#
# Translators:
# Kostas Goutoudis <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 8.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-09-30 22:27+0000\n"
"PO-Revision-Date: 2016-09-30 22:27+0000\n"
"Last-Translator: Kostas Goutoudis <[email protected]>, 2016\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\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: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_account_analytic_distribution_model
msgid "Analytic Distribution Model"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_order
msgid "Point of Sale Orders"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model,name:pos_analytic_by_config.model_pos_session
msgid "Point of Sale Session"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model.fields,field_description:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Pos Config"
msgstr ""

#. module: pos_analytic_by_config
#: model:ir.model.fields,help:pos_analytic_by_config.field_account_analytic_distribution_model__pos_config_id
msgid "Select a Point of Sale for which the analytic distribution will be used"
msgstr ""

#~ msgid "Analytic Account"
#~ msgstr "Αναλυτικός Λογαριασμός"
Loading

0 comments on commit be7919d

Please sign in to comment.