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

Hey there! I have 2 models: "tickets" and "partes", both are related with "one2many" fields. I want to create a "parte" from a "ticket", so when I click to "create a new one", I want to pre-fill the field in "parte" to relate it to "ticket.name". I tried sending it by context like this:

Model "ticket":


name="parte_gf" context="{'default_ticket_bueno': name}"



But it seems like it's filtering, and that's not what I want. I want to pre-fill the field. Thanks for the help.


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مايو 15
6325
2
أكتوبر 23
2280
1
مارس 21
2377
3
سبتمبر 23
5054
2
يناير 20
8347