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

Hi, i have a smart button in sale order, i want that when a user click in the smart button and create, in the new module get the active id of the sale order in the field

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

It's hard to figure out what you really need without providing some code or, in this case, a good contextual example, but if this can help you can generally access active_id or active_ids in your view with self.env.context.get('active_ids'). 

What do you mean by 'the active id of the sale order in the field?'

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
سبتمبر 25
2019
1
يونيو 25
2039
3
يوليو 25
3624
1
مايو 25
1750
4
مايو 25
3075