small refactoring
This commit is contained in:
parent
ace87392db
commit
1bcb4ff5bb
@ -39,18 +39,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<group>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="root_id"/>
|
||||
<field name="area_street_ids">
|
||||
<tree editable="bottom">
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
</field>
|
||||
</group>
|
||||
<group>
|
||||
<field name="parent_id"/>
|
||||
<field name="sub_territorie_ids" widget="many2many_tags"/>
|
||||
</group>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
@ -67,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<filter name="sub_territories" string="Sub Territories"
|
||||
domain="[('parent_id', '!=', False)]"/>
|
||||
<filter name="parent_territories" string="Parent Territories"
|
||||
domain="[('sub_territorie_ids', '!=', False)]"/>
|
||||
domain="[('parent_id', '=', False)]"/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
Loading…
x
Reference in New Issue
Block a user