feat: add datatype

This commit is contained in:
Suherdy Yacob 2026-02-12 15:02:29 +07:00
parent 18faa8a78f
commit 2100c197b9

View File

@ -6,7 +6,7 @@
</xpath> </xpath>
<!-- This second xpath seems to be for the editor drag-drop preview or specific state --> <!-- This second xpath seems to be for the editor drag-drop preview or specific state -->
<xpath expr="//div[@t-if=&quot;type == 'selection'&quot;]" position="after"> <xpath expr="//div[@t-if=&quot;type == 'selection'&quot;]" position="after">
<div t-if="type == 'sequence'" t-att-title="role" t-attf-class="{{classes}} o_sign_sign_item" t-att-style="style" t-att-data-value="value" style="text-align:center; display:flex; align-items:center; justify-content:center;"> <div t-if="type == 'sequence'" t-att-title="role" t-attf-class="{{classes}} o_sign_sign_item" t-att-style="style" t-att-data-value="value" t-att-data-type="'sequence'" style="text-align:center; display:flex; align-items:center; justify-content:center;">
<t t-if="value"> <t t-if="value">
<span t-esc="value" style="font-family:monospace;"/> <span t-esc="value" style="font-family:monospace;"/>
</t> </t>
@ -21,7 +21,7 @@
</t> </t>
<t t-name="sign.sequenceSignItem"> <t t-name="sign.sequenceSignItem">
<div t-att-title="role" t-attf-class="{{classes}} o_sign_sign_item" t-att-data-id="id" t-att-style="style" style="text-align:center; display:flex; align-items:center; justify-content:center;"> <div t-att-title="role" t-attf-class="{{classes}} o_sign_sign_item" t-att-data-id="id" t-att-style="style" t-att-data-type="'sequence'" style="text-align:center; display:flex; align-items:center; justify-content:center;">
<div class="sign_item_body"> <div class="sign_item_body">
<t t-if="value"> <t t-if="value">
<span t-esc="value" style="font-family:monospace;"/> <span t-esc="value" style="font-family:monospace;"/>