odoo-addon-account-analytic-parent 16.0.1.0.1__py3-none-any.whl → 17.0.1.0.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. odoo/addons/account_analytic_parent/README.rst +27 -27
  2. odoo/addons/account_analytic_parent/__manifest__.py +1 -1
  3. odoo/addons/account_analytic_parent/hooks.py +1 -5
  4. odoo/addons/account_analytic_parent/i18n/account_analytic_parent.pot +110 -1
  5. odoo/addons/account_analytic_parent/models/account_analytic_account.py +2 -7
  6. odoo/addons/account_analytic_parent/readme/CONTRIBUTORS.md +13 -0
  7. odoo/addons/account_analytic_parent/readme/DESCRIPTION.md +3 -0
  8. odoo/addons/account_analytic_parent/readme/USAGE.md +2 -0
  9. odoo/addons/account_analytic_parent/static/description/index.html +9 -8
  10. odoo/addons/account_analytic_parent/tests/test_account_analytic_account.py +7 -2
  11. odoo/addons/account_analytic_parent/views/account_analytic_account_view.xml +1 -1
  12. {odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info → odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info}/METADATA +33 -36
  13. {odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info → odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info}/RECORD +15 -15
  14. {odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info → odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info}/WHEEL +1 -1
  15. odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info/top_level.txt +1 -0
  16. odoo/addons/account_analytic_parent/readme/CONTRIBUTORS.rst +0 -16
  17. odoo/addons/account_analytic_parent/readme/DESCRIPTION.rst +0 -3
  18. odoo/addons/account_analytic_parent/readme/USAGE.rst +0 -1
  19. odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info/top_level.txt +0 -1
@@ -7,7 +7,7 @@ Account Analytic Parent
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:b9c691fdfb608b2469cee070f158ac1c5fbab9df749e11c1531a770815331eaf
10
+ !! source digest: sha256:d2dfc8a53ba6f07c266c9afaa032b2dbcccf2cf487ec2499ac1b5347b284e51e
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -17,20 +17,20 @@ Account Analytic Parent
17
17
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18
18
  :alt: License: AGPL-3
19
19
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github
20
- :target: https://github.com/OCA/account-analytic/tree/16.0/account_analytic_parent
20
+ :target: https://github.com/OCA/account-analytic/tree/17.0/account_analytic_parent
21
21
  :alt: OCA/account-analytic
22
22
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23
- :target: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-account_analytic_parent
23
+ :target: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-account_analytic_parent
24
24
  :alt: Translate me on Weblate
25
25
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26
- :target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=16.0
26
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=17.0
27
27
  :alt: Try me on Runboat
28
28
 
29
29
  |badge1| |badge2| |badge3| |badge4| |badge5|
30
30
 
31
- This module reintroduces the hierarchy to the analytic accounts as
32
- it was in previous versions of Odoo. This module is a base module for
33
- other modules to manage the hierarchy concept in analytics.
31
+ This module reintroduces the hierarchy to the analytic accounts as it
32
+ was in previous versions of Odoo. This module is a base module for other
33
+ modules to manage the hierarchy concept in analytics.
34
34
 
35
35
  **Table of contents**
36
36
 
@@ -40,7 +40,8 @@ other modules to manage the hierarchy concept in analytics.
40
40
  Usage
41
41
  =====
42
42
 
43
- Activate the analytic accounting in Accounting > Configuration > Settings
43
+ Activate the analytic accounting in Accounting > Configuration >
44
+ Settings
44
45
 
45
46
  Bug Tracker
46
47
  ===========
