diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-01-15 07:06:13 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-01-15 12:21:07 +0000 |
| commit | ba65d0e259367e6cb420877e17adeeb0c1f1776c (patch) | |
| tree | f14da3a207ffb935acb9db400ade1bd37bcf4f0e /addons/website/static/src/xml | |
| parent | c516cb90af8634f239ac624db959d26d27e50b63 (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/website/static/src/xml')
0 files changed, 0 insertions, 0 deletions
