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 - +