@@ -48,7 +49,7 @@ Bug Tracker
48
49
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-analytic/issues>`_.
49
50
  In case of trouble, please check there if your issue has already been reported.
50
51
  If you spotted it first, help us to smash it by providing a detailed and welcomed
51
- `feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_parent%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
52
+ `feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_parent%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
52
53
 
53
54
  Do not contact contributors directly about support or help with technical issues.
54
55
 
@@ -56,7 +57,7 @@ Credits
56
57
  =======
57
58
 
58
59
  Authors
59
- ~~~~~~~
60
+ -------
60
61
 
61
62
  * Matmoz d.o.o.
62
63
  * Luxim d.o.o.
@@ -66,27 +67,26 @@ Authors
66
67
  * CorporateHub
67
68
 
68
69
  Contributors
69
- ~~~~~~~~~~~~
70
+ ------------
70
71
 
71
- * ForgeFlow <http://www.forgeflow.com>
72
- * Luxim d.o.o. <http://www.luxim.si>
73
- * Matmoz d.o.o. <http://www.matmoz.si>
74
- * Deneroteam. <dhaval@deneroteam.com>
75
- * SerpentCS <http://www.serpentcs.com/>
76
- * Pedro M. Baeza <pedro.baeza@tecnativa.com>
77
- * Vicent Cubells <vicent.cubells@tecnativa.com>
78
- * David Vidal <david.vidal@tecnativa.com>
79
- * Jaume Planas <jaume.planas@minorisa.net>
80
- * `CorporateHub <https://corporatehub.eu/>`__
72
+ - ForgeFlow <http://www.forgeflow.com>
73
+ - Luxim d.o.o. <http://www.luxim.si>
74
+ - Matmoz d.o.o. <http://www.matmoz.si>
75
+ - Deneroteam. <dhaval@deneroteam.com>
76
+ - SerpentCS <http://www.serpentcs.com/>
77
+ - Pedro M. Baeza <pedro.baeza@tecnativa.com>
78
+ - Vicent Cubells <vicent.cubells@tecnativa.com>
79
+ - David Vidal <david.vidal@tecnativa.com>
80
+ - Jaume Planas <jaume.planas@minorisa.net>
81
+ - `CorporateHub <https://corporatehub.eu/>`__
81
82
 
82
- * Alexey Pelykh <alexey.pelykh@corphub.eu>
83
+ - Alexey Pelykh <alexey.pelykh@corphub.eu>
83
84
 
84
- * Pedro Gonzalez <pedro.gonzalez@pesol.es>
85
-
86
- * Darius Žižys <darius@vialaurea.lt>
85
+ - Pedro Gonzalez <pedro.gonzalez@pesol.es>
86
+ - Darius Žižys <darius@vialaurea.lt>
87
87
 
88
88
  Maintainers
89
- ~~~~~~~~~~~
89
+ -----------
90
90
 
91
91
  This module is maintained by the OCA.
92
92
 
@@ -98,6 +98,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
98
98
  mission is to support the collaborative development of Odoo features and
99
99
  promote its widespread use.
100
100
 
101
- This module is part of the `OCA/account-analytic <https://github.com/OCA/account-analytic/tree/16.0/account_analytic_parent>`_ project on GitHub.
101
+ This module is part of the `OCA/account-analytic <https://github.com/OCA/account-analytic/tree/17.0/account_analytic_parent>`_ project on GitHub.
102
102
 
103
103
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
@@ -12,7 +12,7 @@
12
12
  "name": "Account Analytic Parent",
13
13
  "summary": """
14
14
  This module reintroduces the hierarchy to the analytic accounts.""",
15
- "version": "16.0.1.0.1",
15
+ "version": "17.0.1.0.0",
16
16
  "category": "Accounting & Finance",
17
17
  "license": "AGPL-3",
18
18
  "author": "Matmoz d.o.o., "
@@ -1,10 +1,6 @@
1
1
  # Copyright 2018 Brainbean Apps
2
2
  # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
3
3
 
4
- from odoo import SUPERUSER_ID, api
5
-
6
-
7
- def post_init_hook(cr, registry):
8
- env = api.Environment(cr, SUPERUSER_ID, {})
9
4
 
5
+ def post_init_hook(env):
10
6
  env["account.analytic.account"]._parent_store_compute()
@@ -4,7 +4,7 @@
4
4
  #
5
5
  msgid ""
6
6
  msgstr ""
7
- "Project-Id-Version: Odoo Server 16.0\n"
7
+ "Project-Id-Version: Odoo Server 17.0\n"
8
8
  "Report-Msgid-Bugs-To: \n"
9
9
  "Last-Translator: \n"
10
10
  "Language-Team: \n"
@@ -27,6 +27,11 @@ msgstr ""
27
27
  msgid "%(parent)s / %(own)s"
28
28
  msgstr ""
29
29
 
30
+ #. module: account_analytic_parent
31
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_administratif
32
+ msgid "Administrative"
33
+ msgstr ""
34
+
30
35
  #. module: account_analytic_parent
31
36
  #: model:ir.model,name:account_analytic_parent.model_account_analytic_account
32
37
  msgid "Analytic Account"
@@ -37,16 +42,67 @@ msgstr ""
37
42
  msgid "Child Accounts"
38
43
  msgstr ""
39
44
 
45
+ #. module: account_analytic_parent
46
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_commercial_marketing
47
+ msgid "Commercial & Marketing"
48
+ msgstr ""
49
+
40
50
  #. module: account_analytic_parent
