Skip to content

Missing dependency between server_action_mass_edit and server_action_mass_edit_onchange #3368

@marionumza

Description

@marionumza

Module

server_action_mass_edit

Describe the bug

The module server_action_mass_edit does not declare server_action_mass_edit_onchange as a dependency in its manifest.
As a result, when users install only server_action_mass_edit and create a mass editing rule, the wizard fails with a KeyError (e.g., KeyError: 'selection__categ_id') because onchange logic is missing.

To Reproduce

Affected versions: 17.0, 18.0 (tested on 17.0 with Odoo.sh and Doodba-based environment)

Steps to reproduce the behavior:

  1. Install only server_action_mass_edit.

  2. Create a mass editing rule for product.template including the field categ_id.

  3. Go to Products, select records, and trigger the mass editing rule.

  4. The wizard crashes with an RPC error and traceback containing KeyError: 'selection__categ_id'.

Expected behavior
The wizard should open normally, allowing the user to mass-edit relational fields like categ_id, without errors.

Additional context
Installing server_action_mass_edit_onchange resolves the problem.

Suggestion: add server_action_mass_edit_onchange as a dependency in the manifest of server_action_mass_edit, or at least document clearly that both modules must be installed together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions