<?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="partner-address-grid" title="Address list" model="com.axelor.apps.base.db.PartnerAddress" editable="true">
		<field name="address" canNew="true" />
		<field name="isInvoicingAddr" />
		<field name="isDeliveryAddr" />
		<field name="isDefaultAddr" />
	</grid>
	
	<form name="partner-address-form" title="Address" model="com.axelor.apps.base.db.PartnerAddress">
		<panel name="mainPanel" >
			<field name="address" canNew="true" />
			<field name="isInvoicingAddr" widget="toggle" x-icon="fa-exclamation-circle" />
			<field name="isDeliveryAddr" widget="toggle" x-icon="fa-ban" />
			<field name="isDefaultAddr" widget="toggle" x-icon="fa-star-o" x-icon-active="fa-star" />							
		</panel>
	</form>
		
</object-views>