diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-04-01 12:44:52 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-04-01 12:48:04 +0000 |
| commit | ef4aaeb4e741327146afa5f4fbcfdd61a3badccc (patch) | |
| tree | 754826bcb3d5f154e1850a99927a019244199d09 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 67ea26460ff27d6a069f8a34c5f5c713049b2a71 (diff) | |
[FIX] base: res.partner.bank sequence
`res.partner.bank` is ordered by sequence, but:
- there is no default value
- there is no widget handle to set it
Therefore, methods such as `_get_partner_bank_id` might retrieve an
unexpected value.
To avoid this:
- we fallback to sort by ID
- we add a default value
- we add the widget handle
opw-1948964
closes odoo/odoo#32300
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