41
51
  #: model:ir.model.fields,field_description:account_analytic_parent.field_account_analytic_account__complete_name
42
52
  msgid "Complete Name"
43
53
  msgstr ""
44
54
 
55
+ #. module: account_analytic_parent
56
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_consultancy
57
+ msgid "Consultancy"
58
+ msgstr ""
59
+
60
+ #. module: account_analytic_parent
61
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_customers
62
+ msgid "Customers"
63
+ msgstr ""
64
+
65
+ #. module: account_analytic_parent
66
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_project_1_development
67
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_project_2_development
68
+ msgid "Development"
69
+ msgstr ""
70
+
71
+ #. module: account_analytic_parent
72
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_in_house
73
+ msgid "In House"
74
+ msgstr ""
75
+
76
+ #. module: account_analytic_parent
77
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_integration
78
+ msgid "Integration"
79
+ msgstr ""
80
+
81
+ #. module: account_analytic_parent
82
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_support_internal
83
+ msgid "Internal"
84
+ msgstr ""
85
+
45
86
  #. module: account_analytic_parent
46
87
  #: model_terms:ir.ui.view,arch_db:account_analytic_parent.view_account_analytic_account_list
47
88
  msgid "Name"
48
89
  msgstr ""
49
90
 
91
+ #. module: account_analytic_parent
92
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_online
93
+ msgid "Online"
94
+ msgstr ""
95
+
96
+ #. module: account_analytic_parent
97
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_our_super_product_development
98
+ msgid "Our Super Product Development"
99
+ msgstr ""
100
+
101
+ #. module: account_analytic_parent
102
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_paid
103
+ msgid "Paid"
104
+ msgstr ""
105
+
50
106
  #. module: account_analytic_parent
51
107
  #: model:ir.model.fields,field_description:account_analytic_parent.field_account_analytic_account__parent_id
52
108
  #: model_terms:ir.ui.view,arch_db:account_analytic_parent.view_account_analytic_account_form
@@ -58,6 +114,11 @@ msgstr ""
58
114
  msgid "Parent Path"
59
115
  msgstr ""
60
116
 
117
+ #. module: account_analytic_parent
118
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_partners
119
+ msgid "Partners"
120
+ msgstr ""
121
+
61
122
  #. module: account_analytic_parent
62
123
  #. odoo-python
63
124
  #: code:addons/account_analytic_parent/models/account_analytic_account.py:0
@@ -65,6 +126,54 @@ msgstr ""
65
126
  msgid "Please activate first parent account %s"
66
127
  msgstr ""
67
128
 
129
+ #. module: account_analytic_parent
130
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_project_1
131
+ msgid "Project 1"
132
+ msgstr ""
133
+
134
+ #. module: account_analytic_parent
135
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_project_2
136
+ msgid "Project 2"
137
+ msgstr ""
138
+
139
+ #. module: account_analytic_parent
140
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_seagate_p1
141
+ msgid "Seagate P1"
142
+ msgstr ""
143
+
144
+ #. module: account_analytic_parent
145
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_seagate_p2
146
+ msgid "Seagate P2"
147
+ msgstr ""
148
+
149
+ #. module: account_analytic_parent
150
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_stable
151
+ msgid "Stable"
152
+ msgstr ""
153
+
154
+ #. module: account_analytic_parent
155
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_project_2_support
156
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_support
157
+ msgid "Support"
158
+ msgstr ""
159
+
160
+ #. module: account_analytic_parent
161
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_journal_trainings
162
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_project_1_trainings
163
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_super_product_trainings
164
+ msgid "Training"
165
+ msgstr ""
166
+
167
+ #. module: account_analytic_parent
168
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_trunk
169
+ msgid "Trunk"
170
+ msgstr ""
171
+
172
+ #. module: account_analytic_parent
173
+ #: model:account.analytic.account,name:account_analytic_parent.analytic_unpaid
174
+ msgid "Unpaid"
175
+ msgstr ""
176
+
68
177
  #. module: account_analytic_parent
69
178
  #. odoo-python
70
179
  #: code:addons/account_analytic_parent/models/account_analytic_account.py:0
@@ -129,21 +129,16 @@ class AccountAnalyticAccount(models.Model):
129
129
 
130
130
  @api.depends("complete_name", "code", "partner_id.commercial_partner_id.name")
131
131
  def _compute_display_name(self):
