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

Hello guys,

How could I write a default route for each product I add in a sale order?

See here, I want a default value for the Route field :



Thanks

الصورة الرمزية
إهمال
أفضل إجابة

Probably the best way is modify product and define default_sale_line_route for him :) , but ... if many warehouses ... are many default_sale_lines_route possible (in first step warehouse is selected in sale order).

الصورة الرمزية
إهمال
الكاتب

When you say « the best way is modify product and define default_sale_line_route for him », do you mean that I should create a new field named « default_sale_line_route » in the database model « product.template »?

yes, but it is not a good idea in my opinion.

الكاتب

Thanks. Probably I should ask to you why it is not a good idea? You think that an employee should select a route anytime he make a new order line? I can not trust employees like this...

Why choosing a route is required on each line? Why selecting a warehouse is not sufficient?

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أكتوبر 16
6614
0
مارس 15
4481
0
مارس 15
3682
0
مارس 15
4190
1
مارس 15
7399