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] [REF] [MIG] coopiteasy_custom #106

Open
wants to merge 43 commits into
base: 16.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
c9874f2
[ADD] cie_custom: uri and priority fields
robinkeunen May 10, 2019
d3829e1
[ADD] cie_custom: cron to fix qty_delivered on sale_orders linked to …
robinkeunen May 24, 2019
c7095da
[ADD] cie_custom: priority on kanban and tree views
robinkeunen Jun 13, 2019
03a10d7
[ADD] cie_custom: fields on tasks
robinkeunen Dec 24, 2019
15ad9b3
[IMP] coopaname_custom: description
robinkeunen Dec 24, 2019
2837177
[IMP] cie_custom: only display active account in activity_view
robinkeunen Sep 11, 2020
85a538d
[IMP] cie_custom: order account by frequency
robinkeunen Sep 11, 2020
2b16b83
[ADD] cie_custom: cron to compute aaa line count
robinkeunen Sep 11, 2020
4fc1051
[10.0][MIG] coopiteasy_custom: Migration to 10.0
carmenbianca Jan 11, 2022
447764e
[FIX] coopiteasy_custom: Dedent XML file
carmenbianca Jan 11, 2022
a82ee2d
[11.0][MIG] coopiteasy_custom: Migration to 11.0
carmenbianca Jan 11, 2022
9accdcf
[12.0][MIG] coopiteasy_custom: Migration to 12.0
carmenbianca Jan 11, 2022
d896d75
[FIX] coopiteasy_custom: Generate readme
carmenbianca Jan 11, 2022
b28b033
[FIX] coopiteasy_custom: Run pre-commit
carmenbianca Jan 11, 2022
1c0b67b
[FIX] coopiteasy_custom: Remove unnecessary date conversion
carmenbianca Jan 11, 2022
4a55484
[FIX] coopiteasy_custom: Remove references to account_type fields
carmenbianca Jan 11, 2022
598292b
[FIX] coopiteasy_custom: Fix cron.xml
carmenbianca Jan 11, 2022
e442eb0
[REF] coopiteasy_custom: Rename Python files
carmenbianca Jan 11, 2022
37cd12a
[IMP] coopiteasy_custom: Add helpful comment
carmenbianca Jan 14, 2022
21c8db2
[REM] coopiteasy_custom: Remove cie_fix_account_analytic_line_so_line
carmenbianca Jan 28, 2022
7d6cd38
[FIX] coopiteasy_custom: Run pre-commit
carmenbianca Apr 29, 2022
4394116
[UPD] Update coopiteasy_custom.pot
Apr 29, 2022
017344a
Regenerate all README.rst
carmenbianca May 6, 2022
ddb2f12
[IMP] limit timesheet activity projects selection
huguesdk May 31, 2022
080f184
[FIX] order projects by recent timesheet lines
huguesdk May 31, 2022
475637d
[FIX] limit timesheet projects in more views
huguesdk Jun 3, 2022
94fe52d
[UPD] Update coopiteasy_custom.pot
Jun 3, 2022
5563d1d
coopiteasy_custom 12.0.1.1.0
github-grap-bot Jun 3, 2022
f3f20cc
[ADD] coopiteasy_custom: Do not make closed projects selectable in tasks
carmenbianca Jun 22, 2022
7a19b96
coopiteasy_custom 12.0.1.2.0
github-grap-bot Jun 23, 2022
4bfce6e
[FIX] SCRLfs → SC
carmenbianca Jun 29, 2022
f07a9a8
[IMP] search through all tasks in timesheet lines
huguesdk Jul 6, 2023
59c4591
[UPD] Update coopiteasy_custom.pot
Jul 6, 2023
18778aa
[UPD] README.rst
github-grap-bot Jul 6, 2023
00947ee
coopiteasy_custom 12.0.1.3.0
github-grap-bot Jul 6, 2023
f70b45b
[IMP] coopiteasy_custom: black, isort, prettier
victor-champonnois Jul 26, 2023
e89b126
[REF] split coopiteasy_custom -> task_author_id
victor-champonnois Jul 26, 2023
305844b
[FIX] task view overide
victor-champonnois Jul 26, 2023
592f268
[MIG] coopiteasy_custom: Migration to 13.0
victor-champonnois Jul 26, 2023
0fc8a2f
[MIG] coopiteasy_custom: Migration to 14.0
victor-champonnois Jul 26, 2023
c8310b8
[MIG] coopiteasy_custom: Migration to 15.0
victor-champonnois Jul 26, 2023
9728c71
[MIG] coopiteasy_custom: Migration to 16.0
victor-champonnois Jul 26, 2023
63cf94c
fixup! [MIG] coopiteasy_custom: Migration to 16.0
robinkeunen Jan 24, 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
60 changes: 60 additions & 0 deletions coopiteasy_custom/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
==========================
Coop IT Easy Customization
==========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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-coopiteasy%2Fcie--custom-lightgray.png?logo=github
:target: https://github.com/coopiteasy/cie-custom/tree/12.0/coopiteasy_custom
:alt: coopiteasy/cie-custom

