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

Case :
In stock.warehouse there is a field (reception_steps), when we choose 
Receive goods in input and then stock (2 steps) 
and then create a purchase order and confirm it, it will create 2 stock.picking records, one of them is linked to the purchase order (purchase_order_id) and the other is not linked to the PO, however the second stock.picking record has the name of the PO as a value in the field (origin) 

Problem:
The second stock picking record has no partner (this is a default behavior in Odoo), but i want to assign a partner for this stock picking when it's created 

Question
Where is the second stock.picking created in the code ?
I searched in the model stock.picking but i didn't find a clue..
الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
6
مايو 20
4992
0
مارس 15
4632
4
أغسطس 25
2920
1
يونيو 22
3609
2
نوفمبر 21
3011