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
|
<field
|
||||||
name="reference_move_id"
|
name="reference_move_id"
|
||||||
options="{'no_create': True}"
|
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'),
|
('location_dest_id.usage', '=', 'customer'),
|
||||||
('state', '=', 'done')]"
|
('state', '=', 'done')]"
|
||||||
/>
|
/>
|
||||||
@@ -367,7 +367,7 @@
|
|||||||
<field name="reference_move_id" position="attributes">
|
<field name="reference_move_id" position="attributes">
|
||||||
<attribute
|
<attribute
|
||||||
name="domain"
|
name="domain"
|
||||||
>[('picking_id.partner_id', '=', partner_id),
|
>[('picking_id.partner_id', 'child_of', partner_id),
|
||||||
('location_id.usage', '=', 'supplier'),
|
('location_id.usage', '=', 'supplier'),
|
||||||
('state', '=', 'done')]</attribute>
|
('state', '=', 'done')]</attribute>
|
||||||
</field>
|
</field>
|
||||||
|
|||||||
Reference in New Issue
Block a user