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

Hello, I am trying to reproduce the execution of a MRP Order on odoo server when I receive products of a Purchase Order. Basically what happens is that I buy some product by kilograms and sell them by portions (Units). In order to make this transformation, I am trying to reproduce a MRP Order to transform Y kg of a product on X portions of another.

The thing is that when I try to reproduce the "Check Availabity" (method action_assign from 'mrp.production') on the back end, it calls the method _action_assign for my order raw_move_ids and selects a lot for product based on the "First Expires First Out" method that is defined on the raw product category, which would normally be fine. The thing is that I want to force the production using the lot I just received. Is there a way I can specify a lot to be used when calling _action_assign from "stock.move" ?

الصورة الرمزية
إهمال

Hello Arthur,

would you have found a solution to your problem? if yes, I am a taker :D

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يناير 25
1238
0
ديسمبر 15
3705
1
يوليو 23
6020
0
يونيو 21
3961
1
يونيو 23
2760