Hi Karima,
Your screenshot shows that you have 2 different partners (customers).How can you get one Invoice for 2 different customers?
Please check the customers in your sales orders and let us know if both are same? Now, try to create the Invoice from 2 different orders but customers should be same.
Let me know if you have any further issues.
Regards, Sai Krishna.