add boolean field 'needCheckInVerification' to indicate stock locations requiring check-in validation

This commit is contained in:
Kheireddine Mehdi
2025-10-19 11:22:13 +01:00
parent 056d986fcd
commit 5264159e1b

View File

@ -21,6 +21,8 @@
<many-to-many name="stockLocationList" ref="com.axelor.apps.stock.db.StockLocation" title="Stock locations"/> <many-to-many name="stockLocationList" ref="com.axelor.apps.stock.db.StockLocation" title="Stock locations"/>
<many-to-one name="picture" ref="com.axelor.meta.db.MetaFile" title="Photo" index="false"/> <many-to-one name="picture" ref="com.axelor.meta.db.MetaFile" title="Photo" index="false"/>
<boolean name="needCheckInVerification" title="Check-in verification required" default="false" massUpdate="true"/>
<finder-method name="findByCompany" using="company"/> <finder-method name="findByCompany" using="company"/>
<finder-method name="findByPartner" using="partner"/> <finder-method name="findByPartner" using="partner"/>
@ -42,5 +44,10 @@
]]></extra-code> ]]></extra-code>
<track on="UPDATE">
<field name="needCheckInVerification" />
</track>
</entity> </entity>
</domain-models> </domain-models>