İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
3099 Görünümler

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'
Avatar
Vazgeç
En İyi Yanı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

Avatar
Vazgeç
Üretici

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

Üretici

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

En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanı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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Nis 25
1187
2
Eki 23
2366
0
Oca 25
977
1
Haz 25
4716
0
Şub 19
3911