feat(snippets): update

This commit is contained in:
Ulrich Kilian committed 2026-03-05 15:47:48 +01:00
1 parent 0de9a70244
commit b55d2c67d1
6 files changed
+11 -4

No files matched your search

@@ -0,0 +1,4 @@
<field name="barcode" position="after">
<field name="x_beh_search_term_one"/>
<field name="x_beh_search_term_two"/>
</field>
@@ -0,0 +1,3 @@
<xpath expr="//td[@id='date']" position="inside">
<t t-out="attendance['date']" t-options="{'widget': 'date', 'format': 'EEE'}"/>
</xpath>
@@ -1,4 +1,4 @@
<data inherit_id="hr.hr_employee_attendance_report" priority="50">
<data inherit_id="hr_employee_attendance_report.hr_employee_template" priority="50">
<xpath expr="//table[@name='table_attendance']" position="attributes">
<attribute name="class">table table-sm attendances-table</attribute>
<attribute name="style">width: 100%; font-size: 7pt</attribute>
@@ -1,4 +1,4 @@
<data inherit_id="hr_employee_attendance_report.hr_employee_template">
<data inherit_id="hr_employee_attendance_report.hr_employee_template" priority="50">
<xpath expr="//th[@name='th_leave_hours']" position="before">
<xpath expr="//th[@name='th_worked_hours']" position="move"/>
</xpath>
@@ -1,4 +1,4 @@
<data inherit_id="hr_employee_attendance_report.hr_employee_template">
<data inherit_id="hr_employee_attendance_report.hr_employee_template" priority="50">
<xpath expr="//th[@name='th_overtime']" position="replace">
<th class="text-end" name="th_overtime" t-if="fixed_work_hours">
Flexitime
@@ -1,4 +1,4 @@
<data inherit_id="hr_employee_attendance_report.hr_employee_template">
<data inherit_id="hr_employee_attendance_report.hr_employee_template" priority="50">
<xpath expr="//div[@name='report_head']" position="replace">
<div name="report_head">
<h5 class="attendance-report">Attendance Report</h5>