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
AaronHForgeFlow
parent
117e46c442
commit
0844c39262
@@ -236,7 +236,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')]"
|
||||||
readonly="state not in ['draft']"
|
readonly="state not in ['draft']"
|
||||||
@@ -400,7 +400,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