via our frontend website we have a "Signup" form. This signup form allows our new affiliate/partners/retailers to gain access to our webshop and become partners.
So when they sign up via our frontend form it generates a new Contact.
I can't figure out how we can generate an automatic contract though. Before they can become an official "affiliate/Partner" they need to fill out a form. Naturally this form needs to automatically take in all of their details name, address, company information etc.
Then after we have generated this new contract I need it to AUTOMATICALLY be sent to the Esign module so that it will esign it.
I have tried several times, I see nothing that automates this process tying res.partner fields to the fields in a template contract.
So does anybody have any idea how I would do this here? Do I need to make a completely new version of the contract in Qweb?
Here is the process basically:
Potential Affiliate fills out frontend form on Website ---> New contact is generated in res.partner module ----> New contract is generated mapping contact info fields to a new contract i.e. "affiliate name" "affiliate address" "affiliates company" etc. -----> That new contract is automatically sent to the new affiliate/partner for esignature.