summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2020-08-13 13:10:40 +0000
committerWilliam Henrotin <whe@odoo.com>2020-08-25 07:24:45 +0000
commit346ecc3a52a7d1c3a2c6409a6799f6b013c3b6da (patch)
tree3851559111ac64602036151d7a1b2478b5674805 /addons/mail/static/src/models/thread_cache
parented079a79c488a580ae985893eeccc9eb7dd071f9 (diff)
[FIX] mrp: use _origin in workorder name_get
This commit makes use of _origin.id instead of .id into mrp.workorder.name_get(). name_get() can be called from a compute method (via _plan_workorders) which implies virtual ids. Searching amongst real ids with a virtual one was not possible back then. Task : 2278147 closes odoo/odoo#55879 Related: odoo/enterprise#12392 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache')
0 files changed, 0 insertions, 0 deletions