<?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="territory-grid" title="Territories" model="com.axelor.apps.base.db.Territory">
        <field name="name"/>
        <field name="city" form-view="city-form" grid-view="city-grid"/>
    </grid>
    
    <form name="territory-form" title="Territory" model="com.axelor.apps.base.db.Territory">
    	<panel name="mainPanel">
	        <field name="name"/>
	        <field name="country" form-view="country-form" grid-view="country-grid"/>
	        <field name="city" form-view="city-form" grid-view="city-grid"/>
	        <field name="authorityPartner" grid-view="partner-grid" form-view="partner-form" domain="self.authorityOk = True"/>
        </panel>
    </form>
    
</object-views>