<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<object-views xmlns="http://axelor.com/xml/ns/object-views" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://axelor.com/xml/ns/object-views http://axelor.com/xml/ns/object-views/object-views_5.2.xsd">

	<grid name="quality-pictures-grid" title="Pictures" model="com.axelor.apps.quality.db.QualityPictures">
		<field name="name"/>
		<field name="metaFile"/>
		<field name="createDate"/>
	</grid>

	<form name="quality-pictures-form" title="Pictures" model="com.axelor.apps.quality.db.QualityPictures" onNew="action-quality-picture-record-on-new">
		<panel name="mainPanel">
			<panel name="imagePanel" colSpan="6">
				<field name="metaFile" widget="Image" colSpan="12"/>
			</panel>
			<panel name="detailsPanel" colSpan="6">
				<field name="name" colSpan="12"/>
				<field name="createDate" colSpan="6"/>
			</panel>
		</panel>
	</form>

	<action-record name="action-quality-picture-record-on-new" model="com.axelor.apps.quality.db.QualityPictures">
		<field name="createDate" expr="eval: __date__"/>
	</action-record>

</object-views>
