forked from Yaltik/golem
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">
|
<field name="arch" type="xml">
|
||||||
<form>
|
<form>
|
||||||
<group>
|
<group>
|
||||||
<group>
|
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
|
<field name="parent_id"/>
|
||||||
|
<field name="root_id"/>
|
||||||
<field name="area_street_ids">
|
<field name="area_street_ids">
|
||||||
<tree editable="bottom">
|
<tree editable="bottom">
|
||||||
<field name="name"/>
|
<field name="name"/>
|
||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<field name="parent_id"/>
|
|
||||||
<field name="sub_territorie_ids" widget="many2many_tags"/>
|
|
||||||
</group>
|
|
||||||
</group>
|
</group>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
@ -67,7 +63,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<filter name="sub_territories" string="Sub Territories"
|
<filter name="sub_territories" string="Sub Territories"
|
||||||
domain="[('parent_id', '!=', False)]"/>
|
domain="[('parent_id', '!=', False)]"/>
|
||||||
<filter name="parent_territories" string="Parent Territories"
|
<filter name="parent_territories" string="Parent Territories"
|
||||||
domain="[('sub_territorie_ids', '!=', False)]"/>
|
domain="[('parent_id', '=', False)]"/>
|
||||||
</search>
|
</search>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user