تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    الحصول على عرض توضيحي
  • الأسعار
  • المساعدة

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

  • إدارة علاقات العملاء
  • e-Commerce
  • المحاسبة
  • المخزون
  • PoS
  • المشروع
  • MRP
All apps
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

Error after installing "purchase" app in Odoo version 18

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
error
1 الرد
6574 أدوات العرض
الصورة الرمزية
Michael Cobby

I am receiving the following error message on product pages that has chatter sections such as order/invoice page.  This began after installing "purchase" App in Odoo version 18.
No custom apps have been installed.  Nothing in the Odoo logs related to this error.  uninstalling purchase app seems to fix it, however, I need the purchase module to be installed.  Any help would be greatly appreciated. 

Error:

The following modules failed to load because of an error, you may find more information in the devtools console: portal.assets_chatter.bundle.xml 


Browser Console displays the following error:

web.assets_frontend_lazy.min.js:3874
Error: Error while loading "portal.assets_chatter.bundle.xml":
    Error: Template mail.AttachmentList already exists
    Error: Error while loading "portal.assets_chatter.bundle.xml":
    Error: Template mail.AttachmentList already exists
        at ModuleLoader.startModule (web.assets_frontend_…nimal.min.js:24:225)
        at ModuleLoader.startModules (web.assets_frontend_minimal.min.js:23:57)
        at ModuleLoader.addJob (web.assets_frontend_minimal.min.js:20:39)
        at ModuleLoader.define (web.assets_frontend_…nimal.min.js:19:127)
        at portal.assets_chatter.min.js:3200:26
handleError @ web.assets_frontend_lazy.min.js:3874



0
الصورة الرمزية
إهمال
الصورة الرمزية
Gracious Joseph
أفضل إجابة

The error you're encountering in Odoo version 18 is caused by a conflict in templates. Specifically, the mail.AttachmentList template is defined twice, which results in Odoo being unable to load the portal.assets_chatter.bundle.xml. This is often caused by either:

  • A misconfiguration or bug in the installed modules (in this case, the purchase module).
  • Caching issues in the browser or the server.

Here’s how you can troubleshoot and resolve the issue:

1. Clear Cache and Assets

  • Action:
    • Go to Settings > Activate Developer Mode.
    • Navigate to Settings > Technical > Database Structure > Views, search for mail.AttachmentList.
    • Confirm whether this template exists multiple times or has a conflict.
    • Clear your browser cache or use an incognito window to avoid cached JavaScript/HTML errors.
    • Regenerate the assets on the server:
      ./odoo-bin -c odoo.conf --update=all
      
      This will update and regenerate all Odoo assets.

2. Check for Duplicate Template Definitions

  • The error indicates that the template mail.AttachmentList is defined multiple times, likely due to the purchase module loading an additional definition of the same template.
  • Action:
    • Open your Odoo instance in Developer Mode.
    • Search for the template mail.AttachmentList under Settings > Technical > Database Structure > Views.
    • Check if there are duplicate records for the same template. If duplicates exist:
      • Deactivate the duplicate template (if it belongs to a specific module, such as purchase).
      • Ensure there is only one active mail.AttachmentList template.

3. Debugging the JavaScript Bundle

  • The error specifically references the portal.assets_chatter.bundle.xml, which contains frontend resources for chatter functionality.
  • Action:
    • Verify the bundle loading:
      • In Developer Mode, navigate to Settings > Technical > User Interface > Views.
      • Search for portal.assets_chatter.bundle.
      • Check the JavaScript/CSS code for duplicate references to mail.AttachmentList or similar templates.

4. Reinstall the Purchase Module

If no duplicates or misconfigurations are found, try uninstalling and reinstalling the purchase module:

./odoo-bin -c odoo.conf -u purchase

5. Modify the Template

If a conflicting template is from a specific module (e.g., purchase):

  1. Extend the View:
    • Identify the conflicting template and modify it to resolve the issue:
    <template id="mail.AttachmentList" inherit_id="module.template_id" priority="20">
        <!-- Ensure unique definition -->
    </template>
    
  2. Disable the Duplicate Template:
    • If the duplicate template is unnecessary, you can deactivate it via the UI or by modifying the XML definition.

6. Check the Logs

Even though you mentioned no errors in Odoo logs, ensure verbose logging is enabled:

./odoo-bin -c odoo.conf --log-level=debug

Look for any clues related to portal.assets_chatter.bundle.xml or mail.AttachmentList.

7. Temporary Workaround

If you urgently need to use the Purchase module, you can temporarily remove the chatter functionality from the conflicting views:

  1. Navigate to Settings > Technical > User Interface > Views.
  2. Search for and edit the product page view or any page that includes chatter.
  3. Remove or comment out the chatter section temporarily:
    <xpath expr="//div[@class='o_chatter']" position="replace"/>
    

8. Report the Issue

If the above solutions don’t resolve the problem, report the issue to Odoo via their official support channels or community forums:

  • Provide details of the error, Odoo version, and steps to reproduce the problem.
  • If this is a bug in the Odoo purchase module for version 18, they may provide a patch.

Summary

The error likely stems from a duplicate or conflicting definition of the mail.AttachmentList template in the purchase module or its dependencies. Clearing the cache, resolving duplicate templates, and regenerating assets should resolve the issue. For a more permanent solution, fixing the template conflict directly in the module or reporting the issue to Odoo support may be necessary.

Let me know if you need further guidance!

0
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
?"Your country might be blocked by our hosting provider" error when I create new website
error
الصورة الرمزية
0
أكتوبر 25
518
Payment Page Return Error with Razorpay on Mobile Devices
error
الصورة الرمزية
0
سبتمبر 25
1138
error schema for TourStep Error
error
الصورة الرمزية
0
نوفمبر 24
2536
Can't modify manifest version of custom module [Odoo.sh]
error
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
يوليو 24
5130
Error loading my website
error
الصورة الرمزية
0
أبريل 24
3077
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة 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

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

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