Compare commits
3 commits
21aea9518e
...
99a25ffc2a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
99a25ffc2a | ||
![]() |
ced2dadeda | ||
![]() |
b527db6fe5 |
4 changed files with 15 additions and 7 deletions
2
.hgignore → .gitignore
vendored
2
.hgignore → .gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
syntax: glob
|
||||
*.pyc
|
||||
build/*
|
||||
dist/*
|
||||
mds_cashbook_report.egg-info/*
|
|
@ -29,6 +29,10 @@ 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
|
||||
|
@ -40,4 +44,3 @@ Changes
|
|||
*7.0.8 - 06.12.2023*
|
||||
|
||||
- compatibility to Tryton 7.0
|
||||
|
||||
|
|
13
ir.py
13
ir.py
|
@ -3,7 +3,6 @@
|
|||
# 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
|
||||
|
||||
|
||||
|
@ -12,10 +11,16 @@ class Rule(metaclass=PoolMeta):
|
|||
|
||||
@classmethod
|
||||
def _context_modelnames(cls):
|
||||
""" list of models to add 'user_id' to context
|
||||
"""
|
||||
return super(Rule, cls)._context_modelnames() + [
|
||||
'ir.action.act_window', 'cashbook_report.evaluation']
|
||||
|
||||
Returns:
|
||||
set: model-names
|
||||
"""
|
||||
result = super(Rule, cls)._context_modelnames()
|
||||
return result | {
|
||||
'ir.action.act_window',
|
||||
'cashbook_report.evaluation',
|
||||
}
|
||||
|
||||
# end Rule
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[tryton]
|
||||
version=7.0.10
|
||||
version=7.0.11
|
||||
depends:
|
||||
res
|
||||
cashbook
|
||||
|
|
Loading…
Reference in a new issue