Add missing 'invoice_type' to on_change of product

invoice_type is used in the on_change method of product.

issue3586
review2731002