Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    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
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

ODOO9: Exception: AttValue: " or ' expected, line 45, column 17

Subscribe

Get notified when there's activity on this post

This question has been flagged
odoo
8 Replies
11747 Views
Avatar
Rihene

Can anyone help me know this error please:

2015-12-20 14:45:51,704 7676 ERROR ODOO openerp.service.report: Exception: AttValue: " or ' expected, line 45, column 17

Traceback (most recent call last):

File "/opt/odoo/openerp/service/report.py", line 94, in go

result, format = openerp.report.render_report(cr, uid, ids, object, datas, context)

File "/opt/odoo/openerp/report/__init__.py", line 22, in render_report

return registry['ir.actions.report.xml'].render_report(cr, uid, ids, name, data, context)

File "/opt/odoo/openerp/api.py", line 238, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/openerp/addons/base/ir/ir_actions.py", line 197, in render_report

return new_report.create(cr, uid, res_ids, data, context)

File "/opt/odoo/openerp/report/report_sxw.py", line 371, in create

fnct_ret = fnct(cr, uid, ids, data, report_xml, context)

File "/opt/odoo/openerp/report/report_sxw.py", line 440, in create_source_pdf

return self.create_single_pdf(cr, uid, ids, data, report_xml, context)

File "/opt/odoo/openerp/report/report_sxw.py", line 455, in create_single_pdf

processed_rml = etree.XML(rml)

File "lxml.etree.pyx", line 3072, in lxml.etree.XML (src/lxml/lxml.etree.c:70242)

File "parser.pxi", line 1828, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:106307)

File "parser.pxi", line 1716, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:105098)

File "parser.pxi", line 1086, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:99780)

File "parser.pxi", line 580, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:94254)

File "parser.pxi", line 690, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:95690)

File "parser.pxi", line 620, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:94757)

XMLSyntaxError: AttValue: " or ' expected, line 45, column 17

2015-12-20 14:45:51,925 7676 ERROR ODOO openerp.addons.web.controllers.main: An exception occured during an http request

Traceback (most recent call last):

File "/opt/odoo/openerp/addons/web/controllers/main.py", line 72, in wrap

return f(*args, **kwargs)

File "/opt/odoo/openerp/addons/web/controllers/main.py", line 1568, in index

request.session.db, request.session.uid, request.session.password, report_id)

File "/opt/odoo/openerp/http.py", line 969, in proxy_method

result = dispatch_rpc(self.service_name, method, args)

File "/opt/odoo/openerp/http.py", line 114, in dispatch_rpc

result = dispatch(method, params)

File "/opt/odoo/openerp/service/report.py", line 35, in dispatch

res = fn(db, uid, *params)

File "/opt/odoo/openerp/service/report.py", line 142, in exp_report_get

return _check_report(report_id)

File "/opt/odoo/openerp/service/report.py", line 120, in _check_report

raise UserError('%s: %s' % (exc.message, exc.traceback))

UserError: (u'AttValue: " or \' expected, line 45, column 17: (<class \'lxml.etree.XMLSyntaxError\'>, XMLSyntaxError(u\'AttValue: " or \\\' expected, line 45, column 17\',), <traceback object at 0x7fe68cca4ef0>)', None)

Thanks a lot in advance.

Best Regards.

1
Avatar
Discard
Ajay Patel

what you want to do?? and what you change in web?? please give a some line of code.

Rihene
Author

Friend i want to create a report (webkit) on odoo9 :/

Ajay Patel

can you show some line of code of your xml file near (line 45)

Rihene
Author

I will post you my xml but there is no error. The unique error is that webkit report is not working on my odoo9 :/

Rihene
Author

NotImplementedError: Type de rapport inconnu : "webkit" Here is what i got when i print my report

Rihene
Author

Hey friend!!! are u here??

Avatar
Rihene
Author Best Answer

Friend;

Here is my xml:

<?xml version="1.0"?>

<openerp>

<data>

<record id="view_holidays_form_inherit" model="ir.ui.view">

<field name="name">Leave Request.inherit</field>

<field name="model">hr.holidays</field>

<field name="inherit_id" ref="hr_holidays.edit_holiday_new"/>

<field name="arch" type="xml">

<xpath expr="//field[@name='department_id']" position="after">

<field name="resumption_date"/>

</xpath>

</field>

</record>

</data>

</openerp>

And the xml of my report:

<?xml version="1.0"?>

<openerp>

<data>

<report

auto="False"

id="titre_conge_report"

model="hr.holidays"

name="titre_conge"

file="addons/seetek_leave/report/titre_conge.mako"

string="Titre de congés"

usage="default"/>

</data>

</openerp>

1
Avatar
Discard
Avatar
Ajay Patel
Best Answer

Try This may it will help you, in this you have to explicitly define the parser path. See this example, (parser) attribute:

 <report id="report_pack_slip"
        name="pack.slip"
        auto="False"
        model="stock.picking"
        file="mage2odoo_picking_ticket/report/packing.mako"
        string="Packing Slip"
    parser="<module_name>.<folder_name>.<py file>.<parsar class>"
    header="False"
        report_type="webkit"
/>

see this discussion: https://github.com/odoo/odoo/issues/2334 

0
Avatar
Discard
Rihene
Author

i have tried it but nothing have changed. I still get this error :/

Ajay Patel

as per your question error in your xml syntax at line 45

Rihene
Author

I have tried this but it still not working pffff :'(

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
error while rendering the template website_sale.product_title after upgrading to Odoo 19
odoo
Avatar
0
दिस॰ 25
8
We are using Odoo POS (v19) for a wholesale / cash & carry business.
odoo
Avatar
0
दिस॰ 25
118
Odoo installatie
odoo
Avatar
Avatar
1
दिस॰ 25
235
How Odoo Help Businesses??
odoo
Avatar
0
दिस॰ 25
253
Odoo Studio Many2one field not appearing in automations
odoo
Avatar
Avatar
1
दिस॰ 25
424
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة 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, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

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