Skip to content

Commit ca1dfd5

Browse files
committed
[FIX] mrp: do not link BoM attachments to the Product
Steps to reproduce the issue: - Create a storable product “P1” with two BoMs - Open one of the BoMs and add an attachment - Open the second BoM Problem: The attachment is added to all the BoMs. opw-4263943 closes odoo#189016 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
1 parent b0cf183 commit ca1dfd5

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
lines changed

addons/mrp/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# -*- coding: utf-8 -*-
22
# Part of Odoo. See LICENSE file for full copyright and licensing details.
33

4-
from . import ir_attachment
54
from . import product_document
65
from . import res_config_settings
76
from . import mrp_bom

addons/mrp/models/ir_attachment.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

addons/mrp/views/mrp_bom_views.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
</page>
171171
</notebook>
172172
</sheet>
173-
<chatter reload_on_attachment="True" open_attachments="True"/>
173+
<chatter/>
174174
</form>
175175
</field>
176176
</record>

0 commit comments

Comments
 (0)