forked from beba/foerderbarometer
fixed pid scheme
This commit is contained in:
parent
7e4d197384
commit
22aec6fdde
|
|
@ -247,7 +247,7 @@ class Project(Volunteer):
|
|||
super().save(**kwargs)
|
||||
|
||||
if not self.pid:
|
||||
self.pid = f'{self.account.code}-{self.id:08d}'
|
||||
self.pid = f'{self.account.code}{self.id:08d}'
|
||||
super().save(update_fields=['pid'], using=using)
|
||||
|
||||
def should_generate_finance_id(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue