تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (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
حول هذا المنتدى
المساعدة

Assertion Error on Email Generation with attachment

اشتراك

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

لقد تم الإبلاغ عن هذا السؤال
assertionerror
7263 أدوات العرض
الصورة الرمزية
Mr Rhys Park

I Have this error when creating an email - send my email in the quotation. It only happens when I have an attachment any clues on what may be causing it?

Client Traceback (most recent call last): File "/opt/openerp/v7/web/addons/web/http.py", line 204, in dispatch response["result"] = method(self, *self.params) File "/opt/openerp/v7/web/addons/web/controllers/main.py", line 1128, in call_kw return self._call_kw(req, model, method, args, kwargs) File "/opt/openerp/v7/web/addons/web/controllers/main.py", line 1120, in _call_kw return getattr(req.session.model(model), method)(args, **kwargs) File "/opt/openerp/v7/web/addons/web/session.py", line 42, in proxy result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw) File "/opt/openerp/v7/web/addons/web/session.py", line 30, in proxy_method result = self.session.send(self.service_name, method, *args) File "/opt/openerp/v7/web/addons/web/session.py", line 103, in send raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)

Server Traceback (most recent call last): File "/opt/openerp/v7/web/addons/web/session.py", line 89, in send return openerp.netsvc.dispatch_rpc(service_name, method, args) File "/opt/openerp/v7/server/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/v7/server/openerp/service/web_services.py", line 626, in dispatch res = fn(db, uid, params) File "/opt/openerp/v7/server/openerp/osv/osv.py", line 188, in execute_kw return self.execute(db, uid, obj, method, *args, *kw or {}) File "/opt/openerp/v7/server/openerp/osv/osv.py", line 131, in wrapper return f(self, dbname, args, *kwargs) File "/opt/openerp/v7/server/openerp/osv/osv.py", line 197, in execute res = self.execute_cr(cr, uid, obj, method, args, *kw) File "/opt/openerp/v7/server/openerp/osv/osv.py", line 185, in execute_cr return getattr(object, method)(cr, uid, args, *kw) File "/opt/openerp/v7/addons-brash/email_template/wizard/mail_compose_message.py", line 72, in onchange_template_id values = self.generate_email_for_composer(cr, uid, template_id, res_id, context=context) File "/opt/openerp/v7/addons-brash/email_template/wizard/mail_compose_message.py", line 123, in generate_email_for_composer template_values = self.pool.get('email.template').generate_email(cr, uid, template_id, res_id, context=context) File "/opt/openerp/v7/addons-brash/email_template/email_template.py", line 340, in generate_email (result, format) = service.create(cr, uid, [res_id], {'model': template.model}, ctx) File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 444, in create fnct_ret = fnct(cr, uid, ids, data, report_xml, context) File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 513, in create_source_pdf return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 535, in create_single_pdf pdf = create_doc(etree.tostring(processed_rml),rml_parser.localcontext,logo,title.encode('utf8')) File "/opt/openerp/v7/server/openerp/report/interface.py", line 206, in create_pdf obj.render() File "/opt/openerp/v7/server/openerp/report/render/render.py", line 59, in render self._result = self._render() File "/opt/openerp/v7/server/openerp/report/render/rml.py", line 41, in _render return rml2pdf.parseNode(self.rml, self.localcontext, images=self.bin_datas, path=self.path,title=self.title)
File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 1035, in parseNode r.render(fp) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 348, in render pt_obj.render(el) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 1011, in render fis += r.render(node_story) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 905, in render return process_story(node_story) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 898, in process_story flow = self._flowable(node) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 862, in _flowable return self.render(node) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 905, in render return process_story(node_story) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 898, in process_story flow = self._flowable(node) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 821, in _flowable return self._table(node) File "/opt/openerp/v7/server/openerp/report/render/rml2pdf/trml2pdf.py", line 725, in _table assert length == len(node.get('colWidths').split(',')) AssertionError

0
الصورة الرمزية
إهمال
IBS Group

Are you able to print the quotation without issues?

Mr Rhys Park
الكاتب

No I cannot print anything from the sales order module, no problem in the Purchase order module. path in the file is report_sxw.report_sxw('report.sale.order', 'sale.order', 'sale/report/sale_order.rml', parser=order, header="external") Now i get " RML is not available at specified location or not enough data to print!" I assume it cant find the RML file but the path seems correct :) any ideas?

IBS Group

Can you go to Settings - Technical - Actions - Reports and search for the Sale Order report then paste the RML location here.

Mr Rhys Park
الكاتب

Here goes sale/report/sale_order.rml

IBS Group

Can you please confirm the file exists in that location.

Mr Rhys Park
الكاتب

yes i have checked and the file does exist in the addons/sale/report/sale_order.rml how is the path created as i have my directory structure as addons and server in the same directory i.e v7/addons and v7/server and v7/web but all the other reports seem fine and the paths is the same?

IBS Group

in the report_sxw.report_sxw method call change the 3rd parameter to addons/sale/report/sale_order.rml then restart the server daemon and see if it works.

Mr Rhys Park
الكاتب

line now reads report_sxw.report_sxw('report.sale.order', 'sale.order', 'addons/sale/report/sale_order.rml', parser=order, header="external") and no change

IBS Group

Okay you can put it back the way it was before. Was the printing problem preexistant or it started happening recently? also can you make sure that there are no spaces in the report path in Settings - Technical - Actions - Reports

Mr Rhys Park
الكاتب

Checked and no spaces, reentered just in case and all seem to match, checked the database with an SQL query and the stored path is correct. The problem started when transferred to a new server. All the other reports seem to run which does not make sense.

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

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

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
AssertionError: Element odoo has extra content: data owing to few lines of code in the Email Template XML
assertionerror
الصورة الرمزية
الصورة الرمزية
1
أكتوبر 23
3315
Many2One relationships from non-transient Model to TransientModel are forbidden
assertionerror
الصورة الرمزية
0
مايو 17
7542
AssertionError: Invalid rec_name task_id for model projet.task.history
assertionerror
الصورة الرمزية
0
مارس 15
6103
AssertionError: Element odoo has extra content: menuitem, line 9
assertionerror security.xml
الصورة الرمزية
الصورة الرمزية
1
أغسطس 24
5085
AssertionError: Element data has extra content: record, line 3
assertionerror content
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
3
سبتمبر 23
4051
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "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