Commit Graph

8 Commits (dbcd7bddd16e727ec2ae32aee667dc6d07052ef9)

Author SHA1 Message Date
Stephane Mangin 4c56e28bba [MIG] database_cleanup: Migration to 14.0 2023-02-09 12:09:19 +02:00
Stephane Mangin ac6cc435d4 [IMP] database_cleanup: black, isort, prettier 2023-02-09 12:09:19 +02:00
Martin Trigaux ce7ec7ee51 [FIX] database_cleanup: filter on many2many fields
Following odoo/odoo@54238c88e8 a Many2many may have no relation
This avoids having a None record in the list (which is problematic with the
NOT IN clause)
https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_NOT_IN
2023-02-09 12:09:19 +02:00
Martin Trigaux 0c9705d7ab [MIG] database_cleanup: migration to 12.0
Update version number
Use correct import
Update .pot to match new syntax
Adapt icon to fontawesome
Add models description
Rename field external id to new syntax <model>__<field>
2023-02-09 12:09:19 +02:00
Simone Orsi 0cec1c0c7d Global pylint cleanup 2023-02-09 12:09:19 +02:00
Holger Brunn 339fe0d60e [ADD] [database_cleanup] migrate to 11.0 2023-02-09 12:09:19 +02:00
Eric Antones 31d5881ec3 [MIG] database_cleanup: Migration to version 10.0
Using new base model inheritance.
2023-02-09 12:09:19 +02:00
Holger Brunn 316680ada2 [ADD] migrate database_cleanup
[ADD] test purging modules

[ADD] test purging tables
2023-02-09 12:09:19 +02:00