İçereği Atla
Odoo Menü
  • Portal
  • Ücretsiz deneyin
  • Uygulamalar
    Finans
    • Muhasebe
    • Faturalama
    • Masraf Yönetimi
    • Elektronik Çizelge (BI)
    • Belgeler
    • İmza
    Satış
    • Müşteri İlişkileri Yönetimi (CRM)
    • Satış
    • Satış Noktası Mağaza
    • Satış Noktası Restoran
    • Abonelikler
    • Kiralama
    Web Sitesi
    • Web Sitesi Oluşturucu
    • eTicaret
    • Blog
    • Forum
    • Canlı Sohbet
    • eÖğrenme
    Tedarik Zinciri
    • Envanter
    • Üretim
    • Ürün Yaşam Döngüsü Yönetimi
    • Satın Alma
    • Bakım
    • Kalite
    İnsan Kaynakları
    • Çalışanlar
    • İşe Alım
    • İzin
    • Değerlendirme
    • Referans
    • Filo Yönetimi
    Pazarlama
    • Sosyal Medyada Pazarlama
    • E-posta ile Pazarlama
    • SMS ile Pazarlama
    • Etkinlikler
    • Pazarlama Otomasyonu
    • Anket
    Hizmetler
    • Proje Yönetimi
    • Çalışma Çizelgeleri
    • Saha Hizmeti
    • Yardım Masası
    • Planlama
    • Randevular
    Verimlilik
    • Sohbet
    • Onay
    • Nesnelerin İnterneti
    • VoIP
    • Bilgi Bankası
    • WhatsApp
    Üçüncü taraf uygulamalar Odoo Stüdyo Odoo Bulut Platformu
  • Sektörler
    Perakende satış
    • Kitapçı
    • Giyim Mağazası
    • Mobilya Mağazası
    • Gıda Marketi
    • Hırdavat Dükkanı
    • Oyuncak Dükkanı
    Gıda ve Konaklama
    • Bar ve Pub
    • Restoran
    • Fast Food Restoranı
    • Konuk Evi
    • İçecek Distribütörü
    • Otel
    Gayrimenkul
    • Emlak Acentesi
    • Mimarlık Firması
    • İnşaat
    • Emlak Yönetimi
    • Bahçe Tasarımı
    • Mülk Sahipleri Derneği
    Uzmanlık
    • Muhasebe Firması
    • Odoo Partner
    • Pazarlama Ajansı
    • Hukuk Firması
    • Yetenek Kazanımı
    • Denetim ve Belgelendirme
    Üretim
    • Tekstil
    • Metal
    • Mobilyalar
    • Gıda
    • Bira fabrikası
    • Kurumsal Hediye
    Sağlık ve Spor
    • Spor Kulübü
    • Optik Mağazası
    • Fitness Merkezi
    • Sağlıklı Yaşam Merkezi
    • Eczane
    • Kuaför Salonu
    Ticaret
    • Tamirci
    • BT Donanım & Destek
    • Güneş Enerjisi Sistemleri
    • Ayakkabı İmalatçısı
    • Temizlik Hizmetleri
    • HVAC Hizmetleri
    Diğerleri
    • Kar Amacı Gütmeyen Kuruluş
    • Çevre Ajansı
    • Reklam Panosu Kiralama
    • Fotoğrafçılık
    • Bisiklet Kiralama
    • Yazılım Bayisi
    Tüm Sektörlere Göz Atın
  • Topluluk
    Öğrenim
    • Eğitim Araçları
    • Dokümantasyon
    • Sertifikasyonlar
    • Eğitim Etkinlikleri
    • Blog
    • Podcast
    Eğitim ve Gelişim
    • Eğitim Programı
    • Scale Up! İşletme Oyunu
    • Odoo'yu Ziyaret Edin
    Yazılım
    • İndirin
    • Sürümleri Kıyaslayın
    • Sürümler
    İş Birliği
    • Github
    • Forum
    • Etkinlikler
    • Çeviriler
    • Partner Olun
    • Partnerler için Hizmetler
    • Muhasebe Firmanızı Kaydettirin
    Hizmetler
    • Partner Bulun
    • Muhasebeci Bulun
    • Bir danışmanla görüşün
    • Kurulum Hizmetleri
    • Müşteri Referansları
    • Destek
    • Sürüm Yükseltme
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Demo randevusu alın
  • Fiyatlandırma
  • Yardım

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

  • Müşteri İlişkileri Yönetimi
  • e-Commerce
  • Muhasebe
  • Envanter
  • PoS
  • Proje Yönetimi
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiketler (View all)
odoo accounting v14 pos v15
About this forum
Yardım

difference between server actions and client actions in Odoo?

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
actionserver
3 Cevaplar
13354 Görünümler
Avatar
rectangel technologies

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

0
Avatar
Vazgeç
Avatar
Cybrosys Techno Solutions Pvt.Ltd
En İyi Yanıt

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
Avatar
Vazgeç
Avatar
Ksolves India Limited (Odoo Gold Partner)
En İyi Yanıt

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
Avatar
Vazgeç
Avatar
Niyas Raphy (Walnut Software Solutions)
En İyi Yanıt

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
Avatar
Vazgeç
Enjoying the discussion? Don't just read, join in!

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

Üye Ol
İlgili Gönderiler Cevaplar Görünümler Aktivite
Run server action only on certain products Çözüldü
action server routes
Avatar
Avatar
2
Kas 23
3216
How to create server action incoming in human resources?
action server email
Avatar
0
Mar 15
4356
How to create server action incoming in human resources?
action server email
Avatar
Avatar
2
Mar 15
7880
Guia Basica ¿Cómo puedo hablar con un asesor de Volaris?
action
Avatar
0
Kas 25
2
Need Advice For Migrate Thousands of Messy SKUs
action
Avatar
0
Kas 25
8
Topluluk
  • Eğitim Araçları
  • Dokümantasyon
  • Forum
Açık Kaynak
  • İndirin
  • Github
  • Runbot
  • Çeviriler
Hizmetler
  • Odoo.sh Hosting
  • Destek
  • Sürüm Yükseltme
  • Özel Geliştirmeler
  • Eğitim
  • Muhasebeci Bulun
  • Partner Bulun
  • Partner Olun
Hakkında
  • Şirketimiz
  • Pazarlama Gereçleri
  • İletişim
  • Kariyer
  • Etkinlikler
  • Podcast
  • Blog
  • Müşteriler
  • Hukuki • Gizlilik
  • Güvenlik
الْعَرَبيّة 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, müşteri ilişkileri yönetimi, eTicaret, muhasebe, envanter, satış noktası, proje yönetimi gibi şirketinizin tüm ihtiyaçlarını karşılayan bir açık kaynak işletme uygulamaları paketidir.

Odoo’nun eşsiz değer önermesi, aynı anda hem kullanımının çok kolay olup hem de tamamen entegre olmasıdır.

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