I have a custom function that creates a PDF file, which is triggered for the event sales_order_save_after. But why this function is triggered twice, I got 2 PDFs everytime for the same order.
If I use sales_order_place_after, then the function is only triggered once. So this fix my problem.
But my question is why sales_order_save_after is triggered twice in Magento?