add menu, groups, planner-list, forms...

This commit is contained in:
Frederik Jaeckel 2024-02-24 23:43:59 +01:00
parent cd79072e2c
commit ebb1efe7a8
15 changed files with 526 additions and 0 deletions

20
ir.py Normal file
View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# This file is part of the cashbook-planner from m-ds for Tryton.
# The COPYRIGHT file at the top level of this repository contains the
# full copyright notices and license terms.
from trytond.pool import PoolMeta
class Rule(metaclass=PoolMeta):
__name__ = 'ir.rule'
@classmethod
def _context_modelnames(cls):
""" list of models to add 'user_id' to context
"""
result = super(Rule, cls)._context_modelnames()
result.append('cashbook.planner')
return result
# end Rule