Skip to content

Conversation

arthanson
Copy link
Contributor

@arthanson arthanson commented Oct 1, 2025

Fixes: #37

Removes branching from custom objects.

Will also need to add to the documentation that the following will need to be added to the configuration.py (or appended on any current PLUGINS_CONFIG:

PLUGINS_CONFIG = {
    'netbox_branching': {
        'exempt_models': [
            'netbox_custom_objects.customobjecttype',
            'netbox_custom_objects.customobjecttypefield',
        ],
    },
}

If you edit and are on a branch and have OBJECT or MULTI_OBJECT fields that point to non custom-object models you will get the following warning on the edit screen:

Monosnap Image 2025-10-01 11-49-19

@arthanson arthanson marked this pull request as ready for review October 1, 2025 19:15
@arthanson arthanson requested a review from bctiemann October 1, 2025 19:15
@arthanson
Copy link
Contributor Author

@mrmrcoleman Please note the documentation will need to be updated with the PLUGINS_CONFIG settings.

@bctiemann bctiemann merged commit 17b5433 into main Oct 2, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Branching Compatibility with Custom Objects

2 participants