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
- 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.
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.
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
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>