Skip to content

Commit f6be425

Browse files
committed
[FIX] hr: new contract button invisible
1 parent eec78f5 commit f6be425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/hr/static/src/components/button_new_contract/button_new_contract.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<t t-name="hr.ButtonNewContract">
44
<span class="w-100 d-flex justify-content-end">
55
<button class="btn btn-link p-0 o_field_widget text-end w-auto" t-on-click="onClickNewContractBtn"
6-
t-ref="datetime-picker-target-new-contract" t-if="props.record.resId and props.record.data.contract_date_start">New Contract</button>
6+
t-ref="datetime-picker-target-new-contract" t-if="props.record.resId">New Contract</button>
77
</span>
88
</t>
99
</template>

0 commit comments

Comments
 (0)