server-tools icon indicating copy to clipboard operation
server-tools copied to clipboard

excel_import_export - imported entries are deleted when upgrading this module due to autocreated xml_id

Open luc-demeyer opened this issue 3 years ago • 4 comments

When upgrading the excel_import_export module the entries created with an autocreated xml_id are getting deleted.

cf. https://github.com/OCA/server-tools/blob/9378a9f649449d8c42af4371de24f53ca09cf417/excel_import_export/models/xlsx_import.py#L46 and https://github.com/OCA/server-tools/blob/9378a9f649449d8c42af4371de24f53ca09cf417/excel_import_export/models/xlsx_import.py#L53

The autocreated xml_id get as module name 'excel_import_export' but since those autocreated entries are not in the module data of this module an upgrade results in an unlink of those entries. Imho the solution to fix this is to not create and xml_id/

luc-demeyer avatar Feb 12 '22 10:02 luc-demeyer

Now this bridge module and stock_valuation_layer_account_date features are included in stock_move_actual_date. Closing this PR.

AungKoKoLin1997 avatar Jun 18 '25 01:06 AungKoKoLin1997