Fix typo in issue5000 patch

This commit is contained in:
Sergi Almacellas Abellana 2015-10-01 13:25:00 +02:00
parent 3635653653
commit 14d1df2c93
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ diff -r 789627e0bee6 company.py
+ @classmethod
+ def write(cls, *args):
+ pool = Pool()
+ Rule = pool.get('ir.urle')
+ Rule = pool.get('ir.rule')
+ super(User, cls).write(*args)
+ # Restart the cache on the domain_get method
+ Rule._domain_get_cache.clear()