sequence is now required on journals

Add post-install script to create a sequence for all existing journals
Update README accordingly
This commit is contained in:
Alexis de Lattre
2021-09-08 14:21:43 +02:00
committed by Rodrigo
parent 42def7f06f
commit 4aeaa9ca51
9 changed files with 118 additions and 39 deletions

View File

@@ -13,6 +13,7 @@ class AccountJournal(models.Model):
"ir.sequence",
string="Entry Sequence",
copy=False,
required=True,
check_company=True,
domain="[('company_id', '=', company_id)]",
help="This sequence will be used to generate the journal entry number.",