mirror of
https://github.com/NaN-tic/trytond-patches.git
synced 2023-12-14 06:03:03 +01:00
Add patch for issue5000
This commit is contained in:
parent
30b54fe708
commit
9a215b43d8
22
issue5000.diff
Normal file
22
issue5000.diff
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# HG changeset patch
|
||||||
|
# User Sergi Almacellas Abellana <sergi@koolpi.com>
|
||||||
|
ir rule domain_get cache should depend on context
|
||||||
|
|
||||||
|
issue5000
|
||||||
|
review17541003
|
||||||
|
|
||||||
|
Index: trytond/trytond/ir/rule.py
|
||||||
|
===================================================================
|
||||||
|
|
||||||
|
--- a/trytond/trytond/ir/rule.py
|
||||||
|
+++ b/trytond/trytond/ir/rule.py
|
||||||
|
@@ -100,7 +100,7 @@
|
||||||
|
required=True, ondelete="CASCADE")
|
||||||
|
domain = fields.Char('Domain', required=True,
|
||||||
|
help='Domain is evaluated with "user" as the current user')
|
||||||
|
- _domain_get_cache = Cache('ir_rule.domain_get', context=False)
|
||||||
|
+ _domain_get_cache = Cache('ir_rule.domain_get', context=True)
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def __setup__(cls):
|
||||||
|
|
2
series
2
series
|
@ -33,6 +33,8 @@ sale_23d0b5a3ceb1.patch
|
||||||
stock_supply_780a8aaeaa78.patch
|
stock_supply_780a8aaeaa78.patch
|
||||||
timesheet_f8c45f1b4d7d.patch
|
timesheet_f8c45f1b4d7d.patch
|
||||||
sale_fix_invoiced_quantity_calculation.diff
|
sale_fix_invoiced_quantity_calculation.diff
|
||||||
|
# Multicompanyia! Les regles d'access han de dependre del context
|
||||||
|
issue5000.diff
|
||||||
|
|
||||||
issue7881002_1.diff
|
issue7881002_1.diff
|
||||||
country.diff
|
country.diff
|
||||||
|
|
Loading…
Reference in a new issue