Пример #1
0
 def create(self, *a, **kw):
     new_id = super().create(*a, **kw)
     ipc.send_signal("clear_currency_cache")
     return new_id
Пример #2
0
 def delete(self, *a, **kw):
     super().delete(*a, **kw)
     ipc.send_signal("clear_currency_cache")
Пример #3
0
 def delete(self, *a, **kw):
     super().delete(*a, **kw)
     ipc.send_signal("clear_currency_cache")
Пример #4
0
 def delete(self, *a, **kw):
     res = super().delete(*a, **kw)
     ipc.send_signal("clear_block_cache")
Пример #5
0
 def write(self, *a, **kw):
     super().write(*a, **kw)
     ipc.send_signal("clear_uom_cache")
Пример #6
0
 def create(self, *a, **kw):
     new_id = super().create(*a, **kw)
     ipc.send_signal("clear_currency_cache")
     return new_id
Пример #7
0
 def create(self, *a, **kw):
     new_id = super().create(*a, **kw)
     static.clear_translations()
     ipc.send_signal("clear_translation_cache")
     return new_id
Пример #8
0
 def delete(self, *a, **kw):
     res = super().delete(*a, **kw)
     static.clear_translations()
     ipc.send_signal("clear_translation_cache")
Пример #9
0
 def delete(self, ids, **kw):
     super().delete(ids, **kw)
     ipc.send_signal("clear_template_cache")
Пример #10
0
 def write(self, ids, vals, **kw):
     super().write(ids, vals, **kw)
     ipc.send_signal("clear_template_cache")
Пример #11
0
 def create(self, vals, **kw):
     res = super().create(vals, **kw)
     ipc.send_signal("clear_template_cache")
     return res
Пример #12
0
 def write(self, *a, **kw):
     super().write(*a, **kw)
     ipc.send_signal("clear_uom_cache")
Пример #13
0
 def delete(self, *a, **kw):
     res = super().delete(*a, **kw)
     ipc.send_signal("clear_block_cache")