summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-06-03 13:26:24 +0000
committerNans Lefebvre <len@odoo.com>2019-06-03 13:30:42 +0000
commitff4f3922a9dd018fee7c855894fc27f588dd6dcd (patch)
tree701109e3e5c8c33ce1634aab8a237eb01804bf71 /addons/web/static/src/js/fields/basic_fields.js
parent58d414ec1c0c1559435eb3fc9ebdc5cf549efa4f (diff)
[FIX] purchase: fix reference update at onchange
Add two PO with references 'XY' and 'Z' to a vendor bill. The reference is computed as 'XY, Z' (with ', ' as separator). Add a PO with reference 'X', the reference becomes 'X' instead of 'XY, Z, X'. There are two variables that may not be defined (vendor_ref and self.reference), and specifically the case where a reference is the prefix of another one is not correctly dealt with. opw 2005825 closes odoo/odoo#33841 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions