Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1025 Ansichten

Hello Odooers,


In the past I made this post : "How to replace BoM lines with import" (Edit : links strips all the post content)


Now it's not working anymore. Odoo 17 Enterprise edition.


If I remove a BOM component of my Excel import file, mrp_bom_line aren't removed. Example file :


NB : the "External ID" aren't changed.


The only way I found is to remove all mrp_bom_line via SQL query, and re-import BOMs.


DELETE FROM mrp_bom_line

WHERE mrp_bom_line.id IN (

    SELECT mrp_bom_line.id

    FROM mrp_bom_line

    JOIN mrp_bom ON mrp_bom_line.bom_id = mrp_bom.id

    JOIN stock_picking_type ON mrp_bom.picking_type_id = stock_picking_type.id

    JOIN stock_warehouse ON stock_picking_type.warehouse_id = stock_warehouse.id

    WHERE stock_picking_type.sequence_code = 'MO'

    AND stock_warehouse.code = 'SPAM'

);


Thanks



Avatar
Verwerfen
Beste Antwort

Hi Stéphane Reynders,

I think this video can help you (starting at 51:00 in this video):

https://www.youtube.com/watch?v=Auaqj6WtdcM&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=5

Avatar
Verwerfen
Autor

Thank you, but I will not buy a 900 € addon which I need to re-purchase when Odoo version upgrade.

Hi Stéphane Reynders,

I see in the description of this module there is a sentence "Just purchase a version and you'll get free updates when new versions become available" so if the lack of a solution costs you more than the amount you have to spend for this module, you can contact the module author to ask for details. Hope you will soon find an effective solution.

Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Sept. 24
2970
2
Okt. 23
2231
0
Jan. 25
903
1
Juni 25
4615
0
Feb. 19
3822