[REF] payment(_*): compute feature fields

Computing the fields instead of storing them allows to implement the
feature for each provider more easily, without needing a migration
script.

task-2841744

closes odoo/odoo#91961

Related: odoo/enterprise#27618
Related: odoo/upgrade#3535
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Demesmaeker
2022-05-24 19:10:55 +02:00
committed by Antoine Vandevenne (anv)
parent 70f844e7a1
commit 86ff8c6e8f
25 changed files with 113 additions and 63 deletions
@@ -4,10 +4,6 @@
<record id="payment.payment_acquirer_buckaroo" model="payment.acquirer">
<field name="provider">buckaroo</field>
<field name="redirect_form_view_id" ref="redirect_form"/>
<field name="support_authorization">False</field>
<field name="support_fees_computation">False</field>
<field name="support_refund"></field>
<field name="support_tokenization">False</field>
</record>
<record id="payment_method_buckaroo" model="account.payment.method">