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

[18.0][MIG] tracking_manager: Migration to 18.0 #3138

Open
wants to merge 44 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
da570c2
[14.0][ADD] tracking_manager
Kev-Roche Oct 20, 2022
357f61e
tracking_manager: remove useless file
sebastienbeau Dec 23, 2022
73e9cf5
tracking_manager: refactor code, remove tracking_model
sebastienbeau Jan 9, 2023
d6de8ae
tracking_manager: refactor code to track all o2m case
sebastienbeau Jan 10, 2023
a52190b
tracking_manager: refactor test
sebastienbeau Jan 10, 2023
c84152b
tracking_manager: continue to refactor code
sebastienbeau Jan 11, 2023
806c7cd
tracking_manager: simplify code by using precommit feature
sebastienbeau Jan 11, 2023
ad11fd4
IMP readme and add filters
Kev-Roche Jan 18, 2023
89362e6
Update tracking_manager/readme/USAGE.rst
Kev-Roche Jan 19, 2023
5199cb7
tracking_manager: use sudo for posting message
sebastienbeau Jan 28, 2023
134c007
tracking_manager: fix missing error when doing a write before an unlink
sebastienbeau Feb 9, 2023
68787fb
minor fixes
Kev-Roche Mar 2, 2023
d41de38
tracking_manager: fix access right issue if sudo have been used
sebastienbeau Mar 17, 2023
99c5243
[MIG] tracking_manager: Migration to 15.0
Dec 19, 2023
4cdfa3a
[MIG] tracking_manager: Migration to 16.0
Dec 19, 2023
0da51ce
Added translation using Weblate (Italian)
mymage Jan 18, 2024
e437935
[IMP] tracking_manager: Check records not empty
Jan 22, 2024
46de836
Added translation using Weblate (Spanish)
Ivorra78 Feb 14, 2024
11e9c1a
[IMP] tracking_manager: allow tracking readonly fields
Jan 19, 2024
b867bb0
[IMP] tracking_manager: black, isort, prettier
CRogos Apr 22, 2024
ef303a2
[MIG] tracking_manager: Migration to 17.0
CRogos Apr 22, 2024
2c5f3be
[UPD] Update tracking_manager.pot
May 2, 2024
4861de9
[BOT] post-merge updates
OCA-git-bot May 2, 2024
be432b4
Update translation files
weblate May 2, 2024
1dbee65
Translated using Weblate (Italian)
mymage May 3, 2024
7a7246b
Added translation using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Jun 16, 2024
2b969db
Translated using Weblate (Chinese (Simplified) (zh_CN))
xtanuiha Jun 16, 2024
7e4f76b
[IMP] tracking_manager: Test compatibility
victoralmau Aug 23, 2024
2044786
[BOT] post-merge updates
OCA-git-bot Aug 27, 2024
1267488
[FIX] tracking_manager: prevent error on models without mail.thread m…
CRogos Aug 29, 2024
a5587cb
[BOT] post-merge updates
OCA-git-bot Aug 29, 2024
c0baf07
[FIX] tracking_manager: Avoid sending tracking o2m emails if you are …
victoralmau Sep 4, 2024
7b0c744
[BOT] post-merge updates
OCA-git-bot Sep 6, 2024
dbbd855
[FIX] tracking_manager: Avoid error if no record is linked (example: …
victoralmau Oct 7, 2024
8bf1d7c
[BOT] post-merge updates
OCA-git-bot Oct 7, 2024
1c0a646
[FIX] tracking_manager: Avoid error when accessing the value of a fie…
victoralmau Oct 7, 2024
1ea9605
[BOT] post-merge updates
OCA-git-bot Oct 9, 2024
05df202
[FIX] tracking_manager: m2m data was tracked as None->None
CRogos Oct 9, 2024
4712dc5
[UPD] Update tracking_manager.pot
Oct 10, 2024
9b11a32
[BOT] post-merge updates
OCA-git-bot Oct 10, 2024
fad3a6f
Update translation files
weblate Oct 10, 2024
d3f7982
[FIX] tracking_manager: Fix test related to ir.actions.act_window
victoralmau Nov 7, 2024
700e6d8
[BOT] post-merge updates
OCA-git-bot Nov 7, 2024
fed0eb6
[18.0][MIG] tracking_manager: Migration to 18.0
BertVGroenendael Dec 6, 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
120 changes: 120 additions & 0 deletions tracking_manager/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
================
Tracking Manager
================

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

.. |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%2Fserver--tools-lightgray.png?logo=github
:target: https://github.com/OCA/server-tools/tree/18.0/tracking_manager
:alt: OCA/server-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-tracking_manager
: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/server-tools&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows to track all fields on every model that has a
chatter, including one2many and many2many ones. This excludes the
computed, readonly, related fields by default. In addition, line changes
of a one2many field can be tracked (e.g. product_uom_qty of an
order_line in a sale order).

**Table of contents**

.. contents::
:local:

Usage
=====

- In setting > models: select a model
- Check "Active" under Custom Tracking.
- You have two options - 1) manually configure tracked fields one by
one, or 2) determine tracked fields based on a specific domain.
- For 1) manually configure tracked fields one by one

- Click on Tracked Fields smart button, and select/unselect Custom
Tracking.

- For 2) determine tracked fields based on a specific domain

- Select "Automatic configuration", and then set the domain
accordingly.
- Click "Update" for the domain to take effect.

|image|

- Then select the fields to track

|image1|

.. |image| image:: https://raw.githubusercontent.com/OCA/server-tools/18.0/tracking_manager/static/description/model_view.png
.. |image1| image:: https://raw.githubusercontent.com/OCA/server-tools/18.0/tracking_manager/static/description/fields.png

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-tools/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/server-tools/issues/new?body=module:%20tracking_manager%0Aversion:%2018.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
-------

