Skip to content

Commit 45e4f6c

Browse files
AaronHForgeFlowBorruso
authored andcommitted
[FIX] purchase_request_operating_unit: respect original domain in purchase_id
in wizard to create RFQ from purchase request line
1 parent ea26b89 commit 45e4f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

purchase_request_operating_unit/wizard/purchase_request_line_make_purchase_order_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<field name="purchase_order_id" position="attributes">
2929
<attribute
3030
name="domain"
31-
>['|', ('operating_unit_id', '=', False), ('operating_unit_id', '=', operating_unit_id)]</attribute>
31+
>['&amp;', ('partner_id', '=', supplier_id), '|', ('operating_unit_id', '=', False), ('operating_unit_id', '=', operating_unit_id)]</attribute>
3232
</field>
3333
</field>
3434
</record>

0 commit comments

Comments
 (0)