|badge1| |badge2| |badge3|

This module was emptied on migration to v16. It can be safely uninstalled.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/coopiteasy/cie-custom/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/coopiteasy/cie-custom/issues/new?body=module:%20coopiteasy_custom%0Aversion:%2012.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
~~~~~~~

* Coop IT Easy SC

Contributors
~~~~~~~~~~~~

* `Coop IT Easy SC <https://coopiteasy.be>`_:

* Robin Keunen
* Carmen Bianca Bakker

Maintainers
~~~~~~~~~~~

This module is part of the `coopiteasy/cie-custom <https://github.com/coopiteasy/cie-custom/tree/12.0/coopiteasy_custom>`_ project on GitHub.

You are welcome to contribute.
Empty file added coopiteasy_custom/__init__.py
Empty file.
20 changes: 20 additions & 0 deletions coopiteasy_custom/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2019 Coop IT Easy SCRL fs
# Robin Keunen <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).


{
"name": "Coop IT Easy Customization",
"version": "16.0.1.0.0",
"author": "Coop IT Easy SC",
"license": "AGPL-3",
"category": "",
"website": "https://coopiteasy.be",
"summary": """
Emptied.
""",
"depends": [
"task_author_id",
],
"installable": True,
}
17 changes: 17 additions & 0 deletions coopiteasy_custom/migrations/post-migrate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2024 Coop IT Easy SC
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
env.cr.execute(
"""
alter table project_task drop column if exists reviewer_id;
alter table project_task drop column if exists tester_id;
alter table project_task drop column if exists int_priority;
drop table link_task_relation_table;
"""
)
env.cr.commit()
Comment on lines +7 to +17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is typically not done in oca projects, preferring to keep (dead) data. here we may not care because we're the only user?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, i think we can clean it up : these fields were very sparsely used, the data in it is not relevant.

38 changes: 38 additions & 0 deletions coopiteasy_custom/migrations/pre-migrate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 2024 Coop IT Easy SC
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from openupgradelib import openupgrade

# field definition in v12 of coopiteasy_custom
# link_task_ids = fields.Many2many(
# comodel_name="project.task",
# relation="link_task_relation_table",
# column1="user1_id",
# column2="user2_id",
# string="Linked Tasks",

# field definition in v16 of project
# depend_on_ids = fields.Many2many(
# "project.task",
# relation="task_dependencies_rel",
# column1="task_id",
# column2="depends_on_id",
# string="Blocked By",
# tracking=True,
# copy=False,
# domain="[('project_id', '!=', False), ('id', '!=', id)]",
# )


@openupgrade.migrate()
def migrate(env, version):
# there are no hierarchy in linked task field,
# I assume col 1 (user1_id) (from here the linked task
# are added) is the blocked task
env.cr.execute(
"""
insert into task_dependencies_rel
select user1_id, user2_id from link_task_relation_table;
"""
)
env.cr.commit()
Loading
Loading