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>
13 lines
450 B
XML
13 lines
450 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo noupdate="1">
|
|
|
|
<record id="payment.payment_acquirer_transfer" model="payment.acquirer">
|
|
<field name="provider">transfer</field>
|
|
<field name="state">enabled</field>
|
|
<field name="redirect_form_view_id" ref="redirect_form"/>
|
|
<!-- Clear the default value to trigger the computation of the message -->
|
|
<field name="pending_msg" eval="False"/>
|
|
</record>
|
|
|
|
</odoo>
|