Adds inventaire connector stub
And changes formatters to accept the key as well as value
This commit is contained in:
@ -296,6 +296,6 @@ class Mapping:
|
||||
if not value:
|
||||
return None
|
||||
try:
|
||||
return self.formatter(value)
|
||||
return self.formatter(value, self.remote_field)
|
||||
except: # pylint: disable=bare-except
|
||||
return None
|
||||
|
Reference in New Issue
Block a user