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

[17.0][MIG] procurement_mto_analytic #647

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
098ae42
migration to v7
Jun 7, 2013
3306b13
merge with mathieu
yvanpatry Jun 13, 2013
2be3ced
update for migration V7
Pierre-Monod Jun 13, 2013
6bb9de6
add images
Aug 14, 2013
c725d52
update for wilog v7.0
Pierre-Monod Sep 3, 2013
58248fa
Add contract customer invoice and migrate [IMP] SMS erase print [IMP]…
yvanpatry Sep 3, 2013
3dd157b
 - change the logo of all modules
mathieuvatel Mar 18, 2014
894d517
- Added new module stock_analytic
fv-clearcorp Nov 19, 2015
5f46632
Adapt original module according OCA Standard
andhit-r Feb 5, 2016
9b07f25
[MIG]stock_analytic to v9
AaronHForgeFlow Apr 3, 2017
deb3cdf
[MIG]stock_analytic to v10
AaronHForgeFlow Jun 28, 2017
cf00ab4
11.0 MIG stock_analytic
jaredkipe Mar 19, 2018
5bafae3
Add the ability to pick Analytic account on picking form.
jaredkipe Oct 30, 2018
8f22389
Translated using Weblate (German)
rschnapka Jan 21, 2019
20a5997
[MIG]stock_analytic to v12
AaronHForgeFlow Jan 30, 2019
a47c513
[MIG] Updated the tests of the module stock_analytic.
Jun 13, 2019
59dc3b2
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 2, 2019
2aa857a
Translated using Weblate (Catalan)
Oct 7, 2019
3d1ecab
[12.0] [FIX] Wrong runbot link in readme
Jerther Oct 15, 2019
01a89fe
[12.0] [FIX] stock_analytic: Analytic account field is in wrong page
Jerther Oct 16, 2019
a95b083
Translated using Weblate (Croatian)
badbole Nov 13, 2019
1e8c50e
[IMP] stock_analytic: Add analytic account to scrap
max3903 Nov 20, 2019
bdd3250
Translated using Weblate (German)
marylla Jan 29, 2020
9609bc1
Translated using Weblate (Portuguese)
alvarorib Feb 18, 2020
47a1947
Translated using Weblate (Spanish)
ruthbeat Mar 2, 2020
102f32f
[FIX] Apply analytic account on COGS account when booking customer in…
Feb 4, 2020
1a54a6d
[IMP] stock_analytic: black, isort
jimhoefnagels Mar 24, 2020
6e456d9
[MIG] stock_analytic: Migration to 13.0
jimhoefnagels Mar 24, 2020
b35d6c6
stock_analytic 12.0.1.1.2
jimhoefnagels May 11, 2020
fd8a222
[IMP] stock_analytic: black, isort
jimhoefnagels May 11, 2020
681f0b4
[MIG] stock_analytic: Migration to 13.0
jimhoefnagels May 11, 2020
00ec9b1
Translated using Weblate (Portuguese (Brazil))
Aug 12, 2020
9d77082
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
e75f6d0
[13.0][IMP] stock_analytic - add analytic tags on stock move
baimont Nov 9, 2020
fe6dfda
[IMP] stock_analytic: black, isort, prettier
alan196 Jan 28, 2021
d50e4cd
[MIG] stock_analytic: Migration to 14.0
alan196 Jan 28, 2021
567503e
[14.0][IMP] stock_analytic: Transmit analytic account to new moves
rousseldenis Nov 26, 2021
e410fba
Translated using Weblate (Portuguese (Brazil))
Feb 1, 2022
caf5504
Translated using Weblate (Catalan)
Noel000 Mar 21, 2022
7eac7d5
[14.0][IMP] stock_analytic: Add analytic on move lines tree view
rousseldenis Dec 28, 2021
d91a479
[IMP] stock_analytic: Take into account extra move lines flow
rousseldenis May 17, 2022
2f19cf1
[MIG] stock_analytic: Migration to 16.0
nicomacr Dec 6, 2022
98a14fe
[IMP] stock_analytic: add validation on analytic distribution
yostashiro Jan 23, 2023
e5d6355
[16.0][IMP] stock_analytic: add analytic distribution to move tree re…
ThiagoMForgeFlow Jun 15, 2023
6e5110d
Translated using Weblate (Dutch)
Jan-Onestein Oct 17, 2023
ea47702
Translated using Weblate (Spanish)
Ivorra78 Oct 19, 2023
9113bf8
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 28, 2023
5f4c575
[IMP] stock_analytic: pre-commit stuff
moitabenfdz Dec 21, 2023
f73b68e
[MIG] stock_analytic: Migration to 17.0
moitabenfdz Dec 21, 2023
f9ed7bc
[13.0][ADD] new module sale_stock_analytic
baimont Nov 10, 2020
192b337
[14.0][MIG] sale_stock_analytic
rousseldenis Nov 2, 2021
a915813
[IMP] sale_stock_analytic: Depends on sale_stock
rousseldenis Nov 2, 2021
cf77e63
[IMP] sale_stock_analytic: Improve tests
rousseldenis Nov 2, 2021
cb21c36
[MIG] sale_stock_analytic: Migration to 15.0
moitabenfdz Dec 21, 2023
56252c2
[MIG] sale_stock_analytic: Migration to 16.0
moitabenfdz Jan 2, 2024
5b900c8
[IMP] sale_stock_analytic: pre-commit stuff
moitabenfdz Jan 2, 2024
96ea9fa
[MIG] sale_stock_analytic: Migration to 17.0
moitabenfdz Jan 2, 2024
9662bfa
account_analytic_parent
AaronHForgeFlow Apr 12, 2017
48e48df
[IMP] account_analytic_parent: add tree view to adviser wizard + Add …
cubells May 12, 2017
4bc276a
[MIG] account_analytic_parent: Migration to 10.0
chienandalu Jun 27, 2017
f17d9c3
OCA Transbot updated translations from Transifex
oca-transbot Jun 30, 2017
879517a
[MIG] account_analytic_parent: Migration to 11.0
Apr 9, 2018
da1d593
[UPD] Update account_analytic_parent.pot
oca-travis Oct 2, 2018
2cc6778
Translated using Weblate (German)
rschnapka Oct 10, 2018
e9f5514
Translated using Weblate (Catalan)
Oct 12, 2018
5324e3a
[IMP] account_analytic_parent: performance (#200)
AaronHForgeFlow Nov 16, 2018
1000187
[IMP]propagate active through hierarchy
AaronHForgeFlow Oct 10, 2018
27738de
[UPD] Update account_analytic_parent.pot
oca-travis Nov 27, 2018
1e7a75e
[MIG] account_analytic_parent: Migration to 12.0
alexey-pelykh Nov 19, 2018
86a45d8
[UPD] Update account_analytic_parent.pot
oca-travis Dec 3, 2018
a830484
Update translation files
oca-transbot Dec 9, 2018
83c32ed
Translated using Weblate (Spanish)
mvrodriguez Feb 1, 2019
00c9889
Added translation using Weblate (Galician)
mvrodriguez Feb 4, 2019
386fdd5
Added translation using Weblate (Galician)
mvrodriguez Feb 4, 2019
f6080f2
Fix compute credit debit and balance
cubells Jan 4, 2019
72b47ce
[IMP] account_analytic_parent: improve account tree view
cubells Jan 3, 2019
c27dfc3
Translated using Weblate (Galician)
mvrodriguez Feb 4, 2019
1f50712
[MIG] account_analytic_parent: improve account tree view
alexey-pelykh Feb 4, 2019
a0501fb
[IMP] account_analytic_parent: Improvement on the read_group
pedrobaeza Feb 5, 2019
7a7e87e
[IMP] account_analytic_parent: Further improvement on read_group
alexey-pelykh Feb 4, 2019
f16aa0f
[FIX] account_analytic_parent: compute parent_path
alexey-pelykh Feb 12, 2019
687b336
[UPD] Update account_analytic_parent.pot
oca-travis Feb 14, 2019
5bccbbd
Update translation files
oca-transbot Mar 3, 2019
972e037
Translated using Weblate (Dutch)
Apr 2, 2019
2787a29
Translated using Weblate (Croatian)
badbole May 3, 2019
8827737
Translated using Weblate (French)
BECJIE32 May 3, 2019
cc0408b
Translated using Weblate (Spanish)
BECJIE32 May 3, 2019
15d8a86
Translated using Weblate (Catalan)
May 27, 2019
0c55aed
Translated using Weblate (Spanish)
pedrobaeza May 27, 2019
ab529c1
Translated using Weblate (Spanish)
enriquemartin Jul 16, 2019
203bd7f
[UPD] README.rst
OCA-git-bot Jul 29, 2019
b2639e3
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Aug 2, 2019
0241ee0
Translated using Weblate (French)
gurneyalex Aug 6, 2019
5fff75b
Translated using Weblate (Slovenian)
sysadminmatmoz Aug 8, 2019
b3cd20a
Translated using Weblate (Chinese (Simplified))
liweijie0812 Aug 29, 2019
5414860
Translated using Weblate (Catalan)
Oct 7, 2019
ccc69e1
[IMP] account_analytic_parent: black, isort
pegonzalezspesol Nov 20, 2019
3ebbf79
[MIG] account_analytic_parent: Migration to 13.0
pegonzalezspesol Nov 20, 2019
21b4dcf
[UPD] Update account_analytic_parent.pot
oca-travis Mar 26, 2020
4619b26
[UPD] README.rst
OCA-git-bot Mar 26, 2020
0e505ae
Update translation files
oca-transbot Mar 30, 2020
4a526bb
[UPD] Eficent -> ForgeFlow
MiquelRForgeFlow Sep 30, 2020
05fa66e
Added translation using Weblate (Abkhazian)
Sep 30, 2020
3559edb
Added translation using Weblate (Thai)
Sep 30, 2020
0214617
[UPD] README.rst
OCA-git-bot Oct 5, 2020
434bdb0
[UPD] Brainbean Apps => CorporateHub
alexey-pelykh Nov 8, 2020
c74d65b
[UPD] README.rst
OCA-git-bot Nov 8, 2020
7c09ff9
Translated using Weblate (Galician)
Feb 10, 2021
28d1890
Translated using Weblate (Galician)
Feb 11, 2021
2504f81
[IMP] account_analytic_parent: black, isort, prettier
cvinh Feb 18, 2021
0f9891a
[MIG] account_analytic_parent: Migration to 14.0
cvinh Feb 18, 2021
c002e57
[UPD] Update account_analytic_parent.pot
oca-travis Feb 24, 2021
3e4fa2a
[UPD] README.rst
OCA-git-bot Feb 24, 2021
283f0c0
[FIX] account_analytic_parent: resolve conflict
hailangvn Jan 15, 2022
c253b63
account_analytic_parent 14.0.1.0.1
OCA-git-bot Jan 15, 2022
f286f81
[MIG] account_analytic_parent: Migration to 15.0
Dariosi Jan 28, 2022
e19ca89
[UPD] Update account_analytic_parent.pot
Feb 8, 2022
6871011
[UPD] README.rst
OCA-git-bot Feb 8, 2022
2e8b6ed
Translated using Weblate (French)
ypapouin Jun 9, 2022
76e0081
[MIG] account_analytic_parent: Migration to 16.0
Nov 29, 2022
2480c07
[UPD] Update account_analytic_parent.pot
Jan 12, 2024
55b4e5a
[BOT] post-merge updates
OCA-git-bot Jan 12, 2024
00f16de
Update translation files
weblate Jan 12, 2024
6c30e03
Added translation using Weblate (Italian)
mymage Feb 23, 2024
2998cbe
Translated using Weblate (Italian)
mymage Feb 23, 2024
6384d52
[IMP] account_analytic_parent: pre-commit auto fixes
RicardCForgeFlow Mar 11, 2024
6cb9be1
[MIG] account_analytic_parent: Migration to 17.0
RicardCForgeFlow Mar 13, 2024
5552242
[UPD] Update account_analytic_parent.pot
Mar 18, 2024
9bf979e
[BOT] post-merge updates
OCA-git-bot Mar 18, 2024
562f1d5
Update translation files
weblate Mar 18, 2024
356975d
Translated using Weblate (Italian)
mymage Mar 19, 2024
a09cec9
[MIG] purchase_procurement_analytic > procurement_mto_analytic: Migra…
Nov 14, 2018
d3a2ce5
[UPD] README.rst
OCA-git-bot Nov 20, 2018
5deda41
[UPD] Update procurement_mto_analytic.pot
oca-travis Nov 20, 2018
ece5c5f
[MIG] procurement_mto_analytic: Migration to 12.0
Feb 18, 2019
6f65d57
[ADD] Add feature to set analytic account for purchase lines of servi…
Feb 19, 2019
5e6a185
[UPD] README.rst
OCA-git-bot Feb 25, 2019
7e7d715
[UPD] Update procurement_mto_analytic.pot
oca-travis Feb 25, 2019
74b4913
[UPD] README.rst
OCA-git-bot Jul 29, 2019
ca39646
[IMP] procurement_mto_analytic: black, isort
ps-tubtim Jan 8, 2020
6456dff
[MIG] procurement_mto_analytic: Migration to 13.0
ps-tubtim Mar 24, 2020
3f1614f
[UPD] Update procurement_mto_analytic.pot
oca-travis Mar 24, 2020
89aea40
Added translation using Weblate (Spanish)
eduardgm Mar 26, 2021
7e389a0
Added translation using Weblate (Catalan)
eduardgm Mar 26, 2021
b3877de
Translated using Weblate (Spanish)
eduardgm Mar 26, 2021
c76b984
Translated using Weblate (Catalan)
eduardgm Mar 26, 2021
7c34405
[IMP] procurement_mto_analytic: black, isort, prettier
alan196 Nov 29, 2021
9d1d8c6
[MIG] : Migration to 15.0
alan196 Nov 29, 2021
1df43bd
[UPD] Update procurement_mto_analytic.pot
Feb 7, 2022
d259710
[UPD] README.rst
OCA-git-bot Feb 7, 2022
3d0605e
[UPD] README.rst
OCA-git-bot Sep 3, 2023
9eff54b
Update translation files
weblate Oct 9, 2023
7d5be93
Translated using Weblate (Spanish)
Ivorra78 Oct 23, 2023
45d3235
[IMP] procurement_mto_analytic: pre-commit auto fixes
aisopuro Apr 16, 2024
02699ca
[MIG] procurement_mto_analytic: Migration to 17.0
aisopuro Apr 22, 2024
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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ TODO: add repo description.

[//]: # (addons)

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.
Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[account_analytic_parent](account_analytic_parent/) | 17.0.1.0.0 | | This module reintroduces the hierarchy to the analytic accounts.

[//]: # (end addons)

Expand Down
103 changes: 103 additions & 0 deletions account_analytic_parent/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
=======================
Account Analytic Parent
=======================

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

.. |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/account_analytic_parent
: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-account_analytic_parent
: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 reintroduces the hierarchy to the analytic accounts as it
was in previous versions of Odoo. This module is a base module for other
modules to manage the hierarchy concept in analytics.

**Table of contents**

.. contents::
:local:

Usage
=====

Activate the analytic accounting in Accounting > Configuration >
Settings

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

* Matmoz d.o.o.
* Luxim d.o.o.
* Deneroteam
* ForgeFlow
* Tecnativa
* CorporateHub

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

- ForgeFlow <http://www.forgeflow.com>
- Luxim d.o.o. <http://www.luxim.si>
- Matmoz d.o.o. <http://www.matmoz.si>
- Deneroteam. <dhaval@deneroteam.com>
- SerpentCS <http://www.serpentcs.com/>
- Pedro M. Baeza <pedro.baeza@tecnativa.com>
- Vicent Cubells <vicent.cubells@tecnativa.com>
- David Vidal <david.vidal@tecnativa.com>
- Jaume Planas <jaume.planas@minorisa.net>
- `CorporateHub <https://corporatehub.eu/>`__

- Alexey Pelykh <alexey.pelykh@corphub.eu>

- Pedro Gonzalez <pedro.gonzalez@pesol.es>
- Darius Žižys <darius@vialaurea.lt>

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/account_analytic_parent>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions account_analytic_parent/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
from .hooks import post_init_hook
30 changes: 30 additions & 0 deletions account_analytic_parent/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2017 ForgeFlow S.L.
# Copyright 2017 Luxim d.o.o.
# Copyright 2017 Matmoz d.o.o.
# Copyright 2017 Deneroteam.
# Copyright 2017 Serpent Consulting Services Pvt. Ltd.
# Copyright 2017 Tecnativa
# Copyright 2018 Brainbean Apps
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Account Analytic Parent",
"summary": """
This module reintroduces the hierarchy to the analytic accounts.""",
"version": "17.0.1.0.0",
"category": "Accounting & Finance",
"license": "AGPL-3",
"author": "Matmoz d.o.o., "
"Luxim d.o.o., "
"Deneroteam, "
"ForgeFlow, "
"Tecnativa, "
"CorporateHub, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-analytic",
"depends": ["account", "analytic"],
"data": ["views/account_analytic_account_view.xml"],
"demo": ["demo/analytic_account_demo.xml"],
"post_init_hook": "post_init_hook",
}
202 changes: 202 additions & 0 deletions account_analytic_parent/demo/analytic_account_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!--
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
-->
<record id="analytic_project_1" model="account.analytic.account">
<field name="name">Project 1</field>
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic_project_2" model="account.analytic.account">
<field name="name">Project 2</field>
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic_journal_trainings" model="account.analytic.account">
<field name="name">Training</field>
<field name="parent_id" ref="analytic.analytic_internal" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_in_house" model="account.analytic.account">
<field name="name">In House</field>
<field name="parent_id" ref="analytic_journal_trainings" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_online" model="account.analytic.account">
<field name="name">Online</field>
<field name="parent_id" ref="analytic_journal_trainings" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_support" model="account.analytic.account">
<field name="name">Support</field>
<field name="parent_id" ref="analytic.analytic_our_super_product" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_partners" model="account.analytic.account">
<field name="name">Partners</field>
<field name="parent_id" ref="analytic_support" />
<field name="plan_id" ref="analytic.analytic_plan_internal" />
</record>
<record id="analytic_customers" model="account.analytic.account">
<field name="name">Customers</field>
<field name="parent_id" ref="analytic_support" />
<field name="plan_id" ref="analytic.analytic_plan_internal" />
</record>
<record id="analytic_support_internal" model="account.analytic.account">
<field name="name">Internal</field>
<field name="parent_id" ref="analytic_support" />
<field name="plan_id" ref="analytic.analytic_plan_internal" />
</record>
<record id="analytic_integration" model="account.analytic.account">
<field name="name">Integration</field>
<field name="parent_id" ref="analytic.analytic_our_super_product" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_consultancy" model="account.analytic.account">
<field name="name">Consultancy</field>
<field name="parent_id" ref="analytic.analytic_our_super_product" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_super_product_trainings" model="account.analytic.account">
<field name="name">Training</field>
<field name="parent_id" ref="analytic.analytic_our_super_product" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_seagate_p1" model="account.analytic.account">
<field name="name">Seagate P1</field>
<field name="parent_id" ref="analytic_integration" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic_seagate_p2" model="account.analytic.account">
<field name="name">Seagate P2</field>
<field name="parent_id" ref="analytic_integration" />
<field name="partner_id" ref="base.res_partner_4" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record
id="analytic.analytic_millennium_industries"
model="account.analytic.account"
>
<field name="name">Millennium Industries</field>
<field name="parent_id" ref="analytic_integration" />
<field name="partner_id" ref="base.res_partner_2" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic.analytic_integration_c2c" model="account.analytic.account">
<field name="name">CampToCamp</field>
<field name="parent_id" ref="analytic_integration" />
<field name="partner_id" ref="base.res_partner_1" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic.analytic_agrolait" model="account.analytic.account">
<field name="name">Agrolait</field>
<field name="parent_id" ref="analytic_customers" />
<field name="partner_id" ref="base.res_partner_2" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic.analytic_asustek" model="account.analytic.account">
<field name="name">Asustek</field>
<field name="parent_id" ref="analytic_customers" />
<field name="partner_id" ref="base.res_partner_1" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic.analytic_deltapc" model="account.analytic.account">
<field name="name">Delta PC</field>
<field name="parent_id" ref="analytic_customers" />
<field name="partner_id" ref="base.res_partner_4" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic.analytic_spark" model="account.analytic.account">
<field name="name">Spark Systems</field>
<field name="parent_id" ref="analytic_partners" />
<field name="partner_id" ref="base.res_partner_1" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic.analytic_nebula" model="account.analytic.account">
<field name="name">Nebula</field>
<field name="parent_id" ref="analytic_partners" />
<field name="partner_id" ref="base.res_partner_2" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record
id="analytic.analytic_luminous_technologies"
model="account.analytic.account"
>
<field name="name">Luminous Technologies</field>
<field name="parent_id" ref="analytic_partners" />
<field name="partner_id" ref="base.res_partner_1" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record id="analytic.analytic_think_big_systems" model="account.analytic.account">
<field name="name">Think Big Systems</field>
<field name="parent_id" ref="analytic_partners" />
<field name="partner_id" ref="base.res_partner_2" />
<field name="plan_id" ref="analytic.analytic_plan_projects" />
</record>
<record
id="analytic.analytic_partners_camp_to_camp"
model="account.analytic.account"
>
<field name="name">Camp to Camp</field>
<field name="parent_id" ref="analytic_partners" />
<field name="partner_id" ref="base.res_partner_3" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_project_2_support" model="account.analytic.account">
<field name="name">Support</field>
<field name="parent_id" ref="analytic_project_2" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_project_2_development" model="account.analytic.account">
<field name="name">Development</field>
<field name="parent_id" ref="analytic_project_2" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_project_1_trainings" model="account.analytic.account">
<field name="name">Training</field>
<field name="parent_id" ref="analytic_project_1" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_project_1_development" model="account.analytic.account">
<field name="name">Development</field>
<field name="parent_id" ref="analytic_project_1" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_administratif" model="account.analytic.account">
<field name="name">Administrative</field>
<field name="parent_id" ref="analytic.analytic_internal" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_commercial_marketing" model="account.analytic.account">
<field name="name">Commercial &amp; Marketing</field>
<field name="parent_id" ref="analytic.analytic_internal" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record
id="analytic_our_super_product_development"
model="account.analytic.account"
>
<field name="name">Our Super Product Development</field>
<field name="parent_id" ref="analytic.analytic_internal" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_stable" model="account.analytic.account">
<field name="name">Stable</field>
<field name="parent_id" ref="analytic_our_super_product_development" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_trunk" model="account.analytic.account">
<field name="name">Trunk</field>
<field name="parent_id" ref="analytic_our_super_product_development" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_paid" model="account.analytic.account">
<field name="name">Paid</field>
<field name="parent_id" ref="analytic.analytic_absences" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
<record id="analytic_unpaid" model="account.analytic.account">
<field name="name">Unpaid</field>
<field name="parent_id" ref="analytic.analytic_absences" />
<field name="plan_id" ref="analytic.analytic_plan_departments" />
</record>
</odoo>
6 changes: 6 additions & 0 deletions account_analytic_parent/hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2018 Brainbean Apps
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).


def post_init_hook(env):
env["account.analytic.account"]._parent_store_compute()
Loading