Compare commits

..

No commits in common. "99a25ffc2ade46ed46a525e85739b3c805c50137" and "21aea9518e09e373cd4a8d03a1b8d02ae674ae53" have entirely different histories.

4 changed files with 7 additions and 15 deletions

View file

@ -1,4 +1,4 @@
*.pyc
syntax: glob
build/*
dist/*
mds_cashbook_report.egg-info/*

View file

@ -29,10 +29,6 @@ so that you can display several evaluations at the same time.
Changes
=======
*7.0.11 - 18.07.2024*
- updt: optimize check of permissions
*7.0.10 - 13.01.2024*
- add: multiple data sources in evaluations
@ -44,3 +40,4 @@ Changes
*7.0.8 - 06.12.2023*
- compatibility to Tryton 7.0

13
ir.py
View file

@ -3,6 +3,7 @@
# The COPYRIGHT file at the top level of this repository contains the
# full copyright notices and license terms.
from trytond.transaction import Transaction
from trytond.pool import PoolMeta
@ -11,16 +12,10 @@ class Rule(metaclass=PoolMeta):
@classmethod
def _context_modelnames(cls):
""" list of models to add 'user_id' to context
"""
Returns:
set: model-names
"""
result = super(Rule, cls)._context_modelnames()
return result | {
'ir.action.act_window',
'cashbook_report.evaluation',
}
return super(Rule, cls)._context_modelnames() + [
'ir.action.act_window', 'cashbook_report.evaluation']
# end Rule

View file

@ -1,5 +1,5 @@
[tryton]
version=7.0.11
version=7.0.10
depends:
res
cashbook