From aad504e95fe054bd6239ab1c594ab3cc4309e1b5 Mon Sep 17 00:00:00 2001 From: Preetam Biswal Date: Mon, 2 Feb 2026 16:12:50 +0100 Subject: [PATCH 1/3] fix: make purchase order non-mandatory in matching dialog --- edocument/edocument/profiles/peppol/matcher.py | 1 - 1 file changed, 1 deletion(-) diff --git a/edocument/edocument/profiles/peppol/matcher.py b/edocument/edocument/profiles/peppol/matcher.py index 14ee282..eb90d08 100644 --- a/edocument/edocument/profiles/peppol/matcher.py +++ b/edocument/edocument/profiles/peppol/matcher.py @@ -530,7 +530,6 @@ def _get_dialog_config(matching_data: dict) -> dict: "fieldname": "purchase_order", "label": _("Match to Purchase Order"), "options": "Purchase Order", - "reqd": 1, "default": po_data.get("matched"), } ) From 6edee8d9133eb1ad30987967c23bd74163286a56 Mon Sep 17 00:00:00 2001 From: Preetam Biswal Date: Wed, 4 Feb 2026 22:28:32 +0100 Subject: [PATCH 2/3] fix: add apt_packages.txt for lxml build dependencies --- apt_packages.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 apt_packages.txt diff --git a/apt_packages.txt b/apt_packages.txt new file mode 100644 index 0000000..3e83da4 --- /dev/null +++ b/apt_packages.txt @@ -0,0 +1,2 @@ +libxml2-dev +libxslt-dev From d64eb5b3259e01072eee60a28db97d01d16fb49f Mon Sep 17 00:00:00 2001 From: Preetam Biswal Date: Wed, 4 Feb 2026 22:39:12 +0100 Subject: [PATCH 3/3] fix: enforce required field validation in matching dialog --- edocument/edocument/doctype/edocument/edocument.js | 1 + 1 file changed, 1 insertion(+) diff --git a/edocument/edocument/doctype/edocument/edocument.js b/edocument/edocument/doctype/edocument/edocument.js index 965509f..331f112 100644 --- a/edocument/edocument/doctype/edocument/edocument.js +++ b/edocument/edocument/doctype/edocument/edocument.js @@ -135,6 +135,7 @@ function show_matching_dialog(frm, matching_data, config) { function save_matching(frm, dialog, original_data) { const data = JSON.parse(JSON.stringify(original_data)); const values = dialog.get_values(); + if (!values) return; // Validation failed // Update supplier if (data.supplier) {