Browse Source

Merge PR #1899 into 12.0

Signed-off-by JordiBForgeFlow
12.0-mig-module_prototyper_last
OCA-git-bot 4 years ago
parent
commit
5394b3a5c1
  1. 2
      excel_import_export/models/xlsx_import.py

2
excel_import_export/models/xlsx_import.py

@ -46,7 +46,7 @@ class XLSXImport(models.AbstractModel):
xml_id = record.get_external_id()
if not xml_id or (record.id in xml_id and xml_id[record.id] == ''):
ModelData.create({'name': '%s_%s' % (record._table, record.id),
'module': 'excel_import_export',
'module': '__excel_import_export__',
'model': record._name,
'res_id': record.id, })
xml_id = record.get_external_id()

Loading…
Cancel
Save