Commit Graph

1769 Commits (31575a6ac46e33b437b5f1b5556a3aedd185a40f)

Author SHA1 Message Date
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
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