Skip to Content
Odoo Meniu
  • Autentificare
  • Try it free
  • Aplicații
    Finanțe
    • Contabilitate
    • Facturare
    • Cheltuieli
    • Spreadsheet (BI)
    • Documente
    • Semn
    Vânzări
    • CRM
    • Vânzări
    • POS Shop
    • POS Restaurant
    • Abonamente
    • Închiriere
    Site-uri web
    • Constructor de site-uri
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Lanț Aprovizionare
    • Inventar
    • Producție
    • PLM
    • Achiziție
    • Maintenance
    • Calitate
    Resurse Umane
    • Angajați
    • Recrutare
    • Time Off
    • Evaluări
    • Referințe
    • Flotă
    Marketing
    • Social Marketing
    • Marketing prin email
    • SMS Marketing
    • Evenimente
    • Automatizare marketing
    • Sondaje
    Servicii
    • Proiect
    • Foi de pontaj
    • Servicii de teren
    • Centru de asistență
    • Planificare
    • Programări
    Productivitate
    • Discuss
    • Aprobări
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Aplicații Terțe Odoo Studio Platforma Odoo Cloud
  • Industrii
    Retail
    • Book Store
    • Magazin de îmbrăcăminte
    • Magazin de Mobilă
    • Magazin alimentar
    • Magazin de materiale de construcții
    • Magazin de jucării
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Distribuitor de băuturi
    • Hotel
    Proprietate imobiliara
    • Real Estate Agency
    • Firmă de Arhitectură
    • Construcție
    • Estate Managament
    • Grădinărit
    • Asociația Proprietarilor de Proprietăți
    Consultanta
    • Firma de Contabilitate
    • Partener Odoo
    • Agenție de marketing
    • Law firm
    • Atragere de talente
    • Audit & Certification
    Producție
    • Textil
    • Metal
    • Mobilier
    • Mâncare
    • Brewery
    • Cadouri corporate
    Health & Fitness
    • Club Sportiv
    • Magazin de ochelari
    • Centru de Fitness
    • Wellness Practitioners
    • Farmacie
    • Salon de coafură
    Trades
    • Handyman
    • IT Hardware and Support
    • Asigurare socială de stat
    • Cizmar
    • Servicii de curățenie
    • HVAC Services
    Altele
    • Organizație nonprofit
    • Agenție de Mediu
    • Închiriere panouri publicitare
    • Fotografie
    • Închiriere biciclete
    • Asigurare socială
    Browse all Industries
  • Comunitate
    Învăță
    • Tutorials
    • Documentație
    • Certificări
    • Instruire
    • Blog
    • Podcast
    Empower Education
    • Program Educațional
    • Scale Up! Business Game
    • Visit Odoo
    Obține Software-ul
    • Descărcare
    • Compară Edițiile
    • Lansări
    Colaborați
    • Github
    • Forum
    • Evenimente
    • Translations
    • Devino Partener
    • Services for Partners
    • Înregistrează-ți Firma de Contabilitate
    Obține Servicii
    • Găsește un Partener
    • Găsiți un contabil
    • Meet an advisor
    • Servicii de Implementare
    • Referințe ale clienților
    • Suport
    • Actualizări
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obține un demo
  • Prețuri
  • Ajutor

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilitate
  • Inventar
  • PoS
  • Proiect
  • MRP
All apps
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
All Posts Oameni Insigne
Etichete (View all)
odoo accounting v14 pos v15
Despre acest forum
Suport

difference between server actions and client actions in Odoo?

Abonare

Primiți o notificare când există activitate la acestă postare

Această întrebare a fost marcată
actionserver
3 Răspunsuri
13340 Vizualizări
Imagine profil
rectangel technologies

What is the difference between server actions and client actions in Odoo?

0
Imagine profil
Abandonează
Imagine profil
Cybrosys Techno Solutions Pvt.Ltd
Cel mai bun răspuns

Hi, 

 1. Server Action(ir.actions.server)

Server Actions work on the base model and provide different types of actions that can be executed automatically.

For example, if you want to add actions to the More context menu and use basic action rules. 

Available server actions are: 

