Commit Graph

1463 Commits (28ac43e203ec33e7a58c9e96807f66a1bf1bee5f)

Author SHA1 Message Date
黎伟杰 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
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
Jairo Llopis 640b10a3d1
[DOCS] Convert readme fragments to markdown 2023-11-22 13:56:13 +00:00
Jairo Llopis 30d91a457d
[IMP] base_sequence_default: black, isort, prettier 2023-11-22 13:33:36 +00:00
OCA-git-bot 7bcc852f44
[UPD] README.rst 2023-11-22 13:32:58 +00:00
OCA-git-bot f95d8e6e8a
base_sequence_default 14.0.1.0.0 2023-11-22 13:32:58 +00:00
OCA-git-bot 33d832b8e5
[UPD] README.rst 2023-11-22 13:32:58 +00:00
Jairo Llopis 79d970432a
[REF] base_sequence_default: bump sequence only on creation
Before this patch, sequence was bumped when loading defaults. That happened even before creating the record. That rendered no-gap sequences useless.

Now, sequences are executed only on record creation, when the user didn't give a default value to the sequenced fields.

To support the use case when you want a sequence on required fields, you can set a value of `-` on those fields on creation. Then, the sequence will also kick in.

@moduon MT-2715
2023-11-22 13:32:58 +00:00
OCA-git-bot 53452c8702
[UPD] README.rst 2023-11-22 13:32:58 +00:00
oca-ci 28dfb869e4
[UPD] Update base_sequence_default.pot 2023-11-22 13:32:58 +00:00
Jairo Llopis 4020460798
[ADD] base_sequence_default: add default values with sequences
This module extends the defaults functionality to allow filling *Character*
type fields on creation with a predefined sequence.

@moduon MT-1506

Co-authored-by: Eduardo de Miguel <1162050+Shide@users.noreply.github.com>
2023-11-22 13:32:58 +00:00
Ivorra78 97be5cf17c Translated using Weblate (Spanish)
Currently translated at 100.0% (39 of 39 strings)

Translation: server-tools-16.0/server-tools-16.0-jsonifier
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-jsonifier/es/
2023-11-11 15:39:04 +00:00
Ivorra78 62fdd3702c Translated using Weblate (Spanish)
Currently translated at 100.0% (27 of 27 strings)

Translation: server-tools-16.0/server-tools-16.0-base_time_window
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_time_window/es/
2023-11-11 15:39:04 +00:00
Ivorra78 0447b74591 Translated using Weblate (Spanish)
Currently translated at 100.0% (33 of 33 strings)

Translation: server-tools-16.0/server-tools-16.0-base_sequence_option
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_sequence_option/es/
2023-11-11 15:39:04 +00:00
Ivorra78 b5d05a93da Added translation using Weblate (Spanish) 2023-11-11 14:03:09 +00:00
Ivorra78 0964d992cb Added translation using Weblate (Spanish) 2023-11-11 13:24:42 +00:00
Ivorra78 afab2041c7 Translated using Weblate (Spanish)
Currently translated at 100.0% (5 of 5 strings)

Translation: server-tools-16.0/server-tools-16.0-html_text
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-html_text/es/
2023-11-09 20:38:59 +00:00
Ivorra78 ab8858c786 Added translation using Weblate (Spanish) 2023-11-09 17:40:23 +00:00
OCA-git-bot 78c36fe40d [BOT] post-merge updates 2023-11-09 09:27:13 +00:00
oca-ci 2a476d055c [UPD] Update excel_import_export_unidecode.pot 2023-11-09 09:21:13 +00:00
OCA-git-bot ad2f5c1343 Merge PR #2742 into 16.0
Signed-off-by pedrobaeza
2023-11-09 09:13:19 +00:00
Rodrigo 6d13a845a1 [ADD] excel_import_export_unidecode: add module that implements the ability to apply unidecode to each selected data. 2023-11-09 09:42:38 +01:00
Rodrigo 5b1cced5a9 [REF] excel_import_export: hooks are added so that they can be inherited 2023-11-09 09:41:56 +01:00