* Akretion

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

- Kévin Roche <[email protected]>
- Sébastien BEAU <[email protected]>
- Bert Van Groenendael <[email protected]>

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.

.. |maintainer-Kev-Roche| image:: https://github.com/Kev-Roche.png?size=40px
:target: https://github.com/Kev-Roche
:alt: Kev-Roche
.. |maintainer-sebastienbeau| image:: https://github.com/sebastienbeau.png?size=40px
:target: https://github.com/sebastienbeau
:alt: sebastienbeau

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-Kev-Roche| |maintainer-sebastienbeau|

This module is part of the `OCA/server-tools <https://github.com/OCA/server-tools/tree/18.0/tracking_manager>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions tracking_manager/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions tracking_manager/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2022 Akretion (https://www.akretion.com).
# @author Kévin Roche <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Tracking Manager",
"summary": """This module tracks all fields of a model,
including one2many and many2many ones.""",
"version": "18.0.1.0.0",
"category": "Tools",
"website": "https://github.com/OCA/server-tools",
"author": "Akretion, Odoo Community Association (OCA)",
"maintainers": ["Kev-Roche", "sebastienbeau"],
"license": "AGPL-3",
"application": False,
"installable": True,
"depends": ["mail"],
"data": [
"views/ir_model_fields.xml",
"views/ir_model.xml",
"views/message_template.xml",
],
}
151 changes: 151 additions & 0 deletions tracking_manager/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * tracking_manager
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-02-14 15:37+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.track_o2m_m2m_template
msgid "<b>Change :</b>"
msgstr "<b>Cambio :</b>"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.track_o2m_m2m_template
msgid "<b>Delete :</b>"
msgstr "<b>Eliminar:</b>"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.track_o2m_m2m_template
msgid "<b>New :</b>"
msgstr "<b> Nuevo: </b>"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_form
msgid "Active"
msgstr "Activo"

#. module: tracking_manager
#: model:ir.model.fields,field_description:tracking_manager.field_ir_model__active_custom_tracking
msgid "Active Custom Tracking"
msgstr "Seguimiento Personalizado Activo"

#. module: tracking_manager
#: model:ir.model.fields,field_description:tracking_manager.field_ir_model__automatic_custom_tracking
msgid "Automatic Custom Tracking"
msgstr "Seguimiento Automático Personalizado"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_form
msgid "Automatic configuration"
msgstr "Configuración automática"

#. module: tracking_manager
#: model:ir.model,name:tracking_manager.model_base
msgid "Base"
msgstr "Base"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.track_o2m_m2m_template
msgid "Changed"
msgstr "Cambiado"

#. module: tracking_manager
#: model:ir.model.fields,field_description:tracking_manager.field_ir_model_fields__custom_tracking
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_form
msgid "Custom Tracking"
msgstr "Seguimiento Personalizado"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_track_fields_search
msgid "Custom Tracking OFF"
msgstr "Seguimiento Personalizado OFF"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_track_fields_search
msgid "Custom Tracking ON"
msgstr "Seguimiento Personalizado ON"

#. module: tracking_manager
#: model:ir.model.fields,field_description:tracking_manager.field_ir_model__automatic_custom_tracking_domain
msgid "Domain"
msgstr "Dominio"

#. module: tracking_manager
#: model:ir.model,name:tracking_manager.model_mail_thread
msgid "Email Thread"
msgstr "Hilo de Correo Electrónico"

#. module: tracking_manager
#: model:ir.model,name:tracking_manager.model_ir_model_fields
msgid "Fields"
msgstr "Campos"

#. module: tracking_manager
#: model:ir.model.fields,help:tracking_manager.field_ir_model__automatic_custom_tracking
msgid ""
"If marked, the fields matching the matched by the domain below will be "
"automatically tracked for this model."
msgstr ""

#. module: tracking_manager
#: model:ir.model,name:tracking_manager.model_ir_model
msgid "Models"
msgstr "Modelos"

#. module: tracking_manager
#: model:ir.model.fields,field_description:tracking_manager.field_ir_model_fields__native_tracking
msgid "Native Tracking"
msgstr "Seguimiento Nativo"

#. module: tracking_manager
#: model:ir.model.fields,field_description:tracking_manager.field_ir_model_fields__trackable
msgid "Trackable"
msgstr "Rastreable"

#. module: tracking_manager
#: model:ir.actions.act_window,name:tracking_manager.ir_model_fields_action
msgid "Trackable Fields"
msgstr "Campos Rastreables"

#. module: tracking_manager
#: model:ir.model.fields,field_description:tracking_manager.field_ir_model__tracked_field_count
msgid "Tracked Field Count"
msgstr "Recuento de Campos Rastreados"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_form
msgid "Tracked Fields"
msgstr "Campos Rastreados"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_form
msgid "Update"
msgstr "Actualización"

#. module: tracking_manager
#: model_terms:ir.ui.view,arch_db:tracking_manager.view_model_form
msgid "Update fields configuration"
msgstr "Actualizar configuración de campos"

#~ msgid "Mail Tracking Value"
#~ msgstr "Valor de Seguimiento del Correo"

#~ msgid "Automatic Custom Tracking Domain"
#~ msgstr "Dominio de Seguimiento Automático Personalizado"

#~ msgid "If tick new field will be automatically tracked if the domain match"
#~ msgstr ""
#~ "Si se marca el nuevo campo se rastreará automáticamente si el dominio "
#~ "coincide"
Loading
Loading