From 8251c37ed677de9476f329342605688a33bddd6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 3 Mar 2026 19:52:55 +0100 Subject: [PATCH] Permit administrator to create incoming Peppol document Closes #14646 --- modules/edocument_peppol/edocument.py | 1 + modules/edocument_peppol/edocument.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/edocument_peppol/edocument.py b/modules/edocument_peppol/edocument.py index a0c8c93f4d..e0458985dc 100644 --- a/modules/edocument_peppol/edocument.py +++ b/modules/edocument_peppol/edocument.py @@ -84,6 +84,7 @@ class Peppol(Workflow, ModelSQL, ModelView): "Data", file_id=file_id, store_prefix=store_prefix, states={ + 'readonly': _states['readonly'], 'invisible': ( (Eval('state') == 'draft') & (Eval('direction') == 'out')), diff --git a/modules/edocument_peppol/edocument.xml b/modules/edocument_peppol/edocument.xml index 01253a6d0c..679af7ae5c 100644 --- a/modules/edocument_peppol/edocument.xml +++ b/modules/edocument_peppol/edocument.xml @@ -107,7 +107,7 @@ this repository contains the full copyright notices and license terms. --> data - +