[FIX] purchase_stock: remove show vendor button

The show vendor button creates an orderpoint.
This commit removes it as it should not create one.
The wizard will be adapted in a future master pr.

task-3527727

Part-of: odoo/odoo#145384
This commit is contained in:
Martin Maes
2023-12-08 08:35:21 +00:00
parent ae7e503947
commit fe9c1249d0
@@ -10,11 +10,6 @@
<div class="o_row">
<field name="show_vendor" invisible="1"/>
<field name="supplier_id" invisible="not show_vendor" required="show_vendor" domain="[('product_tmpl_id', '=', product_tmpl_id)]" options="{'no_open': 1, 'no_create': 1}"/>
<button name="action_stock_replenishment_info"
type="object"
title="Show Vendor"
icon="fa-info-circle"
invisible="not show_vendor"/>
</div>
</xpath>
</field>