Unifica finestre errori con testo completo, copia ed esportazione

This commit is contained in:
2026-10-23 10:57:35 +02:00
parent fc43cbb7ec
commit 9d87b07648
24 changed files with 570 additions and 66 deletions

View File

@@ -6,7 +6,8 @@ import asyncio
import tkinter as tk
from datetime import date
from decimal import Decimal
from tkinter import filedialog, messagebox, ttk
import error_dialog as messagebox
from tkinter import filedialog, ttk
import customtkinter as ctk
@@ -234,7 +235,7 @@ class InventarioWindow(ctk.CTkToplevel):
self._set_loading(False)
log_exception(__name__, error, context="inventory report/export")
self.var_status.set(self._t("inventory.failed"))
messagebox.showerror(self._t("inventory.title"), str(error), parent=self)
messagebox.showerror(self._t("inventory.title"), str(error), parent=self, exception=error)
def _export(self):
if self._loading or not self._report or not self._rows: