We created an automated action in the Stock Move model to prevent receiving more material than was demanded. This was done by executing python code to raise a warning. This works fine in the normal form view.
However, when receiving material through the Kanban view it totally disregards the action. The user can receive excess material and validate the transaction.
Shouldn't customizations to a model apply to all views of the model? Is there a way that actions are supposed to be applied to specific views?