Skip to content

Commit 25198e6

Browse files
committed
fix(spp_demo,spp_mis_demo_v2): group naming, unique seeded names, payment fixes
- Story households use family-name-only (Santos, Dela Cruz, etc.) - Manuel Santos elderly renamed to Pangilinan to avoid Santos conflict - Tutorial families renamed: Santos→Tolentino, Cruz→Salazar, Reyes→Mercado - Locale names updated for si_LK and fr_TG (family name only for groups) - Expanded name pools: fil_PH 714, si_LK 535, fr_TG 561 surnames - Seeded generator: suffix filter for compound names, unique names from shuffled pool, shared family name within households - Fix cycle creation: use today then backdate via SQL to bypass _check_dates constraint (fixes Santos 0 payments, Gutierrez bug) - Batch create optimization: mail_create_nolog + tracking_disable
1 parent 17caa21 commit 25198e6

10 files changed

Lines changed: 1688 additions & 130 deletions

File tree

spp_demo/locale_providers/fil_PH/__init__.py

Lines changed: 619 additions & 0 deletions
Large diffs are not rendered by default.

spp_demo/locale_providers/fr_TG/__init__.py

Lines changed: 465 additions & 0 deletions
Large diffs are not rendered by default.

spp_demo/locale_providers/si_LK/__init__.py

Lines changed: 431 additions & 0 deletions
Large diffs are not rendered by default.

spp_demo/models/demo_data_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ def _create_household_story(self, story):
14681468
# Build group values
14691469
vals = {
14701470
"demo_data_group_generator_id": self.id,
1471-
"name": head_info.get("name", story["name"]),
1471+
"name": story["name"],
14721472
"is_registrant": True,
14731473
"is_group": True,
14741474
"registration_date": registration_date,

0 commit comments

Comments
 (0)