132
- return super()._compute_display_name()
133
-
134
- def name_get(self):
135
- res = []
136
132
  for analytic in self:
137
133
  name = analytic.complete_name
138
134
  if analytic.code:
139
- name = ("[%(code)s] %(name)s") % {"code": analytic.code, "name": name}
135
+ name = f"[{analytic.code}] {name}"
140
136
  if analytic.partner_id:
141
137
  name = _("%(name)s - %(partner)s") % {
142
138
  "name": name,
143
139
  "partner": analytic.partner_id.commercial_partner_id.name,
144
140
  }
145
- res.append((analytic.id, name))
146
- return res
141
+ analytic.display_name = name
147
142
 
148
143
  def write(self, vals):
149
144
  if self and "active" in vals and not vals["active"]:
@@ -0,0 +1,13 @@
1
+ - ForgeFlow \<<http://www.forgeflow.com>\>
2
+ - Luxim d.o.o. \<<http://www.luxim.si>\>
3
+ - Matmoz d.o.o. \<<http://www.matmoz.si>\>
4
+ - Deneroteam. \<<dhaval@deneroteam.com>\>
5
+ - SerpentCS \<<http://www.serpentcs.com/>\>
6
+ - Pedro M. Baeza \<<pedro.baeza@tecnativa.com>\>
7
+ - Vicent Cubells \<<vicent.cubells@tecnativa.com>\>
8
+ - David Vidal \<<david.vidal@tecnativa.com>\>
9
+ - Jaume Planas \<<jaume.planas@minorisa.net>\>
10
+ - [CorporateHub](https://corporatehub.eu/)
11
+ - Alexey Pelykh \<<alexey.pelykh@corphub.eu>\>
12
+ - Pedro Gonzalez \<<pedro.gonzalez@pesol.es>\>
13
+ - Darius Žižys \<<darius@vialaurea.lt>\>
@@ -0,0 +1,3 @@
1
+ This module reintroduces the hierarchy to the analytic accounts as it
2
+ was in previous versions of Odoo. This module is a base module for other
3
+ modules to manage the hierarchy concept in analytics.
@@ -0,0 +1,2 @@
1
+ Activate the analytic accounting in Accounting \> Configuration \>
2
+ Settings
@@ -366,12 +366,12 @@ ul.auto-toc {
366
366
  !! This file is generated by oca-gen-addon-readme !!
367
367
  !! changes will be overwritten. !!
368
368
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369
- !! source digest: sha256:b9c691fdfb608b2469cee070f158ac1c5fbab9df749e11c1531a770815331eaf
369
+ !! source digest: sha256:d2dfc8a53ba6f07c266c9afaa032b2dbcccf2cf487ec2499ac1b5347b284e51e
370
370
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371
- <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-analytic/tree/16.0/account_analytic_parent"><img alt="OCA/account-analytic" src="https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-account_analytic_parent"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
- <p>This module reintroduces the hierarchy to the analytic accounts as
373
- it was in previous versions of Odoo. This module is a base module for
374
- other modules to manage the hierarchy concept in analytics.</p>
371
+ <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-analytic/tree/17.0/account_analytic_parent"><img alt="OCA/account-analytic" src="https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-account_analytic_parent"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372
+ <p>This module reintroduces the hierarchy to the analytic accounts as it
373
+ was in previous versions of Odoo. This module is a base module for other
374
+ modules to manage the hierarchy concept in analytics.</p>
375
375
  <p><strong>Table of contents</strong></p>
376
376
  <div class="contents local topic" id="contents">
377
377
  <ul class="simple">
@@ -387,14 +387,15 @@ other modules to manage the hierarchy concept in analytics.</p>
387
387
  </div>
388
388
  <div class="section" id="usage">
389
389
  <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
390
- <p>Activate the analytic accounting in Accounting &gt; Configuration &gt; Settings</p>
390
+ <p>Activate the analytic accounting in Accounting &gt; Configuration &gt;
391
+ Settings</p>
391
392
  </div>
392
393
  <div class="section" id="bug-tracker">
393
394
  <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
394
395
  <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-analytic/issues">GitHub Issues</a>.
395
396
  In case of trouble, please check there if your issue has already been reported.
396
397
  If you spotted it first, help us to smash it by providing a detailed and welcomed
397
- <a class="reference external" href="https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_parent%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
398
+ <a class="reference external" href="https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_parent%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
398
399
  <p>Do not contact contributors directly about support or help with technical issues.</p>
399
400
  </div>
400
401
  <div class="section" id="credits">
@@ -437,7 +438,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
437
438
  <p>OCA, or the Odoo Community Association, is a nonprofit organization whose
438
439
  mission is to support the collaborative development of Odoo features and
439
440
  promote its widespread use.</p>
440
- <p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-analytic/tree/16.0/account_analytic_parent">OCA/account-analytic</a> project on GitHub.</p>
441
+ <p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-analytic/tree/17.0/account_analytic_parent">OCA/account-analytic</a> project on GitHub.</p>
441
442
  <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
442
443
  </div>
443
444
  </div>
@@ -12,7 +12,7 @@ from odoo.tests.common import TransactionCase
12
12
 
13
13
  class TestAccountAnalyticRecursion(TransactionCase):
14
14
  def setUp(self):
15
- super(TestAccountAnalyticRecursion, self).setUp()
15
+ super().setUp()
16
16
 
17
17
  self.analytic_account_obj = self.env["account.analytic.account"]
18
18
  self.analytic_line_obj = self.env["account.analytic.line"]
@@ -75,7 +75,12 @@ class TestAccountAnalyticRecursion(TransactionCase):
75
75
 
76
76
  def create_analytic_line(self, name, analytic, amount):
77
77
  return self.analytic_line_obj.create(
78
- {"name": name, "amount": amount, "account_id": analytic.id}
78
+ {
79
+ "name": name,
80
+ "amount": amount,
81
+ "account_id": analytic.id,
82
+ "auto_account_id": analytic.id,
83
+ }
79
84
  )
80
85
 
81
86
  def test_recursion(self):
@@ -20,7 +20,7 @@
20
20
  <field name="inherit_id" ref="analytic.view_account_analytic_account_list" />
21
21
  <field name="arch" type="xml">
22
22
  <field name="name" position="attributes">
23
- <attribute name="invisible">1</attribute>
23
+ <attribute name="column_invisible">1</attribute>
24
24
  </field>
25
25
  <field name="name" position="after">
26
26
  <field name="complete_name" string="Name" />
@@ -1,18 +1,17 @@
1
1
  Metadata-Version: 2.1
2
- Name: odoo-addon-account-analytic-parent
3
- Version: 16.0.1.0.1
2
+ Name: odoo-addon-account_analytic_parent
3
+ Version: 17.0.1.0.0.2
4
+ Requires-Python: >=3.10
5
+ Requires-Dist: odoo>=17.0a,<17.1dev
4
6
  Summary: This module reintroduces the hierarchy to the analytic accounts.
5
7
  Home-page: https://github.com/OCA/account-analytic
8
+ License: AGPL-3
6
9
  Author: Matmoz d.o.o., Luxim d.o.o., Deneroteam, ForgeFlow, Tecnativa, CorporateHub, Odoo Community Association (OCA)
7
10
  Author-email: support@odoo-community.org
8
- License: AGPL-3
9
- Platform: UNKNOWN
10
11
  Classifier: Programming Language :: Python
11
12
  Classifier: Framework :: Odoo
12
- Classifier: Framework :: Odoo :: 16.0
13
+ Classifier: Framework :: Odoo :: 17.0
13
14
  Classifier: License :: OSI Approved :: GNU Affero General Public License v3
14
- Requires-Python: >=3.10
15
- Requires-Dist: odoo <16.1dev,>=16.0a
16
15
 
17
16
  =======================
18
17
  Account Analytic Parent
@@ -23,7 +22,7 @@ Account Analytic Parent
23
22
  !! This file is generated by oca-gen-addon-readme !!
24
23
  !! changes will be overwritten. !!
25
24
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
26
- !! source digest: sha256:b9c691fdfb608b2469cee070f158ac1c5fbab9df749e11c1531a770815331eaf
25
+ !! source digest: sha256:d2dfc8a53ba6f07c266c9afaa032b2dbcccf2cf487ec2499ac1b5347b284e51e
27
26
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
27
 
29
28
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -33,20 +32,20 @@ Account Analytic Parent
33
32
  :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
34
33
  :alt: License: AGPL-3
35
34
  .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--analytic-lightgray.png?logo=github
36
- :target: https://github.com/OCA/account-analytic/tree/16.0/account_analytic_parent
35
+ :target: https://github.com/OCA/account-analytic/tree/17.0/account_analytic_parent
37
36
  :alt: OCA/account-analytic
38
37
  .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
39
- :target: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-account_analytic_parent
38
+ :target: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-account_analytic_parent
40
39
  :alt: Translate me on Weblate
41
40
  .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
42
- :target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=16.0
41
+ :target: https://runboat.odoo-community.org/builds?repo=OCA/account-analytic&target_branch=17.0
43
42
  :alt: Try me on Runboat
44
43
 
45
44
  |badge1| |badge2| |badge3| |badge4| |badge5|
46
45
 
47
- This module reintroduces the hierarchy to the analytic accounts as
48
- it was in previous versions of Odoo. This module is a base module for
49
- other modules to manage the hierarchy concept in analytics.
46
+ This module reintroduces the hierarchy to the analytic accounts as it
47
+ was in previous versions of Odoo. This module is a base module for other
48
+ modules to manage the hierarchy concept in analytics.
50
49
 
51
50
  **Table of contents**
52
51
 
@@ -56,7 +55,8 @@ other modules to manage the hierarchy concept in analytics.
56
55
  Usage
57
56
  =====
58
57
 
59
- Activate the analytic accounting in Accounting > Configuration > Settings
58
+ Activate the analytic accounting in Accounting > Configuration >
59
+ Settings
60
60
 
61
61
  Bug Tracker
62
62
  ===========
@@ -64,7 +64,7 @@ Bug Tracker
64
64
  Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-analytic/issues>`_.
65
65
  In case of trouble, please check there if your issue has already been reported.
66
66
  If you spotted it first, help us to smash it by providing a detailed and welcomed
67
- `feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_parent%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
67
+ `feedback <https://github.com/OCA/account-analytic/issues/new?body=module:%20account_analytic_parent%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
68
68
 
69
69
  Do not contact contributors directly about support or help with technical issues.
70
70
 
@@ -72,7 +72,7 @@ Credits
72
72
  =======
73
73
 
74
74
  Authors
75
- ~~~~~~~
75
+ -------
76
76
 
77
77
  * Matmoz d.o.o.
78
78
  * Luxim d.o.o.
@@ -82,27 +82,26 @@ Authors
82
82
  * CorporateHub
83
83
 
84
84
  Contributors
85
- ~~~~~~~~~~~~
85
+ ------------
86
86
 
87
- * ForgeFlow <http://www.forgeflow.com>
88
- * Luxim d.o.o. <http://www.luxim.si>
89
- * Matmoz d.o.o. <http://www.matmoz.si>
90
- * Deneroteam. <dhaval@deneroteam.com>
91
- * SerpentCS <http://www.serpentcs.com/>
92
- * Pedro M. Baeza <pedro.baeza@tecnativa.com>
93
- * Vicent Cubells <vicent.cubells@tecnativa.com>
94
- * David Vidal <david.vidal@tecnativa.com>
95
- * Jaume Planas <jaume.planas@minorisa.net>
96
- * `CorporateHub <https://corporatehub.eu/>`__
87
+ - ForgeFlow <http://www.forgeflow.com>
88
+ - Luxim d.o.o. <http://www.luxim.si>
89
+ - Matmoz d.o.o. <http://www.matmoz.si>
90
+ - Deneroteam. <dhaval@deneroteam.com>
91
+ - SerpentCS <http://www.serpentcs.com/>
92
+ - Pedro M. Baeza <pedro.baeza@tecnativa.com>
93
+ - Vicent Cubells <vicent.cubells@tecnativa.com>
94
+ - David Vidal <david.vidal@tecnativa.com>
95
+ - Jaume Planas <jaume.planas@minorisa.net>
96
+ - `CorporateHub <https://corporatehub.eu/>`__
97
97
 
98
- * Alexey Pelykh <alexey.pelykh@corphub.eu>
98
+ - Alexey Pelykh <alexey.pelykh@corphub.eu>
99
99
 
100
- * Pedro Gonzalez <pedro.gonzalez@pesol.es>
101
-
102
- * Darius Žižys <darius@vialaurea.lt>
100
+ - Pedro Gonzalez <pedro.gonzalez@pesol.es>
101
+ - Darius Žižys <darius@vialaurea.lt>
103
102
 
104
103
  Maintainers
105
- ~~~~~~~~~~~
104
+ -----------
106
105
 
107
106
  This module is maintained by the OCA.
108
107
 
@@ -114,8 +113,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
114
113
  mission is to support the collaborative development of Odoo features and
115
114
  promote its widespread use.
116
115
 
117
- This module is part of the `OCA/account-analytic <https://github.com/OCA/account-analytic/tree/16.0/account_analytic_parent>`_ project on GitHub.
116
+ This module is part of the `OCA/account-analytic <https://github.com/OCA/account-analytic/tree/17.0/account_analytic_parent>`_ project on GitHub.
118
117
 
119
118
  You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
120
-
121
-
@@ -1,10 +1,10 @@
1
- odoo/addons/account_analytic_parent/README.rst,sha256=5hzlp6Lm5sSqWt8sd6wVtj5OfltVkPeq7dlycWgULZc,3711
1
+ odoo/addons/account_analytic_parent/README.rst,sha256=07gT9ey-W-twoB9tyhczBo5M79wwHKwI1tajVxDrx8w,3724
2
2
  odoo/addons/account_analytic_parent/__init__.py,sha256=6CGLNMVZ--55FOPBhnKu8w7kW6vI0d0VoZ2uqINXyNU,126
3
- odoo/addons/account_analytic_parent/__manifest__.py,sha256=QIno6dFlq6lKSBeVPFQPiURmiieeXlj9DKtal0ycV_Q,1008
4
- odoo/addons/account_analytic_parent/hooks.py,sha256=Ut1FiPGgyzaBXOA71QtBK6LxJKYKb9nPvBfmpohhpiM,283
3
+ odoo/addons/account_analytic_parent/__manifest__.py,sha256=COfJy-b-3DJaanGt4pR2JDX0vyXRcQWkyeEOCKXqtwc,1008
4
+ odoo/addons/account_analytic_parent/hooks.py,sha256=rJdMeNILgsJbBTLD4vZCadD-_wr1OyfQilwtdgaB9qI,189
5
5
  odoo/addons/account_analytic_parent/demo/analytic_account_demo.xml,sha256=_Gd7AU9lEstN91QvTaTwny4UJ3iBBvuEzYypwZ3Lj9o,10397
6
6
  odoo/addons/account_analytic_parent/i18n/ab.po,sha256=Q-N29sm7oY6AOiWfCjdzwkyy6YzHlilH87JIM1solWE,2337
7
- odoo/addons/account_analytic_parent/i18n/account_analytic_parent.pot,sha256=WhVJ54fwtDPklI33GX1DhTT3moqblYSfmP_vFPtVF34,2267
7
+ odoo/addons/account_analytic_parent/i18n/account_analytic_parent.pot,sha256=tWS2CyvAxkeeh1n-slRjDlngmuT9pqmrTlo6U6MubfU,5773
8
8
  odoo/addons/account_analytic_parent/i18n/ca.po,sha256=qJEC_7zdAkfNBbGSs_6I7GniO7x-B79vXXPSb1uGRF4,2861
9
9
  odoo/addons/account_analytic_parent/i18n/cs_CZ.po,sha256=Qrl44USxswbQSYNDtHzyQje7doovMgQssLvaqcH_G2I,3858
10
10
  odoo/addons/account_analytic_parent/i18n/de.po,sha256=mL5GWO1iemcTmzUO5qkw2vb5rB3d6IPE3CeD7INzJj8,2683
@@ -30,16 +30,16 @@ odoo/addons/account_analytic_parent/i18n/sl.po,sha256=tDT8pyF9vdzan12TewV1xL1Y8l
30
30
  odoo/addons/account_analytic_parent/i18n/th.po,sha256=1UWr0pTXzStbhD87AgN56jiPg8enLQCcTcUr7aQYuAw,2439
31
31
  odoo/addons/account_analytic_parent/i18n/zh_CN.po,sha256=7RrT_j9U1IjX_yx5XHVhEza0lb4XU63kHNedAYY3hHU,2882
32
32
  odoo/addons/account_analytic_parent/models/__init__.py,sha256=7uxHf6TyJtDL6iwhla4Wygnct5harxNRDmwWZceq9og,110
33
- odoo/addons/account_analytic_parent/models/account_analytic_account.py,sha256=Rc5s2QOKYKU5Tm-20VNutFDlJAx33u2gRragBX4Wt6I,5259
34
- odoo/addons/account_analytic_parent/readme/CONTRIBUTORS.rst,sha256=LzodbjB1SF293AUuaZTUfy0lf5OWpb9FPdg6bboCo-w,547
35
- odoo/addons/account_analytic_parent/readme/DESCRIPTION.rst,sha256=k8sbc5vr635P3bgxSraw2NFumr3ayG78JTsGHB0rYZs,197
36
- odoo/addons/account_analytic_parent/readme/USAGE.rst,sha256=JCUSqD9sTzQW3GF77cpNdE5W9kgNEwVPqbfjBEAlkmc,74
33
+ odoo/addons/account_analytic_parent/models/account_analytic_account.py,sha256=Qxw-jru-1X1G0Z0yed6QZhuNtwBxAld65NUz-gnBFzg,5112
34
+ odoo/addons/account_analytic_parent/readme/CONTRIBUTORS.md,sha256=54dpLVElwh3JpuUe22GFKdFhYuY_TRqw2_f49Yet8mk,589
35
+ odoo/addons/account_analytic_parent/readme/DESCRIPTION.md,sha256=fBiBB8oI1FkEDYBuo6s2W3zFrV6hTwIRoBB11c8Y8Qs,197
36
+ odoo/addons/account_analytic_parent/readme/USAGE.md,sha256=tEBpXigcjtsUqKG4aal8Sch9zEUlW4ya4OKEP01zS7c,76
37
37
  odoo/addons/account_analytic_parent/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
38
- odoo/addons/account_analytic_parent/static/description/index.html,sha256=IPworTpHA3KmP7Orhvjo-GRJx77YzCqJUqOYzyZ_-Bw,14170
38
+ odoo/addons/account_analytic_parent/static/description/index.html,sha256=p6gDrw-ixuUBKTy2xL-p-nEI1Gn-fsyU3Y6-wEHsaCs,14170
39
39
  odoo/addons/account_analytic_parent/tests/__init__.py,sha256=wl6XwlTDhO-sJrowvXGQSnMyYLPnlcLGCu9SyMpUQpA,115
40
- odoo/addons/account_analytic_parent/tests/test_account_analytic_account.py,sha256=lp2GcThDP8LBolPLTNnKxkZ5LDmXAGi2ly55t2Neluo,5145
41
- odoo/addons/account_analytic_parent/views/account_analytic_account_view.xml,sha256=fOOOj2IAlJnUt9LOafMLpfscDZ7jIWYdmdrtaDxU6LU,1309
42
- odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info/METADATA,sha256=wTIxU8T_ByTUSU4TSRhfFxWwlmkR1X10zCxnLQ0BFCI,4363
43
- odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
44
- odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
45
- odoo_addon_account_analytic_parent-16.0.1.0.1.dist-info/RECORD,,
40
+ odoo/addons/account_analytic_parent/tests/test_account_analytic_account.py,sha256=IEU68SO1ALMWcWc8aVuca6UF4c6urq7Lu2yshVRYghQ,5222
41
+ odoo/addons/account_analytic_parent/views/account_analytic_account_view.xml,sha256=mBswktvXEtcNoPhS1R-oy_CAIWDf393LJrmiVnmXe6g,1316
42
+ odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info/METADATA,sha256=t4TngHKT3FOs_zcZXRY6WjZpdNCX0Y9c6Ccp8VBJnu8,4357
43
+ odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info/WHEEL,sha256=n-3R37xDTBUi7r4325OZjhJyVIEQGKiCsyQgb8zW73A,81
44
+ odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info/top_level.txt,sha256=QE6RBQ0QX5f4eFuUcGgU5Kbq1A_qJcDs-e_vpr6pmfU,4
45
+ odoo_addon_account_analytic_parent-17.0.1.0.0.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: Whool 1.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,16 +0,0 @@
1
- * ForgeFlow <http://www.forgeflow.com>
2
- * Luxim d.o.o. <http://www.luxim.si>
3
- * Matmoz d.o.o. <http://www.matmoz.si>
4
- * Deneroteam. <dhaval@deneroteam.com>
5
- * SerpentCS <http://www.serpentcs.com/>
6
- * Pedro M. Baeza <pedro.baeza@tecnativa.com>
7
- * Vicent Cubells <vicent.cubells@tecnativa.com>
8
- * David Vidal <david.vidal@tecnativa.com>
9
- * Jaume Planas <jaume.planas@minorisa.net>
10
- * `CorporateHub <https://corporatehub.eu/>`__
11
-
12
- * Alexey Pelykh <alexey.pelykh@corphub.eu>
13
-
14
- * Pedro Gonzalez <pedro.gonzalez@pesol.es>
15
-
16
- * Darius Žižys <darius@vialaurea.lt>
@@ -1,3 +0,0 @@
1
- This module reintroduces the hierarchy to the analytic accounts as
2
- it was in previous versions of Odoo. This module is a base module for
3
- other modules to manage the hierarchy concept in analytics.
@@ -1 +0,0 @@
1
- Activate the analytic accounting in Accounting > Configuration > Settings