Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

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

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Webkit error Odoo v7 - account_financial_report_webkit

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
accountingreportsfinancialreports7.0
3 Replies
7327 Tampilan
Avatar
mmycool

Anyone experienced this error? Any solution to this?

TypeError: translate_call() takes exactly 2 arguments (3 given)

2014-07-23 10:16:55,537 4676 ERROR mikes-demo openerp.service.web_services: Exception: (u'Webkit render', u'\n\nTraceback (most recent call last):\n  File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf\n    **parser_instance.localcontext)\n  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render\n    return runtime._render(self, self.callable_, args, data)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render\n    **_kwargs_for_callable(callable_, data))\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template\n    callable_(context, *args, **kwargs)\n  File "memory:0xaf14f8acL", line 22, in render_body\n    <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')
Traceback (most recent call last):
  File "/opt/openerp/v7/server/openerp/service/web_services.py", line 712, in go
    (result, format) = obj.create(cr, uid, ids, datas, context)
  File "/opt/openerp/v7/addons/report_webkit/webkit_report.py", line 340, in create
    result = self.create_source_pdf(cursor, uid, ids, data, report_xml, context)
  File "/opt/openerp/v7/server/openerp/report/report_sxw.py", line 511, in create_source_pdf
    return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
  File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 233, in create_single_pdf
    raise except_osv(_('Webkit render'), msg)
except_osv: (u'Webkit render', u'\n\nTraceback (most recent call last):\n  File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf\n    **parser_instance.localcontext)\n  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render\n    return runtime._render(self, self.callable_, args, data)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render\n    **_kwargs_for_callable(callable_, data))\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template\n    callable_(context, *args, **kwargs)\n  File "memory:0xaf14f8acL", line 22, in render_body\n    <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')
2014-07-23 10:16:55,595 4676 ERROR mikes-demo openerp.netsvc: Webkit render


Traceback (most recent call last):
  File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf
    **parser_instance.localcontext)
  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render
    return runtime._render(self, self.callable_, args, data)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render
    **_kwargs_for_callable(callable_, data))
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context
    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template
    callable_(context, *args, **kwargs)
  File "memory:0xaf14f8acL", line 22, in render_body
    <%
TypeError: translate_call() takes exactly 2 arguments (3 given)
Traceback (most recent call last):
  File "/opt/openerp/v7/server/openerp/netsvc.py", line 296, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/opt/openerp/v7/server/openerp/service/web_services.py", line 654, in dispatch
    res = fn(db, uid, *params)
  File "/opt/openerp/v7/server/openerp/service/web_services.py", line 760, in exp_report_get
    return self._check_report(report_id)
  File "/opt/openerp/v7/server/openerp/service/web_services.py", line 738, in _check_report
    netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)
  File "/opt/openerp/v7/server/openerp/netsvc.py", line 71, in abort_response
    raise openerp.osv.osv.except_osv(description, details)
except_osv: (u'Webkit render', u'\n\nTraceback (most recent call last):\n  File "/opt/openerp/v7/addons/account_financial_report_webkit/report/webkit_parser_header_fix.py", line 228, in create_single_pdf\n    **parser_instance.localcontext)\n  File "/usr/lib/python2.7/dist-packages/mako/template.py", line 443, in render\n    return runtime._render(self, self.callable_, args, data)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 783, in _render\n    **_kwargs_for_callable(callable_, data))\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 815, in _render_context\n    _exec_template(inherit, lclcontext, args=args, kwargs=kwargs)\n  File "/usr/lib/python2.7/dist-packages/mako/runtime.py", line 841, in _exec_template\n    callable_(context, *args, **kwargs)\n  File "memory:0xaf14f8acL", line 22, in render_body\n    <%\nTypeError: translate_call() takes exactly 2 arguments (3 given)\n')

 

From the browser, the error is:

Uncaught SyntaxError: Unexpected end of input
http://localhost:8092/?db=mike-demo&ts=1406110570942#page=0&limit=80&view_type=list&model=account.invoice&menu_id=225&action=246:0

1
Avatar
Buang
User198605

I am also facing same error... I am not able to GL report at all. Not able to find any work-around in the google... :( highly disappointed...

Yoshi Tashiro

i get the same thing as well. i will post an update if i get to solve the problem.

Fks bvba

Is there a fix for this problem? I have this problem on one machine. On an other it works. There is a difference on the machine in the mako versions. With mako 0.5.0 it works. With mako 0.7.0 it does not work. Is there someone who can tell me how I remove mako 0.7.0 and replace it by mako 0.5.0. I don't know if this is a solution but I wanna give it a try.

babu

Hi Friends, I am also facing same error, if anybody fix then please provide me how to fix it. waiting for your valuable guidance.

Avatar
mmycool
Penulis Jawaban Terbai

Anyone willing to help?

0
Avatar
Buang
Avatar
ahmad
Jawaban Terbai

might be problems with <% and %>

you can try using the default report if it has, and convert it into webkit template. 

0
Avatar
Buang
User198605

"you can try using the default report if it has, and convert it into webkit template"... Can you please guide me How can I do that. I am very new to OE reporting concept. :(

Avatar
Eric Mugo
Jawaban Terbai

I think the solution is to perform an update of openerp. This will depend on your linux distribution and how you installed openerp.

It appears that your account_financial_report_webkit module is newer than the report_webkit module bundled with openerp.

The change in the report_webkit module was introduced in June 2014:


https://github.com/odoo/odoo/commit/6fdb783a378104700138dd0abcc571856fdc9541#diff-6db4ae79ff562ca9bb4a4e974b7db788

0
Avatar
Buang
Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Intercompany Eliminations
accounting reports
Avatar
Avatar
Avatar
2
Jun 25
2326
Accounting reports
accounting reports
Avatar
0
Feb 23
3742
Error: undefined
accounting reports
Avatar
Avatar
1
Mei 22
4630
Why Account Liabilities and Equity sign negative value in general ledger report
accounting reports
Avatar
Avatar
1
Mar 21
3735
Cash Flow Statement missing from reports Diselesaikan
accounting reports
Avatar
Avatar
1
Jun 17
5000
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة 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 adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik 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