{"en_US": "<data><templates position=\"before\">\n                    <field name=\"progress\"/>\n                    <field name=\"remaining_hours\"/>\n                    <field name=\"allocated_hours\"/>\n                    <field name=\"allow_timesheets\"/>\n                    <field name=\"encode_uom_in_days\" invisible=\"1\"/>\n                </templates>\n                <xpath expr=\"//footer/div\" position=\"inside\">\n                   <t name=\"allocated_hours\" t-if=\"record.allocated_hours.raw_value &gt; 0 and record.allow_timesheets.raw_value\" groups=\"hr_timesheet.group_hr_timesheet_user\">\n                        <t t-set=\"badge\" t-value=\"'border border-success'\"/>\n                        <t t-set=\"badge\" t-value=\"'border border-warning'\" t-if=\"record.progress.raw_value &gt;= 0.8 and record.progress.raw_value &lt;= 1\"/>\n                        <t t-set=\"badge\" t-value=\"'border border-danger'\" t-if=\"record.remaining_hours.raw_value &lt; 0\"/>\n                        <t t-set=\"title\" t-value=\"'Remaining days'\" t-if=\"record.encode_uom_in_days.raw_value\"/>\n                        <t t-set=\"title\" t-value=\"'Time Remaining'\" t-else=\"\"/>\n                        <div t-attf-class=\"bg-transparent badge {{ badge }} me-0\" t-att-title=\"title\">\n                            <field name=\"remaining_hours\" widget=\"timesheet_uom\"/>\n                        </div>\n                   </t>\n                </xpath>\n             </data>"}