Add option to auto-archive spreads

This commit is contained in:
Andrea
2019-08-21 12:11:26 +02:00
committed by Saran440
parent 702a672955
commit b44f5a337a
10 changed files with 172 additions and 55 deletions

View File

@@ -27,3 +27,7 @@ class ResCompany(models.Model):
'Auto-post spread lines',
help="Enable this option if you want to post automatically the "
"accounting moves of all the spreads.")
auto_archive = fields.Boolean(
'Auto-archive spread',
help="Enable this option if you want the cron job to automatically "
"archive the spreads when all lines are posted.")