ADD_sepa_direct_debit_mandatory_subscr_request_flow
If the product_share used for Mandatory Shares have a Payment Mode that is 'sepa_direct_debit', then:
- The public forms
become_cooperator
andbecome_company_cooperator
will ask for a bank account and for mandate authorization. - SR will be created and validated following the already existing behavior that we implemented on voluntary shares related to bank account, payment mode and bank mandate.
- The 1st confirmation email will add the fields iban and mandate authorization.
- The 2nd enail (on validation SR) will advise about a imminent receipt draft will be issued to the bank account.
It is related to this card.
Caution with translations --> This MR have some translations that are implemented throw 3 *.po files located under folder i18n_extra
and are translations related with elements inside email_templates of cooperator
module. In this case, in order to get it applied, after upgrade the energy_community module we must:
-
locate the
ir_model_data
records that belongs to those mail templates and proceed to set the fieldnoupdate
to False ( the target xml_ids are:'email_template_confirmation
,email_template_release_capital
,email_template_certificat
. You can do that using the Odoo UI or launching this order onpsql
over ddbbodoo
:update ir_model_data set noupdate = False where name in ('email_template_confirmation', 'email_template_release_capital', 'email_template_certificat');
. -
proceed to manually import (from Odoo UI) the 3 *.po files