تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
6810 أدوات العرض

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
فبراير 24
1767
0
مارس 25
613
0
نوفمبر 23
1581
0
أبريل 23
2002
1
سبتمبر 24
4031