Commit Graph

7 Commits (626fe54fe43c3cc4df249bfec4363a6ebe133bcb)

Author SHA1 Message Date
GabbasovDinar 5c03d4e563
[MIG] autovacuum_message_attachment: Migration to 17.0 2025-02-11 16:25:51 +05:00
GabbasovDinar 338a478056
[IMP] autovacuum_message_attachment: pre-commit auto fixes 2025-02-11 16:25:51 +05:00
Akim Juillerat 0b575e5959
Add selection of attachments through inheriting model
Selection of attachments through inheriting model can be useful if
we want to purge attachments that are extended through another
model.

For example, shipping.label (from base_delivery_carrier_label)
inherits from ir.attachment but the attachment itself is linked to
the stock.picking model.
By using inheriting_model defined to shipping.label and setting
model_ids to stock.picking, we can safely select the attachments
linked to stock.pickings that are shipping labels and avoid deleting
any picking list or delivery note reports.
2025-02-11 16:24:08 +05:00
hkpatel ef9bce6bc1
[MIG] autovacuum_message_attachment: Migration to 14.0 2025-02-03 13:59:05 +05:00
Enric Tobella acb678973f
[REF] autovacuum_message_attachment: Improve the way we manage domains 2025-02-03 13:59:04 +05:00
Florian da Costa 23ab41df79
Add possibility to delete attachments 2025-02-03 13:59:03 +05:00
Florian da Costa 22c6f317df
Migrate autovacuum_mail_message to version 12 and rename it 2025-02-03 13:59:01 +05:00