Compare commits
No commits in common. "99a25ffc2ade46ed46a525e85739b3c805c50137" and "21aea9518e09e373cd4a8d03a1b8d02ae674ae53" have entirely different histories.
99a25ffc2a
...
21aea9518e
4 changed files with 7 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
||||||
*.pyc
|
syntax: glob
|
||||||
build/*
|
build/*
|
||||||
dist/*
|
dist/*
|
||||||
mds_cashbook_report.egg-info/*
|
mds_cashbook_report.egg-info/*
|
|
@ -29,10 +29,6 @@ so that you can display several evaluations at the same time.
|
||||||
Changes
|
Changes
|
||||||
=======
|
=======
|
||||||
|
|
||||||
*7.0.11 - 18.07.2024*
|
|
||||||
|
|
||||||
- updt: optimize check of permissions
|
|
||||||
|
|
||||||
*7.0.10 - 13.01.2024*
|
*7.0.10 - 13.01.2024*
|
||||||
|
|
||||||
- add: multiple data sources in evaluations
|
- add: multiple data sources in evaluations
|
||||||
|
@ -44,3 +40,4 @@ Changes
|
||||||
*7.0.8 - 06.12.2023*
|
*7.0.8 - 06.12.2023*
|
||||||
|
|
||||||
- compatibility to Tryton 7.0
|
- compatibility to Tryton 7.0
|
||||||
|
|
||||||
|
|
13
ir.py
13
ir.py
|
@ -3,6 +3,7 @@
|
||||||
# The COPYRIGHT file at the top level of this repository contains the
|
# The COPYRIGHT file at the top level of this repository contains the
|
||||||
# full copyright notices and license terms.
|
# full copyright notices and license terms.
|
||||||
|
|
||||||
|
from trytond.transaction import Transaction
|
||||||
from trytond.pool import PoolMeta
|
from trytond.pool import PoolMeta
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,16 +12,10 @@ class Rule(metaclass=PoolMeta):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def _context_modelnames(cls):
|
def _context_modelnames(cls):
|
||||||
|
""" list of models to add 'user_id' to context
|
||||||
"""
|
"""
|
||||||
|
return super(Rule, cls)._context_modelnames() + [
|
||||||
Returns:
|
'ir.action.act_window', 'cashbook_report.evaluation']
|
||||||
set: model-names
|
|
||||||
"""
|
|
||||||
result = super(Rule, cls)._context_modelnames()
|
|
||||||
return result | {
|
|
||||||
'ir.action.act_window',
|
|
||||||
'cashbook_report.evaluation',
|
|
||||||
}
|
|
||||||
|
|
||||||
# end Rule
|
# end Rule
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[tryton]
|
[tryton]
|
||||||
version=7.0.11
|
version=7.0.10
|
||||||
depends:
|
depends:
|
||||||
res
|
res
|
||||||
cashbook
|
cashbook
|
||||||
|
|
Loading…
Reference in a new issue