summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorRaphael Collet <rco@odoo.com>2020-05-06 09:37:01 +0000
committerRaphael Collet <rco@odoo.com>2020-06-11 14:40:33 +0000
commit150f68108c0a1570f7b2822a7ba575029160ce4f (patch)
treef7873442cf8ce84d132ad173141256e1e82337c3 /addons/web/static/src/js/views/basic/basic_model.js
parentb15c2803699610179945ba690e1e5bc922a6e2b2 (diff)
[FIX] core: do not compute a field on a mix of new and real records
This fix looks like good practice to avoid confusing developers when writing compute methods for fields, and should not be necessary. But it actually fixes an extremely obscure bug in the computation of the field `sale.order.invoice_status` when dealing with timesheets (module sale_timesheet_enterprise). The bug seems triggered by the fact that the field is computed on both a given sales order and a new record with that sales order as origin. X-original-commit: f9c128c6f567dfaab5cfb0080e4fdc847942911a
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions