diff options
| author | Nicolas (vin) <vin@odoo.com> | 2020-07-06 12:00:59 +0000 |
|---|---|---|
| committer | Nicolas (vin) <vin@odoo.com> | 2020-08-11 12:41:13 +0000 |
| commit | 41f119d5325dfbbf916d1d34e63946646ed4d44c (patch) | |
| tree | e6ab1dd201f1380dd29113776b2a90337cef4301 /addons/payment | |
| parent | 7386a2b1ac818eeaabfc8e7c7fb52c8ea57e9e42 (diff) | |
[IMP] account: Misc. improvements
Miscellaneous changes aiming to improve the user experience in the accounting module,
mainly in the journal model and its form view.
Also aim to improve the bank account creation wizard.
Task ID: #2250349
closes odoo/odoo#54494
Related: odoo/upgrade#1546
Related: odoo/enterprise#11862
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/payment')
| -rw-r--r-- | addons/payment/models/payment_acquirer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/payment/models/payment_acquirer.py b/addons/payment/models/payment_acquirer.py index c470186e4a8..01b80e92793 100644 --- a/addons/payment/models/payment_acquirer.py +++ b/addons/payment/models/payment_acquirer.py @@ -267,8 +267,7 @@ class PaymentAcquirer(models.Model): 'sequence': 999, 'type': 'bank', 'company_id': self.company_id.id, - 'default_debit_account_id': account.id, - 'default_credit_account_id': account.id, + 'default_account_id': account.id, # Show the journal on dashboard if the acquirer is published on the website. 'show_on_dashboard': self.state == 'enabled', # Don't show payment methods in the backend. |
