summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-01-15 07:06:13 +0000
committerNans Lefebvre <len@odoo.com>2019-01-15 12:21:07 +0000
commitba65d0e259367e6cb420877e17adeeb0c1f1776c (patch)
treef14da3a207ffb935acb9db400ade1bd37bcf4f0e /addons/web/static/src/js
parentc516cb90af8634f239ac624db959d26d27e50b63 (diff)
[FIX] mrp: show correct number of attachments on bom lines
Display a BoM. On BoM lines, there is an attachment feature that creates a mrp.document, which is basically a container for an attachment. This commit fixes the view which displayed 'no attachment' when there were some and vice versa. It also fixes the computation of the number of attachment: the displayed view is on mrp.document, but the computation is done on ir.attachment. As a result if there are other unrelated attachments (such as digital files) they would be counted but not displayed. opw 1923441 closes odoo/odoo#30208
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions