Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Food & Hospitality
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Guest House
    • Distributor nápojů
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Trades
    • Údržbář
    • IT hardware a podpora
    • Solar Energy Systems
    • Výrobce obuvi
    • Úklidové služby
    • HVAC Services
    Others
    • Nonprofit Organization
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Browse all Industries
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Services for Partners
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Erreur client Odoo

Odebírat

Get notified when there's activity on this post

This question has been flagged
1 Odpovědět
430 Zobrazení
Avatar
Rachid

I'm getting this error when i click an action button to print a report


Erreur client Odoo

UncaughtPromiseError > TypeError

Uncaught Promise > Cannot read properties of undefined (reading 'context')

Occured on 147.93.95.212:8069 on 2025-06-24 14:39:01 GMT

TypeError: Cannot read properties of undefined (reading 'context')
    at http://147.93.95.212:8069/web/assets/c7681b7/web.assets_web.min.js:27526:161
    at _executeReportAction (http://147.93.95.212:8069/web/assets/c7681b7/web.assets_web.min.js:9917:175)
    at doAction (http://147.93.95.212:8069/web/assets/c7681b7/web.assets_web.min.js:9930:328)
    at async Object.doActionButton (http://147.93.95.212:8069/web/assets/c7681b7/web.assets_web.min.js:9940:249)
    at async execute (http://147.93.95.212:8069/web/assets/c7681b7/web.assets_web.min.js:9547:266)
    at async executeButtonCallback (http://147.93.95.212:8069/web/assets/c7681b7/web.assets_web.min.js:9540:34)

0
Avatar
Zrušit
Rachid
Autor

The problem is that the module works perfectly in local, but on the server it throws this error every time i click the print button

D Enterprise

Step 1: Confirm the Report Exists on the Server
Run this in Odoo shell on the server:
./odoo-bin shell -d your_db_name

Then:
self.env.ref('your_module.report_template_id')

If this raises an error, then the report is not loaded on the server. Make sure the XML file where it’s defined is listed in your __manifest__.py under "data": [...].

Step 2: Fully Upgrade the Module on the Server

./odoo-bin -d your_db_name -u your_module_name

Step 3: Clear Frontend Assets (JS/XML Cache)

Odoo stores static files in bundles. Run:

./odoo-bin -d your_db_name --assets

Or delete all minified assets manually:

rm -rf /your/odoo/path/.local/share/Odoo/filestore/your_db_name/*web.assets*

then restart your odoo server

i hope it is usefull

Avatar
D Enterprise
Nejlepší odpověď

Hii,

i dont know your code but  here is some step please check in your code in your custom module if you create


Step 1: Make sure the report action is called correctly in Python

In your button method, return the report like this:

def action_print_report(self):

    self.ensure_one()  # makes sure you're on one record

    return self.env.ref('your_module.report_template_id').report_action(self)


Step 2: Check that the report is defined properly in XML

In your XML file (your_module/views/report.xml), make sure the report is defined like this:

<report

    id="report_template_id"

    model="your.model"

    string="My Report"

    report_type="qweb-pdf"

    name="your_module.report_template"

    file="your_module.report_template"

/>

If you're using a custom JS button, you must pass context manually.

If the issue remains, try updating the module and clearing your browser cache

i hope it is use full

0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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