<?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">
	
	<form name="app-contract-config-form" title="App contract" model="com.axelor.apps.base.db.AppContract" width="large">
		<toolbar>
		    <button name="newBtn" title="New" hidden="true"/>
		    <button name="deleteBtn" title="Delete" hidden="true"/>
		    <button name="backBtn" title="Back" hidden="true"/>
		    <button name="copyBtn" title="Copy" hidden="true"/>
		    <button name="searchBtn" title="Search" hidden="true"/>
		</toolbar>
		<panel name="mainPanel">
			<panel name="generalPanel" title="General" colSpan="12">
				<field name="isUnchangableContract" colSpan="4" widget="boolean-switch"/>
				<field name="isAmendmentManagement" colSpan="4" widget="boolean-switch"/>
			</panel>
            <panel name="advancedPanel" title="Advanced" colSpan="12">
				<field name="isConfigContract" colSpan="4" widget="boolean-switch"/>
				<field name="isRenewalManagement" colSpan="4" widget="boolean-switch" hidden="true" showIf="isConfigContract"/>
			</panel>
            <panel name="invoicingPanel" title="Invoicing" colSpan="12" hidden="true" showIf="isConfigContract">
				<field name="isInvoicingManagement" colSpan="4" widget="boolean-switch"/>
				<field name="isConsumptionManagement" colSpan="4" widget="boolean-switch" hidden="true" showIf="isInvoicingManagement"/>
				<field name="isAdditionalBenefitManagement" colSpan="4" widget="boolean-switch" hidden="true" showIf="isInvoicingManagement"/>
			</panel>
		</panel>
		
		<panel-mail name="mailPanel">
			<mail-messages limit="4"/>
			<mail-followers/>
		</panel-mail>
	</form>
	
	
</object-views>