콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
3608 화면

After Manufacturing order done , I had to add new lines to same manufacturing orders and found that it had reserved the original ones with no qty consumed and also reserved the new added lines. Trying to unreserve MO but it does not work. 


In inventory stock report it shows reserved qty but not identified which app is causing this reserve 


Finally , I am not able to unreserve the reserved qty. 

아바타
취소
작성자

Thank You for your reply,
I created new server action as descried below but the action created is not appearing in inventory location

Please click "Create Contextual Action" then it will appear. Screenshot added along with answer.

작성자

Thanks,
it works fine

Ok.. :)

베스트 답변

Enable debug mode, go to Settings->Technical->Sever Actions


Please create the following server action,

Action Name : Unreserve Quant

Model : Quants

Action to Do : Execute Python Code

Code : 

for record in records:
  if record.reserved_quantity > 0:
    record.write({'reserved_quantity':0})


Go to --> Inventory and unreserve

아바타
취소
작성자 베스트 답변

Thank you for your reply, 

I hade changed the qty several time during MO process and now the MO is done but the qty still reserved


아바타
취소
베스트 답변

When you want to replace a component then remove the qty requirement and the qty reserved for the component not to be used. (Requirement qty to the right, reserved to the left).


아바타
취소
관련 게시물 답글 화면 활동
1
1월 25
1531
3
2월 24
3279
By Product 해결 완료
3
5월 24
1855
1
12월 23
3160
2
9월 25
1304