diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-02-26 14:07:47 +0100 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-02-26 17:17:33 +0100 |
| commit | dc6913e2e0e901ec9e577afbb52997389a97e103 (patch) | |
| tree | 2fe4bd624cbb2e8d91f834c82866feedb31c46a4 /addons/payment/views/payment_views.xml | |
| parent | a546b34f5213821c556c6f5730c08b7b8af7a0d7 (diff) | |
[FIX] payment: Avoid to reset journal_id on acquirer edition
Coming from https://github.com/odoo/odoo/pull/17067
Don't reset the journal but make it required on the form view instead.
Diffstat (limited to 'addons/payment/views/payment_views.xml')
| -rw-r--r-- | addons/payment/views/payment_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment/views/payment_views.xml b/addons/payment/views/payment_views.xml index 6f536f270d5..e5b29fb7b75 100644 --- a/addons/payment/views/payment_views.xml +++ b/addons/payment/views/payment_views.xml @@ -81,7 +81,7 @@ </page> <page string="Configuration"> <group name="acquirer_config"> - <field name="journal_id" context="{'default_type': 'bank'}"/> + <field name="journal_id" context="{'default_type': 'bank'}" required="1"/> <field name="capture_manually" attrs="{'invisible': [('authorize_implemented', '=', False)]}"/> <field name="save_token" widget="radio" attrs="{'invisible': ['|', ('token_implemented', '=', False), ('payment_flow', '=', 's2s')]}"/> <field name="fees_active" attrs="{'invisible': [('fees_implemented', '=', False)]}"/> |
