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

In sale.order.line product_id_change is used a few times and has lots of arguments passed to it.

i want to make a custom module that inherits this function, but i don't want to have to add arguments to it. Is there a way to retrieve the current value of a field from a form without passing a field as an argument?

I have tried self.read() and self.browse() that will return the value that is stored in the database, not the value that is presently in the field. So if i type something, the prior value is called from the database, not the value i just typed.

context does not seem to store my field.

what can i do retrieve the value as it is typed?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 24
44
2
مارس 15
8022
1
مارس 15
3984
1
أغسطس 24
1886
0
أغسطس 22
3288