We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eec78f5 commit f6be425Copy full SHA for f6be425
addons/hr/static/src/components/button_new_contract/button_new_contract.xml
@@ -3,7 +3,7 @@
3
<t t-name="hr.ButtonNewContract">
4
<span class="w-100 d-flex justify-content-end">
5
<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>
+ t-ref="datetime-picker-target-new-contract" t-if="props.record.resId">New Contract</button>
7
</span>
8
</t>
9
</template>
0 commit comments