I have the following code to alter a view in sync module for point_of_sale in odoo 11 for hiding a button and I don't know wich is the correct "inherit_id" to use.
<template id="sessions_restaurant_hide_cancel_button" inherit_id="point_of_sale.SelectionPopupWidget">
<xpath expr="//div[hasclass('button cancel')]/b" position="attributes">
<attribute name="attrs">{'invisible':True}</attribute>
</xpath>
</template>
Can someone tell me how to find this id for altering views?