I'm trying to change Create Button for Product Attribute.
Its button is to add column at the top and fill it out to submit form.
But I want it to be like create button for sales order which popup form view to make product.attribute model in workflow.
Please let me know
All I've done is
<record id="eric_product_attribute" model="ir.actions.act_window">
<field name="name">Product Attributes</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">product.attribute</field>
<field name="view_mode">tree,form</field>
<field name="view_type">form</field>
<field name="view_id" ref="product.attribute_tree_view"/>
<field name="help" type="html">
<p class="oe_view_nocontent_create">
Click to define a new product Attribute.
</p>
</field>
</record>
<!-- add menu-->
<menuitem action="eric_product_attribute"
id="menu_product_attribute" name="Product Attributes"
parent="base.menu_sale_config" sequence="16" />
But when I click create button in tree view, It makes me to fill out on the column at the top.
Thanks