diff options
| author | Olivier Dony <odo@odoo.com> | 2018-04-06 08:44:34 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@odoo.com> | 2018-04-06 08:44:34 +0200 |
| commit | f5b00c11dd817a7949e15cad85a70df2e473f3fc (patch) | |
| tree | 6c637ef02fd74bd879d67ca2fb502e6d32a46028 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 9a9da5763b38a3bce54e9c4870af0032e38cacc3 (diff) | |
[FIX] account_payment: properly compute destination account without partner
When the `partner_id` is not set (it is not required at the model
level), we can still compute the default destination account based on
the company chart of account configuration.
This is necessary to allow creating "customer" or "supplier" payments without
selecting a specific partner.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
