Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2084 Widoki

Steps to recreate:

- Warehouse team noticed wrong product on BOM picking list

- Office team edited BOM while the sales order was left active

- This has caused some error in Odoo. Any operation which includes this product gives error.

- We are unable to delete or cancel a sales order with this product / BOM (error)

- Product has been removed from all BOMs and replaced with new part but we are unable to delete or archive the product (error)

- We are unable to process a purchase order with this part (error) and we cant remove the product from the PO as it is "purchased"


Awatar
Odrzuć

I'd love to help on this issue.
Kindly tell me what do you mean by keeping the sales order active ? Does it mean the SO is still in the quotation state or confirmed ?
On the 5th bullet point, you said that the products have all been removed from BOM but yet you can't delete it ? Do you mean that the parts have all been removed form the BOM and replaced with new parts instead ?

Autor

Hi Dennis. "keeping sales order active" - yes, SO is in confirmed state. I cant delete it or cancel it or do anythign with it. Here is the error when try to delete:
Traceback (most recent call last):
File "/odoo/odoo-server/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odoo/odoo-server/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
KeyError: mrp.bom.line()

5th bullet point - yes this BOM has been fixed and the correct parts have been added. However the SO remains with the old BOM ( the incorrect BOM) and i think this is the problem

Najlepsza odpowiedź

Hi 

you must  create a server action for made cancel for MO 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 19
3695
1
sie 25
300
2
cze 25
1747
0
mar 25
1616
0
lut 25
1271