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

how i can inherit and modify this tiny modal view - the popup - (ref screenshot) it opened when click on a date in Red box, open it and on bug button it is showing in menu 'Edit View: Actity' and i don't know what Model or what View is using here. 

the idea is to add a Date picker and when user pick a date and press Done it should completely mark Done this scheduled Activity from here, no further need to edit and Mark as Done.


regards

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

Hello , 

I think you will have to use "t-extend="mail.KanbanActivityDropdown">" to do your modification and add required button or field to it and manage the action from the js of "kanban_activity" widget .

Thanks

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

thank you for your reply and concern to help us.
when right click and inspect the code there is mentioned

"ActivityMarkDonePopoverContentView"

path for it is :

addons/mail/static/src/components/activity_mark_done_popover_content/activity_mark_done_popover_content.xml

the code of this view contains textarea and both buttons mentioned in here. now, there is need to inherit and modify the template to add custom field.

regards

الكاتب

any help? please guide if i am going in wrong direction to do it.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 23
3485
1
سبتمبر 23
1764
1
أغسطس 23
1897
1
أغسطس 23
2618
1
أغسطس 23
3369