[IMP] purchase: set the action menu 'Share' only for form view
[IMP] purchase: set the action menu 'Share' only for form view

For the model 'purchase.order', set the action menu 'Share' only for
the form view.

Linked to task 1984526
Related to PR #33720
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo