I am using numpy==1.24.0 the latest version, On running this code line wich is not used numpy library:
I Call this function in a button,when i clique
the button this error appears
def method_direct_trigger(self):
izi = self.env['izi.tools']
target_data = izi.read_attachment(self.attachment_ids.name)
print(self.attachment_ids.name)
i = 1
for sd in target_data:
dt = {}
for field in self.field_ids:
field_name = sd[field.field_name]
dt[field.field_name] = field_name
print(dt)
izi.query_insert(self.store_table_name, dt)