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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
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 ??
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
mai 24
|
2031 | ||
|
2
juil. 23
|
3905 | ||
|
1
juin 23
|
2855 | ||
|
1
mai 25
|
2433 | ||
|
1
avr. 25
|
3451 |