1. Python code execution: - A block of Python code is executed.

2. Create New Record: - Create a new record with new values.

3. Write to the record: - update the value of the record. 

4. Perform some actions: - Define actions that trigger other server actions.


2. Client Action( ir.actions.client)

Client actions are used to trigger actions that are fully implemented on the client.

tag: client-side identifier for the action, an arbitrary string that the client needs to know how to respond.

params: A Python dictionary containing additional data to be sent to the client along with the client action tag

target:

Target options are,

current: Used to open the main content area.

new: it is used to open the window like a popup.

full screen: it is used to open a window in fullscreen mode.

main: It is used to open the main content area without breadcrumbs.


For more information refer the blog:

https://www.cybrosys.com/blog/type-of-actions-in-odoo-16-erp


Hope it helps

1
Imagine profil
Abandonează
Imagine profil
Ksolves India Limited (Odoo Gold Partner)
Cel mai bun răspuns

Reply : In Odoo, server actions and client actions are two different types of actions that can be defined and triggered within the system. Here's the difference between them

Server Actions:
Server actions are executed on the server-side of Odoo.
They are defined using Python code and can perform complex server-side operations.
Server actions are triggered by events like button clicks, automated actions (cron jobs), or workflow transitions.
They can modify records, execute business logic, send emails, generate reports, update fields, and perform other server-side tasks.
Server actions are typically used for batch operations, data manipulation, or triggering complex workflows.

Client Actions:
Client actions are executed on the client-side of Odoo, which means they are executed within the user's web browser.
They are defined using JavaScript code and are used to enhance the user interface and provide interactive features.
Client actions are triggered by user events like button clicks, menu selections, or other user interactions.
They can manipulate the user interface, show/hide elements, perform validations, make API calls, and provide dynamic behavior.
Client actions are often used for user experience improvements, such as adding dynamic fields, triggering pop-up windows, or updating interface elements without page reloads.

Regards,

Ksolves Team!

0
Imagine profil
Abandonează
Imagine profil
Niyas Raphy (Walnut Software Solutions)
Cel mai bun răspuns

HI,

Server Action:
A server action in Odoo is executed on the server-side, typically triggered by an event such as a button click or an automated workflow. It is written in Python code and allows you to define complex business logic and perform operations on the server.



Client Action:
A client action in Odoo refers to an action performed on the client-side, typically within the user interface (UI) of the web browser. It is written in JavaScript and allows you to define interactive behaviors and perform actions without communicating with the server.



Odoo documentation: https://www.odoo.com/documentation/16.0/developer/reference/backend/actions.html


Thanks

0
Imagine profil
Abandonează
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Înscrie-te
Related Posts Răspunsuri Vizualizări Activitate
Run server action only on certain products Rezolvat
action server routes
Imagine profil
Imagine profil
2
nov. 23
3211
How to create server action incoming in human resources?
action server email
Imagine profil
0
mar. 15
4351
How to create server action incoming in human resources?
action server email
Imagine profil
Imagine profil
2
mar. 15
7870
Need Advice For Migrate Thousands of Messy SKUs
action
Imagine profil
0
nov. 25
8
Pickup Date for E-Commerce Rezolvat
action
Imagine profil
Imagine profil
Imagine profil
2
nov. 25
188
Comunitate
  • Tutorials
  • Documentație
  • Forum
Open Source
  • Descărcare
  • Github
  • Runbot
  • Translations
Servicii
  • Hosting Odoo.sh
  • Suport
  • Actualizare
  • Custom Developments
  • Educație
  • Găsiți un contabil
  • Găsește un Partener
  • Devino Partener
Despre Noi
  • Compania noastră
  • Active de marcă
  • Contactați-ne
  • Locuri de muncă
  • Evenimente
  • Podcast
  • Blog
  • Clienți
  • Aspecte juridice • Confidențialitate
  • Securitate
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo este o suită de aplicații de afaceri open source care acoperă toate nevoile companiei dvs.: CRM, comerț electronic, contabilitate, inventar, punct de vânzare, management de proiect etc.

Propunerea de valoare unică a Odoo este să fie în același timp foarte ușor de utilizat și complet integrat.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now