Axelor Doc

Actions

Actions allow you to set up the desired on a view in response to an event behavior.

XML Actions

Some simple actions can be defined declaratively in XML These are XML action . For example:

  • Set default values
  • Change the behavior of the field read-only, mandatory field, etc.
  • Modify the contents of form fields
  • Changing the field names
  • Call a method "controller"
  • Validate the contents of the view.

Actions are reusable. Every action must have a unique name.

Controller Actions

Any other action can be defined by the specific code.