[FIX] point_of_sale: wait on invoicing to finish before printing receipt
[FIX] point_of_sale: wait on invoicing to finish before printing receipt

After this commit was introduced 4a72a703026942197b62d69f65432b339686232a , When you click on validate with invoicing enabled without customer,
the popup for select a customer open and immediately we switch to the  receipt screen, that gets rid of popup.
In this commit we print the receipt after invoice process done in backend when validate an order with invoicing enabled so that it's work like before.

ygol/odoo,ygol/odoo,ygol/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,ygol/odoo,hip-odoo/odoo,dfang/odoo,dfang/odoo