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

Hi

I have just started to play with my own fields - have seen this this from 4:20

So I've managed to create selection field (in 'sales order' model)that has two options (our company packaging & our distributor packaging)

The plan was to use this field to tell the storeman (thats me later in the day) which packing to use?

Does any one know how I can use the field from "sales order" model in the "stock picking out" model?

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

I have created the model through code see this http://codeimplementer.blogspot.in/2013/10/how-to-create-new-model-in-existing.html

أفضل إجابة

You should have a field sale_id in stock.picking. You could create a related field in your picking which points to sale_id -> packagingtype and then show that field in the delivery order.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 25
5042
3
يوليو 20
11656
4
أكتوبر 24
5228
0
نوفمبر 16
4025
1
أغسطس 15
4598