[FIX] stock_delivery_route: fix delivery planner views

H7527
This commit is contained in:
Juan Pablo Ticse
2023-07-11 23:17:34 +00:00
parent 79ca063f7e
commit 9867afcc0b
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
<xpath expr="//group[@name='container_row_2']" position="after">
<group name="container_row_delivery_routes">
<group string="Delivery Routes" name="delivery_routes">
<field name="delivery_route_ids" widget="many2many_tags" nolabel="1" options="{'no_create': True}"/>
<field name="delivery_route_ids" widget="many2many_tags" colspan="2" nolabel="1" options="{'no_create': True}"/>
</group>
</group>
</xpath>

View File

@@ -7,10 +7,10 @@
<field name="inherit_id" ref="stock.view_warehouse" />
<field name="arch" type="xml">
<xpath expr="//page[1]" position="after">
<page string="Delivery Routes" colspan="4">
<group colspan="4">
<page string="Delivery Routes">
<group>
<field name="id" invisible="1"/>
<field name="delivery_route_ids" context="{'default_warehouse_id': id}" nolabel="1">
<field name="delivery_route_ids" context="{'default_warehouse_id': id}" colspan="2" nolabel="1">
<tree>
<field name="name"/>
</tree>