<?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-crm-config-form" title="App Crm" model="com.axelor.apps.base.db.AppCrm" canDelete="false" canNew="false" width="large">
		<panel name="mainPanel">
			<field name="assignableUsers"/>
			<field name="groupsAssignable" showIf="assignableUsers == 1" widget="TagSelect" requiredIf="assignableUsers == 1"/>
			<field name="displayCustomerDescriptionInOpportunity" widget="boolean-switch"/>
		</panel>
		<panel name="actionPanel">
  			<button name="generateCRMConfigurationsBtn" title="Generate CRM configurations" colSpan="4" onClick="save,com.axelor.apps.crm.web.AppCrmController:generateCrmConfigurations"/>
    		<panel-dashlet name="confCrmConfigPanel" colSpan="12" action="admin.root.conf.crm.config"/>
  		</panel>
  		<panel-mail name="mailPanel">
			<mail-messages limit="4"/>
			<mail-followers/>
		</panel-mail>
	</form>
	
	<action-view name="admin.root.conf.crm.config" title="CRM configurations"
		model="com.axelor.apps.crm.db.CrmConfig" >
		<view type="grid" name="crm-config-grid" />
		<view type="form" name="crm-config-form"/>
	</action-view>
	
	
</object-views>
