details:   https://code.tryton.org/tryton/commit/8b54aacc9ad7
branch:    default
user:      Cédric Krier <[email protected]>
date:      Tue Mar 03 19:52:55 2026 +0100
description:
        Permit administrator to create incoming Peppol document

        Closes #14646
diffstat:

 modules/edocument_peppol/edocument.py  |  1 +
 modules/edocument_peppol/edocument.xml |  2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r aff992b619df -r 8b54aacc9ad7 modules/edocument_peppol/edocument.py
--- a/modules/edocument_peppol/edocument.py     Thu Feb 26 17:07:01 2026 +0100
+++ b/modules/edocument_peppol/edocument.py     Tue Mar 03 19:52:55 2026 +0100
@@ -84,6 +84,7 @@
         "Data",
         file_id=file_id, store_prefix=store_prefix,
         states={
+            'readonly': _states['readonly'],
             'invisible': (
                 (Eval('state') == 'draft')
                 & (Eval('direction') == 'out')),
diff -r aff992b619df -r 8b54aacc9ad7 modules/edocument_peppol/edocument.xml
--- a/modules/edocument_peppol/edocument.xml    Thu Feb 26 17:07:01 2026 +0100
+++ b/modules/edocument_peppol/edocument.xml    Tue Mar 03 19:52:55 2026 +0100
@@ -107,7 +107,7 @@
             <field name="field">data</field>
             <field name="group" ref="res.group_admin"/>
             <field name="perm_read" eval="True"/>
-            <field name="perm_write" eval="False"/>
+            <field name="perm_write" eval="True"/>
         </record>
 
         <record model="ir.rule.group" 
id="rule_group_edocument_peppol_companies">

Reply via email to