N°3495 WorkOrder: on closure set end_date only if empty

This commit is contained in:
vdumas
2021-02-12 11:05:39 +01:00
parent c8dd19c22f
commit a8c834b1e9
3 changed files with 41 additions and 1 deletions

View File

@@ -253,6 +253,22 @@
</argument>
</arguments>
</method>
<method id="SetCurrentDateIfNull">
<arguments>
<argument id="1">
<type>attcode</type>
<mandatory>true</mandatory>
<type_restrictions>
<operation>allow</operation>
<types>
<type id="AttributeDate"/>
<type id="AttributeDateTime"/>
<type id="AttributeString"/>
</types>
</type_restrictions>
</argument>
</arguments>
</method>
<method id="SetCurrentUser">
<arguments>
<argument id="1">