Correct invoice type when created from a purchase
When navigating to invoices from the purchase (by clicking the button or from the form_relate) and creating an invoice, the invoice appears with the default type 'Customer'. I think for better agility of users and to avoid errors in novice users, should appear preloaded type 'Supplier' when you navigate from a purchase and 'Customer' when you navigate from the sale.
Just as if you navigate from a purchase or sale to the invoices, when creating the invoice, the party field should be filled with the invoicing party or the party of the purchase or sale.