In QWeb templates, the <a> tag for links can have a type attribute. It sets the type of action the link will perform so that links can act just like buttons in regular forms. So in addition to the <button> elements, the <a> tags can also be used to run Odoo actions.
As in form views, the action type can be action or object, and it should be accompanied by a name attribute, identifying the specific action to execute. Additionally, the following action types are also available:
- open opens the corresponding form view
- edit opens the corresponding form view directly in edit mode
- delete deletes the record and removes the item from the Kanban view