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

Module not installable error XML or Manifest (Odoo saas~19.2+e)

اشتراك

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

لقد تم الإبلاغ عن هذا السؤال
configurationmodulesmodification
3 الردود
1209 أدوات العرض
الصورة الرمزية
Marcos Perez

Good morning,

I'm trying to create a module to apply common XML customizations for clients. I usually do this using Odoo Studio.

However, when I try to install the module, I get the following error:

AssertionError: Module not installable

The only thing I can confirm is that the issue is somewhere in the code. I've included the manifest and the XML code below.

__manifest__.py

# -*- coding: utf-8 -*-
	​​{
	​    'name': 'Bodegas',
	​    'version': '19.2.0.1',
	​    'category': 'Accounting',
	​    'depends': ['account','studio_customization'],
	​    'author': 'D',
	​    'website': '',
	​    'data': [
	​        'views/report_invoice_document_inherit.xml'
	​    ],
	​    'license': 'LGPL-3',
	​    'installable': True,
	​    'application': False
	​}
report_invoice_document_inherit.xml
<?xml version="1.0" encoding="utf-8"?>
	​<odoo>
	​    <template id="report_invoice_document_inherit" inherit_id="account.report_invoice_document">
	​        <xpath expr="//div[@id='informations']" position="after">
	​            <div class="oe_structure" t-if="o.x_studio_albaran">
	​                <strong>ALBARANES:</strong>
	​                <span t-field="o.x_studio_albaran"/>
	​            </div>
	​            <div class="oe_structure">
	​                <br/>
	​            </div>
	​        </xpath>
	​    </template>
	​</odoo>

Thank you in advance for your help.


EDIT: Just wanted to confirm that I have an __init__.py empty.

0
الصورة الرمزية
إهمال
Codesphere Tech

Hello,
Please confirm that you have added __init__.py file in your module..

Marcos Perez
الكاتب

Between double-checking the XML and commenting the version line in the manifest. It worked perfectly. Thank you so much.

Codesphere Tech

Regarding the SaaS Custom module: you don't need to manually specify the version. It automatically defaults to the version of the Odoo instance you are currently running.

الصورة الرمزية
Codesphere Tech
أفضل إجابة

Hello,
Can you please try to comment version and then restart odoo.?
Hope this helps you
Thanks.

1
الصورة الرمزية
إهمال
Marcos Perez
الكاتب

I think the problem was the version. Thank you so much

الصورة الرمزية
Zehntech Technologies Inc.
أفضل إجابة

Hello,

Yes, this type of customization is definitely achievable via a custom module.

The “Module not installable” error is usually not related to the XML logic itself but rather to structural issues in the module. Based on your snippet, here are a few things to check:

  • Ensure there are no hidden/invalid characters or indentation issues in the __manifest__.py (this is a common cause, especially when copying code).
  • Verify that the dependency 'studio_customization' is correct and available in your environment (in SaaS, this may not always be installable).
  • Confirm that the inherited template (account.report_invoice_document) exists and is correctly referenced.
  • Double-check that your XML file is properly loaded and has no encoding or syntax issues.

If all looks correct, try reinstalling after cleaning the module or testing in a fresh database to isolate the issue.

Hope this works for you! Feel free to reach out for further discussion.

Regards,

Zehntech Technologies Inc.

santosh.sekwadia@zehntech.com

1
الصورة الرمزية
إهمال
الصورة الرمزية
Cybrosys Techno Solutions Pvt.Ltd
أفضل إجابة

Hi,

Yes, the issue is in the manifest file. The XML file path is placed under the key 'date', but Odoo only recognizes 'data' for loading XML, CSV, and view files. Because of this typo, the XML is never loaded, which causes the module installation to fail and may trigger the assertion error.

Please change this:

'date': [
    'views/report_invoice_document_inherit.xml'
],

to:

'data': [
    'views/report_invoice_document_inherit.xml'
],

After correcting it, update the apps list and try installing the module again. The XML structure itself looks fine, so this manifest typo is the likely root cause.


Hope it helps

-1
الصورة الرمزية
إهمال
Marcos Perez
الكاتب

Hello,
Please check the manifest, I have the key 'data' not the key 'date'.

هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

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

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
How to install Confluence connector module on odoo 15
modules modification
الصورة الرمزية
الصورة الرمزية
1
مايو 22
4890
Can't install modules تم الحل
configuration modules
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
7
أبريل 17
15340
How can we remove translation for a base text field?
modules modification translatable
الصورة الرمزية
الصورة الرمزية
1
يونيو 23
4644
How can I access to my modules settings after I install the website module? تم الحل
configuration modules access
الصورة الرمزية
الصورة الرمزية
2
مارس 15
7545
Configuration page creates many records in the DB
configuration modules newmodule
الصورة الرمزية
0
مارس 15
4781
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "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 Svenska ภาษาไทย 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