Compare commits
No commits in common. "7eea9baadecae6db273cdb6c7f70a9a49cbbb405" and "0bb950c4547ed4a2f55e70d4a2814976c044f6c3" have entirely different histories.
7eea9baade
...
0bb950c454
4 changed files with 5 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
||||||
*.pyc
|
syntax: glob
|
||||||
build/*
|
build/*
|
||||||
mds_cashbook_bookcategory.egg-info/*
|
mds_cashbook_bookcategory.egg-info/*
|
||||||
dist/*
|
dist/*
|
|
@ -14,10 +14,6 @@ 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,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
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,9 +14,7 @@ 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
|
||||||
"""
|
"""
|
||||||
result = super(Rule, cls)._context_modelnames()
|
return super(Rule, cls)._context_modelnames() + [
|
||||||
return result | {
|
'cashbook.bookcategory']
|
||||||
'cashbook.bookcategory',
|
|
||||||
}
|
|
||||||
|
|
||||||
# end Rule
|
# end Rule
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[tryton]
|
[tryton]
|
||||||
version=7.0.6
|
version=7.0.5
|
||||||
depends:
|
depends:
|
||||||
cashbook
|
cashbook
|
||||||
xml:
|
xml:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue