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

Error at setting an automated action in Odoo studio v16 online

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
sale.order.linesales.orderMissingErrorAutomatedActionsodoo16features
1 Cevapla
2452 Görünümler
Avatar
JOSE CARLOS Sanchez

Hi. I'm trying to set an automated action in the Sales Order model that creates a new sales order line (for an existing product) every time I add a specific sales order line with the product_template_id called Project A.

For example, when I create a new sales order and then add the product Project A, and then save it, it should automatically add the product Set Up to my lines. 

I configured the automated actions like this:

Model: Sales Order Line

Trigger: On Update

Apply on: Match records with the rule: "Product Template>Name=Project A"

Action To Do: Create a New Record

Target model: Sales Order Line

Data to Write:
​Field: Order Reference (Sales Order Line)
​Evaluation Type: Python expression
​Record:
​Value: record.id

​Field: Product Template (Sales Order Line)
​Evaluation Type: Reference
​Record: Set Up
​Value: 6

 

With this configuration, I encounter the following issue: 

Missing Record: Record does not exist or has been deleted (Record: sale order(145), User: 14

 

I have been testing, and I can't get this to work. Could someone help me? Thank you.


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

Hi,

It seems like the issue might be related to how the automated action is triggered and the configuration of the action itself. Here's how you can troubleshoot and potentially fix the problem:

  1. Trigger Condition: Instead of using "On Update" as the trigger condition, consider using "On Create" or "Before Update" depending on your specific requirements. This ensures that the action is triggered when a new sales order line is created or updated, which is likely when you want the Set Up product line to be added.
  2. Apply On Condition: Ensure that the "Apply on" condition is correctly set to "Match records with the rule: Product Template > Name = Project A". This ensures that the action is applied only to sales order lines with the specified product template.
  3. Data to Write: Check the values you are providing for the "Order Reference" and "Product Template" fields. Ensure that the "Order Reference" field is correctly mapped to the sales order line's order reference, and the "Product Template" field is set to the correct product template ID for the Set Up product.
  4. Record and Evaluation Type: Verify the evaluation type for each field. For the "Order Reference" field, use the Python expression record.order_id.id to correctly reference the sales order's ID. For the "Product Template" field, ensure that you're providing the correct product template ID for the Set Up product.
  5. Error Message: The error message "Missing Record: Record does not exist or has been deleted" suggests that there might be an issue with retrieving the sales order record or the Set Up product record. Double-check that the records exist and that the IDs provided in the automated action are correct.

By reviewing and potentially adjusting these aspects of the automated action configuration, you should be able to resolve the issue and have the Set Up product line automatically added to sales order lines with the Project A product template.


Hope it helps

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
Duplicate section on Sales order Çözüldü
sales sale.order.line sales.order v14 odoo16features
Avatar
Avatar
2
Mar 25
3751
Change or creat Sales Order date
sales.order odoo16features
Avatar
1
Ara 23
2502
Odoo16: where is Automated Actions in Technical menu Çözüldü
AutomatedActions odoo16features
Avatar
Avatar
Avatar
Avatar
3
Eki 23
4260
add a additional product to order.lines by automated actions
sale.order.line AutomatedActions
Avatar
0
Haz 24
3080
Multiply Column In Odoo 16 enterprise ? Çözüldü
sales.order odoo16features
Avatar
Avatar
1
Nis 23
3402
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