What happens when a quote is accepted?

If you have your Pipeline settings configured to automatically generate quotes and invoices, accepted quotes will automatically convert to invoices after they are accepted.

See this article for more information on CRM Settings.