-
Notifications
You must be signed in to change notification settings - Fork 2
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
victor-champonnois
wants to merge
43
commits into
16.0
Choose a base branch
from
16.0-mig-coopiteasy_custom
base: 16.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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 d3829e1
[ADD] cie_custom: cron to fix qty_delivered on sale_orders linked to …
robinkeunen c7095da
[ADD] cie_custom: priority on kanban and tree views
robinkeunen 03a10d7
[ADD] cie_custom: fields on tasks
robinkeunen 15ad9b3
[IMP] coopaname_custom: description
robinkeunen 2837177
[IMP] cie_custom: only display active account in activity_view
robinkeunen 85a538d
[IMP] cie_custom: order account by frequency
robinkeunen 2b16b83
[ADD] cie_custom: cron to compute aaa line count
robinkeunen 4fc1051
[10.0][MIG] coopiteasy_custom: Migration to 10.0
carmenbianca 447764e
[FIX] coopiteasy_custom: Dedent XML file
carmenbianca a82ee2d
[11.0][MIG] coopiteasy_custom: Migration to 11.0
carmenbianca 9accdcf
[12.0][MIG] coopiteasy_custom: Migration to 12.0
carmenbianca d896d75
[FIX] coopiteasy_custom: Generate readme
carmenbianca b28b033
[FIX] coopiteasy_custom: Run pre-commit
carmenbianca 1c0b67b
[FIX] coopiteasy_custom: Remove unnecessary date conversion
carmenbianca 4a55484
[FIX] coopiteasy_custom: Remove references to account_type fields
carmenbianca 598292b
[FIX] coopiteasy_custom: Fix cron.xml
carmenbianca e442eb0
[REF] coopiteasy_custom: Rename Python files
carmenbianca 37cd12a
[IMP] coopiteasy_custom: Add helpful comment
carmenbianca 21c8db2
[REM] coopiteasy_custom: Remove cie_fix_account_analytic_line_so_line
carmenbianca 7d6cd38
[FIX] coopiteasy_custom: Run pre-commit
carmenbianca 4394116
[UPD] Update coopiteasy_custom.pot
017344a
Regenerate all README.rst
carmenbianca ddb2f12
[IMP] limit timesheet activity projects selection
huguesdk 080f184
[FIX] order projects by recent timesheet lines
huguesdk 475637d
[FIX] limit timesheet projects in more views
huguesdk 94fe52d
[UPD] Update coopiteasy_custom.pot
5563d1d
coopiteasy_custom 12.0.1.1.0
github-grap-bot f3f20cc
[ADD] coopiteasy_custom: Do not make closed projects selectable in tasks
carmenbianca 7a19b96
coopiteasy_custom 12.0.1.2.0
github-grap-bot 4bfce6e
[FIX] SCRLfs → SC
carmenbianca f07a9a8
[IMP] search through all tasks in timesheet lines
huguesdk 59c4591
[UPD] Update coopiteasy_custom.pot
18778aa
[UPD] README.rst
github-grap-bot 00947ee
coopiteasy_custom 12.0.1.3.0
github-grap-bot f70b45b
[IMP] coopiteasy_custom: black, isort, prettier
victor-champonnois e89b126
[REF] split coopiteasy_custom -> task_author_id
victor-champonnois 305844b
[FIX] task view overide
victor-champonnois 592f268
[MIG] coopiteasy_custom: Migration to 13.0
victor-champonnois 0fc8a2f
[MIG] coopiteasy_custom: Migration to 14.0
victor-champonnois c8310b8
[MIG] coopiteasy_custom: Migration to 15.0
victor-champonnois 9728c71
[MIG] coopiteasy_custom: Migration to 16.0
victor-champonnois 63cf94c
fixup! [MIG] coopiteasy_custom: Migration to 16.0
robinkeunen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.