major-domo-v2/commands/transactions
Cal Corum f2b7f8102c CLAUDE: Fix /dropadd rejecting Minor League players from same organization
Bug: /dropadd was incorrectly rejecting players from Minor League affiliates
Root Cause: Ownership check used team.id comparison instead of organizational check
Fix: Use team.is_same_organization() to properly handle ML/MiL/IL affiliates

Before: player.team.id != builder.team.id (fails for WVMiL when user owns WV)
After: not builder.team.is_same_organization(player.team) (correctly identifies same org)

This brings /dropadd in line with /ilmove implementation which already used
the correct organizational check pattern.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 20:11:31 -05:00
..
__init__.py CLAUDE: Add /ilmove command for real-time roster moves with organizational affiliate support 2025-10-20 20:15:12 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00
DESIGN.md Transactions cog in place 2025-09-24 09:32:04 -05:00
dropadd.py CLAUDE: Fix /dropadd rejecting Minor League players from same organization 2025-10-21 20:11:31 -05:00
ilmove.py CLAUDE: Add /ilmove command for real-time roster moves with organizational affiliate support 2025-10-20 20:15:12 -05:00
management.py CLAUDE: Refine injury roll display and cleanup imports 2025-10-16 22:20:13 -05:00
trade_channel_tracker.py CLAUDE: Reorganize data storage and enhance team/roster displays 2025-10-15 19:05:51 -05:00
trade_channels.py CLAUDE: Fix trade system bugs and add smart channel updates 2025-10-09 20:55:19 -05:00
trade.py CLAUDE: Refine injury roll display and cleanup imports 2025-10-16 22:20:13 -05:00