To have invoicing done based on Outgoing shipment in Odoo this post is for you. Commercial Invoice can be prepared at various instances in a Sales management process, one such is sending invoice post shipping.
Under Sales>> Configuration >> Settings – Default invoicing (invoice delivered quantities)