mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-26 02:18:40 -06:00
[FIX] _register_hooks has 4 parms in 6.1.
This commit is contained in:
parent
e2d23b7c80
commit
2160cf340e
@ -12,7 +12,7 @@ _logger = logging.getLogger(__name__)
|
||||
class IrAttachment(orm.Model):
|
||||
_inherit = 'ir.attachment'
|
||||
|
||||
def _register_hook(self, cr):
|
||||
def _register_hook(self, cr, uid, ids=None):
|
||||
"""Only register our indexer if module is installed."""
|
||||
import StringIO
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user