Set the appropriate label in the portal depending on the PO state. opw-1915230 closes odoo/odoo#29477