Fix: Disable attachment relationships in batch edit#8317
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
emenslin
left a comment
There was a problem hiding this comment.
- Verify attachment "title" column is disabled
Looks good, all attachment columns are read-only in Batch Edit
There was a problem hiding this comment.
Testing instructions
- Create a query with an attachment relationship. (I.e: collection object base table
- collection object attachment >> attachment >> title)
- Save your query
- Click batch edit
- Verify attachment "title" column is disabled
Successful test! The "title" column is disabled in Batch Edit.
g1rly-c0d3r
left a comment
There was a problem hiding this comment.
- Verify attachment "title" column is disabled
Looks good, I can edit base table columns but not attachments.
Fixes #8314
Checklist
self-explanatory (or properly documented)
specify7/specifyweb/specify/management/commands/run_key_migration_functions.py
Line 50 in ea04665
Testing instructions