콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
2617 화면

I just want to check to use the functionality of the "work_permit_upload" widget used in the Work Permit field of hr employee form view odoo 16

아바타
취소
베스트 답변

Hi,

Once you upload an attachment in the corresponding field with work_permit_upload widget and save the form the attachment will be saved in the table ir.attachment with field references.

res_id= corresponding form id
res_model = "hr.employee"
res_field = "has_work_permit

Regards

아바타
취소
작성자

Thanks For the answer. I'm grateful to you.

But yes, i know that. I have checked the code for this. I want to know the purpose of this widget.

Because this should be done by "attachment=True" attribute in binary field.
So why they don't use the attachment=True attribute and add the widget.

Does the widget has any additional functionality ??

관련 게시물 답글 화면 활동
1
5월 24
2088
2
7월 23
4003
1
6월 23
2928
3
8월 25
2499
1
5월 25
2584