Skip to content

partner_tier_validation: Missing exceptions #2144

@IsabelAForgeFlow

Description

@IsabelAForgeFlow

I've encountered an issue while testing the validation process in res.partner. I believe that two exceptions should be pre-configured on the Contact model for the Stage field and the related State field. Without these exceptions, once the validation process starts, the stage cannot be changed to Active.

Another issue I found is in the fields in the res.partner module. The _partner_tier_revalidation_fields method lists several fields that should trigger a tier revalidation when changed on the form. Currently, the only active tier rule is "Is a Company is Set", and changes to the other fields listed in the method do not trigger the validation flow. Therefore, if these fields are defined in the method, they might need an exception to ensure they can trigger revalidation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions