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

CANT VALIDATE MY SALES ORDER I GET AN ERROR CODE

Abone Ol

Get notified when there's activity on this post

Bu soru işaretlendi
saleserrordeliverystudioodoo16features
1 Cevapla
2599 Görünümler
Avatar
silas Adongo

HI Family 

I get the below error code when i try to validate my sales order to get the delivery slip 


Traceback (most recent call last):
  File "/home/odoo/src/odoo/17.0/odoo/tools/cache.py", line 99, in lookup
    r = d[key]
  File "", line 2, in __getitem__
  File "/home/odoo/src/odoo/17.0/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/home/odoo/src/odoo/17.0/odoo/tools/lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.qweb', , ('989', "'en_US'", 'False', 'None', 'None', 'None', 'None', 'None', 'None', 'None'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 742, in _generate_code
    + self._compile_node(element, compile_context, 2)
  File "/home/odoo/src/odoo/17.0/addons/web_editor/models/ir_qweb_fields.py", line 67, in _compile_node
    return super()._compile_node(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1326, in _compile_node
    return body + self._compile_directives(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/addons/mail/models/ir_qweb.py", line 16, in _compile_directives
    return super()._compile_directives(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1412, in _compile_directives
    code.extend(self._compile_directive(el, compile_context, directive, level))
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 325, in _tracked_compile_directive
    return method_compile_directive(self, el, options, directive, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1439, in _compile_directive
    return compile_handler(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1729, in _compile_directive_inner_content
    body.extend(self._compile_node(item, compile_context, level))
  File "/home/odoo/src/odoo/17.0/addons/web_editor/models/ir_qweb_fields.py", line 67, in _compile_node
    return super()._compile_node(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1326, in _compile_node
    return body + self._compile_directives(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/addons/mail/models/ir_qweb.py", line 16, in _compile_directives
    return super()._compile_directives(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1412, in _compile_directives
    code.extend(self._compile_directive(el, compile_context, directive, level))
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 325, in _tracked_compile_directive
    return method_compile_directive(self, el, options, directive, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1439, in _compile_directive
    return compile_handler(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 2153, in _compile_directive_call
    code_content.extend(self._compile_directive(el, compile_context, 'inner-content', 1))
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 325, in _tracked_compile_directive
    return method_compile_directive(self, el, options, directive, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1439, in _compile_directive
    return compile_handler(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1729, in _compile_directive_inner_content
    body.extend(self._compile_node(item, compile_context, level))
  File "/home/odoo/src/odoo/17.0/addons/web_editor/models/ir_qweb_fields.py", line 67, in _compile_node
    return super()._compile_node(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1326, in _compile_node
    return body + self._compile_directives(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/addons/mail/models/ir_qweb.py", line 16, in _compile_directives
    return super()._compile_directives(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1412, in _compile_directives
    code.extend(self._compile_directive(el, compile_context, directive, level))
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 325, in _tracked_compile_directive
    return method_compile_directive(self, el, options, directive, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1439, in _compile_directive
    return compile_handler(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 2153, in _compile_directive_call
    code_content.extend(self._compile_directive(el, compile_context, 'inner-content', 1))
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 325, in _tracked_compile_directive
    return method_compile_directive(self, el, options, directive, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1439, in _compile_directive
    return compile_handler(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1729, in _compile_directive_inner_content
    body.extend(self._compile_node(item, compile_context, level))
  File "/home/odoo/src/odoo/17.0/addons/web_editor/models/ir_qweb_fields.py", line 67, in _compile_node
    return super()._compile_node(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1294, in _compile_node
    return self._compile_static_node(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1386, in _compile_static_node
    body = self._compile_directive(el, compile_context, 'inner-content', level)
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 325, in _tracked_compile_directive
    return method_compile_directive(self, el, options, directive, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1439, in _compile_directive
    return compile_handler(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1729, in _compile_directive_inner_content
    body.extend(self._compile_node(item, compile_context, level))
  File "/home/odoo/src/odoo/17.0/addons/web_editor/models/ir_qweb_fields.py", line 67, in _compile_node
    return super()._compile_node(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1326, in _compile_node
    return body + self._compile_directives(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/addons/mail/models/ir_qweb.py", line 16, in _compile_directives
    return super()._compile_directives(el, compile_context, indent)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1412, in _compile_directives
    code.extend(self._compile_directive(el, compile_context, directive, level))
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 325, in _tracked_compile_directive
    return method_compile_directive(self, el, options, directive, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1439, in _compile_directive
    return compile_handler(el, compile_context, level)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 1814, in _compile_directive_elif
    raise SyntaxError("t-elif directive must be preceded by t-if or t-elif directive")
SyntaxError: t-elif directive must be preceded by t-if or t-elif directive

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/odoo/src/odoo/17.0/addons/web/controllers/report.py", line 113, in report_download
    response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
  File "/home/odoo/src/odoo/17.0/odoo/http.py", line 725, in route_wrapper
    result = endpoint(self, *args, **params_ok)
  File "/home/odoo/src/odoo/17.0/addons/web/controllers/report.py", line 42, in report_routes
    pdf = report.with_context(context)._render_qweb_pdf(reportname, docids, data=data)[0]
  File "/home/odoo/src/odoo/17.0/addons/account/models/ir_actions_report.py", line 61, in _render_qweb_pdf
    return super()._render_qweb_pdf(report_ref, res_ids=res_ids, data=data)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_actions_report.py", line 884, in _render_qweb_pdf
    collected_streams = self._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
  File "/home/odoo/src/odoo/17.0/addons/sale_pdf_quote_builder/models/ir_actions_report.py", line 17, in _render_qweb_pdf_prepare_streams
    result = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
  File "/home/odoo/src/enterprise/17.0/account_followup/models/ir_actions_report.py", line 12, in _render_qweb_pdf_prepare_streams
    res = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids)
  File "/home/odoo/src/odoo/17.0/addons/account_edi/models/ir_actions_report.py", line 14, in _render_qweb_pdf_prepare_streams
    collected_streams = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
  File "/home/odoo/src/odoo/17.0/addons/account/models/ir_actions_report.py", line 20, in _render_qweb_pdf_prepare_streams
    return super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_actions_report.py", line 734, in _render_qweb_pdf_prepare_streams
    html = self.with_context(**additional_context)._render_qweb_html(report_ref, all_res_ids_wo_stream, data=data)[0]
  File "/home/odoo/src/enterprise/17.0/web_studio/models/ir_actions_report.py", line 24, in _render_qweb_html
    return super(IrActionsReport, self)._render_qweb_html(report_ref, docids, data)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_actions_report.py", line 934, in _render_qweb_html
    return self._render_template(report.report_name, data), 'html'
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_actions_report.py", line 654, in _render_template
    return view_obj._render_template(template, values).encode()
  File "/home/odoo/src/odoo/17.0/addons/website/models/ir_ui_view.py", line 442, in _render_template
    return super()._render_template(template, values=values)
  File "/home/odoo/src/enterprise/17.0/web_studio/models/ir_ui_view.py", line 1310, in _render_template
    return super(View, self)._render_template(template, values)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_ui_view.py", line 2050, in _render_template
    return self.env['ir.qweb']._render(template, values)
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 292, in _tracked_method_render
    return method_render(self, template, values, **options)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 593, in _render
    result = ''.join(rendering)
  File "", line 65, in template_994
  File "", line 50, in template_994_content
  File "/home/odoo/src/odoo/17.0/odoo/tools/profiler.py", line 300, in _tracked_compile
    return method_compile(self, template)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 659, in _compile
    return self._load_values(base_key_cache, generate_functions)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 2509, in _load_values
    value = self._get_cached_values(cache_key, get_value)
  File "", line 2, in _get_cached_values
  File "/home/odoo/src/odoo/17.0/odoo/tools/cache.py", line 104, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 2522, in _get_cached_values
    return get_value()
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 628, in generate_functions
    code, options, def_name = self._generate_code(template)
  File "/home/odoo/src/odoo/17.0/odoo/addons/base/models/ir_qweb.py", line 767, in _generate_code
    raise QWebException("Error when compiling xml template",
odoo.addons.base.models.ir_qweb.QWebException: Error when compiling xml template
SyntaxError: t-elif directive must be preceded by t-if or t-elif directive
Template: stock.report_delivery_document
Path: /t/t/t/div/table[2]
Node: 
The above server error caused the following client error: RPC_ERROR: Odoo Server Error at makeErrorFromResponse (https://mosino-one.odoo.com/web/assets/158b3f7/web.assets_web.min.js:2870:163) at decoder.onload (https://mosino-one.odoo.com/web/assets/158b3f7/web.assets_web.min.js:2856:7)


0
Avatar
Vazgeç
Avatar
Matthias Enderle
En İyi Yanıt
SyntaxError: t-elif directive must be preceded by t-if or t-elif directive
Template: stock.report_delivery_document

Looks like you have a syntax error in the template identified as stock.report_delivery_document around "/t/t/t/div/table[2]".

Check all t-elif statements and make sure that they are led by a t-if or another t-elif.

You can search for the template  at Settings > Technical > Reports (developer mode required).

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
get products of sale order which product_uom_qty does not match qty_delivered after validating the stock.picking of this product odoo16
sales product delivery stock_picking odoo16features
Avatar
Avatar
1
Haz 23
3218
Linking Studio Module to Sales
sales studio
Avatar
0
Eyl 24
1691
Default value from a other field in Studio
studio odoo16features
Avatar
Avatar
1
Nis 24
4223
Odoo Studio - can't drag & drop columns or tabs in form view (v16+e)
studio odoo16features
Avatar
Avatar
Avatar
2
Şub 24
4631
Multiple Address in sale orde Çözüldü
sales odoo16features
Avatar
Avatar
Avatar
2
Mar 24
3451
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