Skip to content

Commit d3cfb0e

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 4c35741 commit d3cfb0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)