İç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

Limitations in Automation Rules (Odoo 17)

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
AutomatedActionsAutomationv17
2 Cevaplar
5682 Görünümler
Avatar
Chris TRINGHAM

In Odoo 16 and previous versions, it was very easy to use Automated Actions to create a record in a linked Model and set fields.  For example, to create an Analytic Account for a Sales Order in Odoo 15:


In Odoo 17, Automation Rules allow you to create a linked record, but do not allow you to set other fields.  So it will fail when trying to create an Analytic Account because it needs some fields to be set (including the Plan).

It is possible to write Python code for some of this, though (not being a Python programmer) I can't figure out how to create an Analytic Account and link it to the sales order.

Similar problem if you want to update multiple fields or use a Python expression rather than set a fixed value.

Also (as discussed elsewhere), only some triggers can be selected, though all of them still seem to be there!

Are these "improvements" because Automated Actions were too powerful or was it overlooked?  Or is there a solution I am missing?  

2
Avatar
Vazgeç
Ricardo Gross

I hope it was only be overlooked and that it will be a solution/fix soon!

Chris TRINGHAM
Üretici

For reference: https://github.com/odoo/odoo/pull/114352

Esraa Abu Amer

Hello,

can I ask if you use a execute code , do I have to have the custome plan ? if I am using odoo standard how can I create a new recored 

Tammie Morris

Help - I've been trying to create this but even with Ray's work around we still get an error that a mandatory field isn't being set? What am I missing?

Chris TRINGHAM
Üretici

Hi Tammie - it should work if you set a user-defined default for the Plan field: https://odootricks.tips/user-defined-defaults/

Avatar
Ray Carnes (ray)
En İyi Yanıt

The issue here is that an Analytic Account has two required fields (Name and Plan) and the Automation Rules only allow you to specify a value for the Name.

If you have a User Defined Default setup for Plan, then the following Automation Rule works, updating through the linked field:


When using the UPDATE Action, you can switch from UPDATE to COMPUTE like this:

1
Avatar
Vazgeç
Ray Carnes (ray)

In Odoo 19.0, we are bringing back "ON CREATE" and "ON CREATE AND EDIT" and removing "ON SAVE".

We are adding DUPLICATE and SEND WHATSAPP Actions.

Chris TRINGHAM
Üretici

Thanks @Ray - but I think I'm missing something here. How do you create an action that is "Compute...."

Ray Carnes (ray)

@Chris, see the last part of my updated answer above.

Chris TRINGHAM
Üretici

Thanks @Ray - and it's good news that some of the simplification to the UI in v17 is being reverted.

Avatar
Roeland Vandecan
En İyi Yanıt

Hey Esraa,


try this post:https://www.odoo.com/nl_NL/forum/help-1/server-action-create-record-in-v17-where-to-fill-in-the-target-model-field-values-data-to-write-246871

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
v17: Automation Rules - Trigger is missing?
Automation v17
Avatar
Avatar
Avatar
2
Mar 24
4061
Odoo 17: Alternative to deprecated "On Creation" for automated actions? Çözüldü
Studio AutomatedActions v17
Avatar
Avatar
Avatar
2
Oca 25
5139
Automated Action on Odoo 17
automated AutomatedActions v17
Avatar
Avatar
1
Mar 24
4529
Odoo 17 : Automation Rules (base.automation) not working correctly
Rules Automation v17
Avatar
Avatar
1
Şub 24
4280
automated actions creation using XML file Odoo 17
AutomatedActions Actions v17
Avatar
Avatar
1
Şub 24
3676
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