Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] base: allow configure models that can be deleted in partner merging #575

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Commits on Jan 5, 2024

  1. [IMP] base: allow configure models that can be deleted in partner mer…

    …gings
    
    The method `_update_reference_fields` is handling psql errors
    in case in middle of updating something fails and it's deleting
    indiscriminately the records involved presuming that psql error is always
    a unique violation, but can ocurrs any psql error, so this change is allowing
    configure what models can be deleted in an unique violation, if the models
    are not defined, it's working as currently, otherwise it's validating the model
    and raising an error in case model is not in allowed ones.
    fernandahf committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    e2a7df2 View commit details
    Browse the repository at this point in the history