Skip to content

Commit

Permalink
Merge PR OCA#775 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by EmilioPascual
  • Loading branch information
OCA-git-bot committed Mar 14, 2024
2 parents 1b17893 + 8d46ec2 commit e319ab1
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions delivery_driver_stock_picking_batch/views/stock_picking_batch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
<field name="inherit_id" ref="stock_picking_batch.view_picking_tree_batch" />
<field name="arch" type="xml">
<xpath expr="//field[@name='scheduled_date']" position="after">
<field name="driver_id" optional="hide" />
<field
name="driver_id"
optional="hide"
context="{'show_driver': True}"
options='{"always_reload": True}'
/>
</xpath>
</field>
</record>
Expand All @@ -18,7 +23,12 @@
<field name="inherit_id" ref="stock_picking_batch.stock_picking_batch_form" />
<field name="arch" type="xml">
<xpath expr="//field[@name='scheduled_date']" position="after">
<field name="driver_ids" widget="many2many_tags" />
<field
name="driver_ids"
widget="many2many_tags"
context="{'show_driver': True}"
options='{"always_reload": True}'
/>
</xpath>
</field>
</record>
Expand All @@ -28,7 +38,13 @@
<field name="inherit_id" ref="stock_picking_batch.stock_picking_batch_tree" />
<field name="arch" type="xml">
<xpath expr="//field[@name='scheduled_date']" position="after">
<field name="driver_ids" widget="many2many_tags" optional="hide" />
<field
name="driver_ids"
widget="many2many_tags"
optional="hide"
context="{'show_driver': True}"
options='{"always_reload": True}'
/>
</xpath>
</field>
</record>
Expand Down

0 comments on commit e319ab1

Please sign in to comment.