Commit Graph

1831 Commits (ec344edf7333a605908867dfa2c57d3c5563648c)

Author SHA1 Message Date
David Alonso // Solvos fedd9384df [MIG] auto_backup: Migration to 13.0 2023-12-01 16:50:51 +01:00
David Alonso // Solvos 230890d127 [IMP] auto_backup: black, isort, prettier 2023-12-01 16:50:51 +01:00
Bole b6176b2c83 Translated using Weblate (Croatian)
Currently translated at 51.2% (41 of 80 strings)

Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/hr/
2023-12-01 16:50:51 +01:00
黎伟杰 54a51894cf Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (80 of 80 strings)

Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/zh_CN/
2023-12-01 16:50:51 +01:00
黎伟杰 b3b229a988 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (80 of 80 strings)

Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/zh_CN/
2023-12-01 16:50:51 +01:00
黎伟杰 4a1319ae23 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (80 of 80 strings)

Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/zh_CN/
2023-12-01 16:50:51 +01:00
黎伟杰 f400347db1 Translated using Weblate (Chinese (Simplified))
Currently translated at 26.2% (21 of 80 strings)

Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/zh_CN/
2023-12-01 16:50:51 +01:00
Rodrigo Macedo d3fd32b378 Translated using Weblate (Portuguese (Brazil))
Currently translated at 17.5% (14 of 80 strings)

