Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
3079 Lượt xem

Hello,


I had to re-import multiple BoM with 1 replaced BoM line product. When the import is done, the old BoM line product is still there.

The columns of my import file (which works fine) :

  • External ID
  • Reference
  • Product/External ID
  • Quantity
  • BoM Type
  • Operation Type
  • BoM Lines/External ID
  • BoM Lines/Component/External ID
  • BoM Lines/Quantity


For now the only solution I've found is to :

DELETE FROM mrp_bom_line WHERE product_id = 'XXX'
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Did you reuse the external id of the old bom line or did you add the new product on a new line? You should reuse the old bom line id. That should replace the old product

Ảnh đại diện
Huỷ bỏ
Tác giả

The BoM Lines/External ID was also changed. Should be that. Thanks.

Tác giả

This was working fine but not anymore. Unique "BoM Lines/External ID".
Odoo 15 (latest) and Odoo 17 (latest).

Câu trả lời hay nhất

Activate Debug mode  use open view to open the tree view for Bom lines model use group by product and delete those

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The module named "VKS Import Excel" can help you solve this problem easily: https://apps.odoo.com/apps/modules/16.0/vks_import_excel.

Please contact me via email anhtuan.acoi@gmail.com if you need further assistance.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 25
1171
2
thg 10 23
2353
0
thg 1 25
974
1
thg 6 25
4687
0
thg 2 19
3902