Merge pull request #161 from expsa/bakry_edit

fix holiday
This commit is contained in:
bakry 2024-07-11 14:48:51 +03:00 committed by GitHub
commit a56566b093
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 4 deletions

View File

@ -3631,4 +3631,9 @@ msgstr "سبب الرفض للاجازات"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.reject_wizard
msgid "Close"
msgstr "إغلاق"
msgstr "إغلاق"
#. module: hr_holidays_public
#: model_terms:ir.ui.view,arch_db:hr_holidays_public.hr_holidays_ext_form_view
msgid "Are you sure to Refuse This Record?"
msgstr "هل أنت متأكد من إلغاء هذا الطلب؟"

View File

@ -131,13 +131,14 @@
groups="hr_holidays_community.group_hr_holidays_user"
class="oe_highlight"/>
<button string="Refuse" name="refuse" states="validate1" type="object"
groups="hr_holidays_community.group_hr_holidays_user" class="oe_highlight"/>
<!--button string="Refuse" name="refuse" states="validate1" type="object"
groups="hr_holidays_community.group_hr_holidays_user" class="oe_highlight"
confirm="Are you sure to Refuse This Record?"/-->
<!--button string="Cancel" name="cancel" type="object" states="validate1"
class="oe_highlight"/-->
<button string="Reset to Draft" name="draft_state" type="object"
states="refuse"
states="refuse,validate1"
class="oe_highlight"
groups="hr_holidays_community.group_hr_holidays_user"
confirm="Are you sure to Reset To Draft This Record?"/>