queue icon indicating copy to clipboard operation
queue copied to clipboard

[13.0][FIX] base_import_async: add import context key as done in base_import

Open AnizR opened this issue 1 year ago • 0 comments

The override of the method do is missing some context keys introduced when importing a file (by base_import) in "asynchronous mode".

This PR introduces those keys in the job context.

For example: When importing a product and changing its standard_price, Odoo will trigger the function "_change_standard_price" (code). But, doing the same operation asynchronously won't have the same effect since it is missing the context key "import_file" .

AnizR avatar Mar 11 '24 13:03 AnizR