Aidas Bendoraitis
Aidas Bendoraitis

Reputation: 4003

Window actions vs Server actions in Odoo 10

In the scaffolded module there are two alternatives of the actions defined: a window action and a server action.

But what is the difference of those actions conceptually and when to use which of them?

Upvotes: 0

Views: 1020

Answers (1)

Bhavesh Odedra
Bhavesh Odedra

Reputation: 11141

In Window action, we are register Tree,Form,Kanban,Calendar etc ids. Based on priority, it will open related view.

While Server action are useful for following different-different purpose with selected Base model.

  • Send Email
  • Execute Python Code
  • Trigger a Workflow signal
  • Run client action
  • Create or Copy a new Record
  • Write a Record
  • Execute several actions

Upvotes: 2

Related Questions