mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[16.0][FIX] rma, change filter of moves to allow select pickings with children of partner selected
This commit is contained in:
committed by
Aaron ForgeFlow
parent
2af11be8b7
commit
44a36694df
@@ -217,7 +217,7 @@
|
||||
<field
|
||||
name="reference_move_id"
|
||||
options="{'no_create': True}"
|
||||
domain="[('picking_id.partner_id', '=', partner_id),
|
||||
domain="[('picking_id.partner_id', 'child_of', partner_id),
|
||||
('location_dest_id.usage', '=', 'customer'),
|
||||
('state', '=', 'done')]"
|
||||
/>
|
||||
@@ -367,7 +367,7 @@
|
||||
<field name="reference_move_id" position="attributes">
|
||||
<attribute
|
||||
name="domain"
|
||||
>[('picking_id.partner_id', '=', partner_id),
|
||||
>[('picking_id.partner_id', 'child_of', partner_id),
|
||||
('location_id.usage', '=', 'supplier'),
|
||||
('state', '=', 'done')]</attribute>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user