From b47517c4d8dc3cd634bfb6586adcee124e5e7e68 Mon Sep 17 00:00:00 2001 From: Frederik Jaeckel Date: Sun, 10 Mar 2024 07:45:24 +0100 Subject: [PATCH] fix permissions --- group.xml | 1 + ir.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/group.xml b/group.xml index 5ae80f0..105a2ef 100644 --- a/group.xml +++ b/group.xml @@ -7,6 +7,7 @@ full copyright notices and license terms. --> Cashbook - Scheduled Bookings + diff --git a/ir.py b/ir.py index 7cfd296..d3ec250 100644 --- a/ir.py +++ b/ir.py @@ -14,7 +14,9 @@ class Rule(metaclass=PoolMeta): """ list of models to add 'user_id' to context """ result = super(Rule, cls)._context_modelnames() - result.append('cashbook.planner') + result.extend([ + 'cashbook.planner', + 'cashbook.planner.nextrun']) return result # end Rule