Skip to content

spp_farmer_registry: apply the registry-restriction rework from #411 #456

Description

@gonzalesedwin1123

spp_farmer_registry carries its own copy of the registry-restriction implementation that #411 reworked in spp_starter_sp_mis: a registry_restriction.js controller patch plus the original config-parameter pattern.

#411 replaced that pattern for the starter module — explicit persistence for the setting (so "off" survives reloads and upgrades) and enforcement moved into a res.partner._check_access override, with the JS deleted. The same treatment should be ported here so both modules behave consistently.

Scope:

Refs: #411 (starter rework), #455 (exemption follow-up).

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