It's a problem to use one route for the form and one route for the
submission of the form. When user is not logged and he tries to submit
with an existing email, a error tell him to sign in before submitting.
To login in there is a button that let him sign in. But after loggin in,
he comes back to the post url of the form and this url doesn't perform
checks that are performed when arriving on the form for the first time.
Due to a legal issue we won't use the national register number anymore.
So the unique identification will now be made through the email of the
partner from now.
This change the order of approvals for data policy and internal rules in
the new cooperator form in the website part.
This is done to be consistant with the modification added in the
beesdoo_easy_my_coop module.
This commit removes the dependence to website_legal_page by using it's
own template for showing text aside the checkbox in the form. Because
the template for this text is not editable by the user (in fact, it is
but each time the module is updated, this template is overwritten).
Of course website_legal_page can always be installed, and the new
template for the text can contain link to the pages generated by
website_legal_page.
This allows to have different mail for "payment received confirmation".
The mail template can be defined on the share type form. Then on
reconciliation process, if a specific mail template has been defined it
will override the default one. otherwise the default mail template will
be used.