Skip to content

Commit 8007bfe

Browse files
[T-7029][ADD] account_analytic_distribution_with_account.
1 parent 6179233 commit 8007bfe

16 files changed

Lines changed: 652 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Available addons
2121
----------------
2222
addon | version | maintainers | summary
2323
--- | --- | --- | ---
24+
[account_analytic_distribution_with_account](account_analytic_distribution_with_account/) | 16.0.1.0.0 | | Adds Account To Account Analytic Distribution Model
2425
[account_timesheet_time_type](account_timesheet_time_type/) | 16.0.1.0.0 | | Time type in analytic account lines views
2526

2627
[//]: # (end addons)
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
==========================================
2+
Account Analytic Distribution With Account
3+
==========================================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:38eca411f8613c7c64340ad6dd629c3b3a6526cf9466da59d7e7ea18f8187aab
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-sygel--technology%2Fsy--account--analytic-lightgray.png?logo=github
20+
:target: https://github.com/sygel-technology/sy-account-analytic/tree/16.0/account_analytic_distribution_with_account
21+
:alt: sygel-technology/sy-account-analytic
22+
23+
|badge1| |badge2| |badge3|
24+
25+
The module adds the account field to the analytical distribution accounts.
26+
27+
**Table of contents**
28+
29+
.. contents::
30+
:local:
31+
32+
Usage
33+
=====
34+
35+
To use this module, you need to:
36+
37+
#. Go to Account module.
38+
#. Go to Configuration -> Analytic Distribution Models.
39+
#. Edit or create a new one.
40+
#. Add Accounts to the selected Analytic Distribution Model.
41+
42+
Bug Tracker
43+
===========
44+
45+
Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-account-analytic/issues>`_.
46+
In case of trouble, please check there if your issue has already been reported.
47+
If you spotted it first, help us to smash it by providing a detailed and welcomed
48+
`feedback <https://github.com/sygel-technology/sy-account-analytic/issues/new?body=module:%20account_analytic_distribution_with_account%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
49+
50+
Do not contact contributors directly about support or help with technical issues.
51+
52+
Credits
53+
=======
54+
55+
Authors
56+
~~~~~~~
57+
58+
* Sygel
59+
60+
Contributors
61+
~~~~~~~~~~~~
62+
63+
* `Sygel <https://www.sygel.es>`__:
64+
65+
* Valentín Vinagre
66+
* Ángel García de la Chica Herrera
67+
68+
Maintainers
69+
~~~~~~~~~~~
70+
71+
This module is part of the `sygel-technology/sy-account-analytic <https://github.com/sygel-technology/sy-account-analytic/tree/16.0/account_analytic_distribution_with_account>`_ project on GitHub.
72+
73+
You are welcome to contribute.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright 2025 Ángel García de la Chica Herrera<angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from . import models
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright 2025 Ángel García de la Chica <angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Account Analytic Distribution With Account",
6+
"summary": "Adds Account To Account Analytic Distribution Model",
7+
"version": "16.0.1.0.0",
8+
"category": "Account",
9+
"website": "https://github.com/sygel-technology/sy-account-analytic",
10+
"author": "Sygel, Odoo Community Association (OCA)",
11+
"license": "AGPL-3",
12+
"application": False,
13+
"installable": True,
14+
"depends": [
15+
"account",
16+
"analytic",
17+
],
18+
"data": [
19+
"views/account_analytic_distribution_views.xml",
20+
],
21+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * account_analytic_distribution_with_account
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0+e\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2025-07-03 14:15+0000\n"
10+
"PO-Revision-Date: 2025-07-03 14:15+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: account_analytic_distribution_with_account
19+
#: model:ir.model.fields,field_description:account_analytic_distribution_with_account.field_account_analytic_distribution_model__account_ids
20+
msgid "Accounts"
21+
msgstr "Comptes"
22+
23+
#. module: account_analytic_distribution_with_account
24+
#: model:ir.model,name:account_analytic_distribution_with_account.model_account_analytic_distribution_model
25+
msgid "Analytic Distribution Model"
26+
msgstr "Model de distribució analític"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * account_analytic_distribution_with_account
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 16.0+e\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"POT-Creation-Date: 2025-07-03 14:17+0000\n"
10+
"PO-Revision-Date: 2025-07-03 14:17+0000\n"
11+
"Last-Translator: \n"
12+
"Language-Team: \n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: \n"
17+
18+
#. module: account_analytic_distribution_with_account
19+
#: model:ir.model.fields,field_description:account_analytic_distribution_with_account.field_account_analytic_distribution_model__account_ids
20+
msgid "Accounts"
21+
msgstr "Cuentas"
22+
23+
#. module: account_analytic_distribution_with_account
24+
#: model:ir.model,name:account_analytic_distribution_with_account.model_account_analytic_distribution_model
25+
msgid "Analytic Distribution Model"
26+
msgstr "Modelo de distribución analítica"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Copyright 2025 Ángel García de la Chica Herrera <angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from . import account_analytic_distribution_model
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright 2025 Ángel García de la Chica Herrera <angel.garcia@sygel.es>
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
3+
4+
from odoo import fields, models
5+
6+
7+
class AccountAnalyticDistributionModel(models.Model):
8+
_inherit = "account.analytic.distribution.model"
9+
10+
account_ids = fields.Many2many(comodel_name="account.account", string="Accounts")
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* `Sygel <https://www.sygel.es>`__:
2+
3+
* Valentín Vinagre
4+
* Ángel García de la Chica Herrera
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The module adds the account field to the analytical distribution accounts.

0 commit comments

Comments
 (0)