[FIX] sale_purchase: disable PO stat button on SO

Creating a service and stockable that create a PO on SO confirmation
(with different suppliers) will indeed work, but the status button
will only display 1 PO. The problem is that stock is not linking
the SO line with the PO line.
Thus, we prefer desactivated the button displaying the wrong value, as
it brings confusion to the user.
A proper bugfix should be done in master, to correctly link SO line with
PO line making the PO count correct.

opw-1905189

closes odoo/odoo#28410
This commit is contained in:
jem-odoo
2018-11-05 12:58:29 +00:00
parent 00626905af
commit 2aa87253d1
@@ -17,6 +17,7 @@
</button>
</xpath>
</field>
<field name="active" eval="False"/>
</record>
</odoo>