[FIX] purchase: hide PO when not necessary
[FIX] purchase: hide PO when not necessary

Partial backport of 1d515fcdac8135b518413e00

Closes #20274
opw-1829893

ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo