Compare commits
3 commits
0bb950c454
...
7eea9baade
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7eea9baade | ||
![]() |
c32fff0378 | ||
![]() |
0e1405b604 |
4 changed files with 10 additions and 5 deletions
2
.hgignore → .gitignore
vendored
2
.hgignore → .gitignore
vendored
|
@ -1,4 +1,4 @@
|
||||||
syntax: glob
|
*.pyc
|
||||||
build/*
|
build/*
|
||||||
mds_cashbook_bookcategory.egg-info/*
|
mds_cashbook_bookcategory.egg-info/*
|
||||||
dist/*
|
dist/*
|
|
@ -14,6 +14,10 @@ Requires
|
||||||
Changes
|
Changes
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
*7.0.6 - 19.07.2024*
|
||||||
|
|
||||||
|
- updt: optimize check of permissions
|
||||||
|
|
||||||
*7.0.5 - 06.12.2023*
|
*7.0.5 - 06.12.2023*
|
||||||
|
|
||||||
- fix: permissions
|
- fix: permissions
|
||||||
|
|
7
ir.py
7
ir.py
|
@ -3,7 +3,6 @@
|
||||||
# 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
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,7 +13,9 @@ class Rule(metaclass=PoolMeta):
|
||||||
def _context_modelnames(cls):
|
def _context_modelnames(cls):
|
||||||
""" list of models to add 'user_id' to context
|
""" list of models to add 'user_id' to context
|
||||||
"""
|
"""
|
||||||
return super(Rule, cls)._context_modelnames() + [
|
result = super(Rule, cls)._context_modelnames()
|
||||||
'cashbook.bookcategory']
|
return result | {
|
||||||
|
'cashbook.bookcategory',
|
||||||
|
}
|
||||||
|
|
||||||
# end Rule
|
# end Rule
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[tryton]
|
[tryton]
|
||||||
version=7.0.5
|
version=7.0.6
|
||||||
depends:
|
depends:
|
||||||
cashbook
|
cashbook
|
||||||
xml:
|
xml:
|
||||||
|
|
Loading…
Reference in a new issue