Translation: server-tools-12.0/server-tools-12.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-auto_backup/pt_BR/
2023-12-01 16:50:51 +01:00
Aitor Bouzas 73c4e9147b [MIG] auto_backup: Migration to 12.0
Added test coverage
Added requirements.txt for pysftp
Added in the roadmap the exact version of pysftp for this to work (0.2.8)
Added in the roadmap the problem with list_db=False
Adapted calls to message_post
2023-12-01 16:50:51 +01:00
Jordi Riera 507b351523 auto_backup: allow to change the format of backup (#1333) 2023-12-01 16:50:51 +01:00
Pedro M. Baeza 17da338c06 [FIX] auto_backup: Fix NL translation 2023-12-01 16:50:51 +01:00
Jos De Graeve 5bd35b6361 Translated using Weblate (Dutch)
Currently translated at 58.2% (32 of 55 strings)

Translation: server-tools-11.0/server-tools-11.0-auto_backup
Translate-URL: https://translation.odoo-community.org/projects/server-tools-11-0/server-tools-11-0-auto_backup/nl/
2023-12-01 16:50:51 +01:00
Stéphane Bidoul (ACSONE) 37e1664a08 [FIX] syntax error in nl.po 2023-12-01 16:50:51 +01:00
Andrea 56f1564f2a [11.0][MIG] auto_backup 2023-12-01 16:50:51 +01:00
Andrea Stirpe cc77768e03 Fix icon Test SFTP Connection (#825) 2023-12-01 16:50:51 +01:00
Lorenzo Battistini df31a9e918 FIX sftp unlink path (#767) 2023-12-01 16:50:51 +01:00
Andrea Stirpe 18aa6c64c9 [10.0][auto_backup] Menu entry moved (#735)
* [10.0][auto_backup] Menu entry moved

* Update version in manifest
2023-12-01 16:50:51 +01:00
Yenthe V.G fc6e8ab913 [auto_backup] FIX: failure type notification
Fixes https://github.com/OCA/server-tools/issues/710
2023-12-01 16:50:51 +01:00
Dave Lasley 98d4864407 [MIG] auto_backup: Migrate to v9
* Add self.ensure_ones
* Add test coverage
2023-12-01 16:50:51 +01:00
Stéphane Bidoul (ACSONE) 4b828622a9 [FIX] remove en.po that was erroneously created by transbot 2023-12-01 16:50:51 +01:00
David Beal 4d82d1f52a [FIX] logger db_backup for pysftp (#419) 2023-12-01 16:50:51 +01:00
Javi Melendez 4393b3e186 [FIX] auto_backup: bad reference to field sftp_private_key (#423)
Bump module version to 8.0.1.0.1
2023-12-01 16:50:51 +01:00
archetipo 4c92b2047b FIX License type 2023-12-01 16:50:51 +01:00
Jairo Llopis 3295a72bde [auto_backup] Refactor.
- Follow template README.
- Remove HTML README.
- Move models to models folder.
- Model and view file names follow guidelines.
- Unused methods cleanup.
- Remove unneeded `.pot` file.
- Fix permissons.
- Follow PEP8 in names everywhere.
- Set more descriptive field names.
- Disable backups for other databases, for security.
- Remove db name from generated file, for easier cleanup.
- EAFP logic everywhere.
- More descriptive name.
- Data files moved to YAML, with cleaner ir.cron record creation.
- Add permissions for db.backup model.
- Icons.
- Update tests with new format.
- Storage method is a selectable, for easier extensibility.
- Instead of custom mailing, it just has a mail thread where you can subscribe.
- Should fix almost all comments in https://github.com/OCA/server-tools/pull/203.
- Reduce headers.

This respects the upstream license choice (GPL/AGPL) but reduces
verbosity.

It would be ideal to have everything under AGPL though.
2023-12-01 16:50:51 +01:00
Alessio Gerace 23c62612bd Open FTP session on the last moment possible
Used to open  fp = open(file_path,'wb') a few lines before it was needed. This shouldn't be too much of a problem but opening and closing it right after eachother keeps the session open for less time and there are less chances on failure.
2023-12-01 16:50:51 +01:00
Yenthe a29a588852 Update english pot file
Added all the new fields and sentences. This will be the template for
translations.
2023-12-01 16:50:51 +01:00
PauBForgeFlow b9cc8b28db [IMP] excel_import_export: Set import wizard filename 2023-12-01 11:35:12 +01:00
Jairo Llopis c48052b309
[IMP] base_sequence_default: better readme
Fixes https://github.com/OCA/server-tools/issues/2769

@moduon MT-4324

Co-authored-by: Gelo Joga <147538094+Gelojr@users.noreply.github.com>
2023-11-29 09:19:42 +00:00
Florian da Costa 2109c15361 [UPD] autovacuum_message_attachment : add maintainer 2023-11-28 12:27:14 +01:00
Florian da Costa 5693420182 [MIG] autovacuum_message_attachment : migrate to v16 2023-11-28 12:27:14 +01:00
Florian da Costa 8b5b6ecd22 [IMP] autovacuum_message_attachment: black, isort, prettier 2023-11-28 12:27:14 +01:00
Ignacio Buioli 238a0951be Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (55 of 55 strings)

Translation: server-tools-14.0/server-tools-14.0-autovacuum_message_attachment
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-autovacuum_message_attachment/es_AR/
2023-11-28 12:27:14 +01:00
Akim Juillerat 1e19a4b6dd 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.
2023-11-28 12:27:14 +01:00
Akim Juillerat cb68657b8a Improve building of domain through osv.expression 2023-11-28 12:27:14 +01:00
Ignacio Buioli 0d7706eb89 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (50 of 50 strings)

Translation: server-tools-14.0/server-tools-14.0-autovacuum_message_attachment
Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-autovacuum_message_attachment/es_AR/
2023-11-28 12:27:14 +01:00
Ignacio Buioli 96be2cbced Added translation using Weblate (Spanish (Argentina)) 2023-11-28 12:27:14 +01:00
Dept. Técnico bc48bb7f22 Added translation using Weblate (Catalan) 2023-11-28 12:27:14 +01:00
hkpatel caeefd0885 [MIG] autovacuum_message_attachment: Migration to 14.0 2023-11-28 12:27:14 +01:00
hkpatel aa56d46974 [IMP] autovacuum_message_attachment: black, isort, prettier 2023-11-28 12:27:14 +01:00
Enric Tobella 5a812aab25 [MIG] autovacuum_message_attachment: Migration to 13.0 2023-11-28 12:27:14 +01:00
Enric Tobella 7af9600631 [IMP] autovacuum_message_attachment: black, isort, prettier 2023-11-28 12:27:14 +01:00
Enric Tobella df5830a8c2 [FIX] autovacuum_message_attachment: The field name cannot be used as it is already present in other models 2023-11-28 12:27:14 +01:00
Florent de Labarre 8a1f5970f4 [FIX] autovacuum_message_attachment : wrong message formating 2023-11-28 12:27:14 +01:00
Enric Tobella 17c0e7dcc4 [REF] autovacuum_message_attachment: Improve the way we manage domains 2023-11-28 12:27:14 +01:00
Florian da Costa f9e56058e2 Add possibility to delete attachments 2023-11-28 12:23:23 +01:00
Florian da Costa 8265c71fa0 Migrate autovacuum_mail_message to version 12 and rename it 2023-11-28 12:23:23 +01:00
OCA-git-bot 590cf43c30 [BOT] post-merge updates 2023-11-28 11:09:31 +00:00
oca-ci 6d52fc07ea [UPD] Update base_sequence_default.pot 2023-11-28 11:03:18 +00:00
OCA-git-bot 1ac17c7b5a Merge PR #2765 into 16.0
Signed-off-by yajo
2023-11-28 10:57:17 +00:00
Jairo Llopis ceca6029f5
[MIG] base_sequence_default: v16
@moduon MT-4324
2023-11-27 09:47:32 +00:00