Less relying on invoices function field
To ease the development of #5215 (closed), I think the sale module should depend less on the invoices function fields. This allow to reuse some mechanism for invoices linked differently to the sale.
Without being required for #5215 (closed), the purchase module should also follow the same design for consistency and future modular needs.