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

Hello,

We need to manage in mass Manufacturing Orders in Fashion.

One idea would be to add an action in the action list of Manufacturing Order list to automatically "check Availability" for selected Manufacturing Order and then produce and Mark as done this Manufacturing Orders.

How can we do this please?

Unfortunately I don't know Python functions for Odoo

Would it be possible to make it with Python code as 

  "if records:

                records.XXX()"

Many thanks

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

Many thanks. I tried configuring Actions with server Actions but I only found how to change values or states (as Mark as Done" and not how to execute processes as "Check availability" or "Produce"

Perhaps because I don't know these Python classes ..

Would you please have exemples or the classes to use in this case of:

- check Availability

- produce

- record production

- mark as done

Many many thanks

아바타
취소
베스트 답변

Yes possible

for this you have to create ir_action

Please refer the following to create ir_action

https://www.odoo.com/documentation/12.0/reference/actions.html

아바타
취소
관련 게시물 답글 화면 활동
1
2월 24
1767
0
3월 25
613
0
11월 23
1577
0
4월 23
2002
1
9월 24
4030