Specifically, I try to understand how 'Configure Variant' in product template view works. In the header it got:
< button string="Configure Variants" type="action"
name="%(product_attribute_value_action)d"
attrs="{'invisible': ['|', ('attribute_line_ids', 'groups="product.group_product_variant" />
How does Odoo recognize product_attribute_value_action to deliver correct ir.act_window action? I try to find product_attribute_value_action declaration anywhere but cant find it.
Edit: I just found out how to insert tag into the post. The button tag gets deleted everytime I post.