diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-01-17 09:31:20 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-01-17 09:41:41 +0000 |
| commit | 3ad5748cefc6f2481b6f5f6518bbf34f11bf36e3 (patch) | |
| tree | 231b26cd71681fd270ae1fe381b2939baddd1b3e /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 766da2017cc7001ce28d6e184981f2e0d017252e (diff) | |
[FIX] purchase: auto-complete order
When using the 'Auto-Complete' feature of a vendor bill, oldest vendor
bills are suggested first.
This is because the `_order` uses the `vendor_bill_id` and the
`purchase_order_id`. In the view, we have a mix of positive, negative
and null ids, therefore this can't work.
We sort on the date and the name instead, which gives a more reliable
result.
opw-1925910
closes odoo/odoo#30299
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
