Merge pull request #3471 from expsa/hr_traning_table

delete can delete ,edite false from balance view
This commit is contained in:
eslamtalaat744 2025-06-17 10:14:15 +03:00 committed by GitHub
commit 9c1c408e6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -16,9 +16,9 @@
<field name="inherit_id" ref="hr_holidays_public.leaves_balance_tree_view"/>
<field name="arch" type="xml">
<tree position="attributes">
<attribute name="delete">false</attribute>
<attribute name="edit">false</attribute>
<attribute name="create">false</attribute>
<!-- <attribute name="delete">false</attribute>-->
<attribute name="edit">True</attribute>
<attribute name="create">True</attribute>
</tree>
</field>
</record>
@ -29,9 +29,9 @@
<field name="inherit_id" ref="hr_holidays_community.edit_holiday_new"/>
<field name="arch" type="xml">
<form position="attributes">
<attribute name="delete">false</attribute>
<attribute name="edit">false</attribute>
<attribute name="create">false</attribute>
<!-- <attribute name="delete">false</attribute>-->
<!-- <attribute name="edit">false</attribute>-->
<!-- <attribute name="create">false</attribute>-->
</form>
</field>
</record>