[IMP][REF]GOLEM Resource : make resource product per default
This commit is contained in:
parent
7e845ae932
commit
3ce2f43b35
@ -135,9 +135,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
<menuitem id="resource_configuration_menu" name="Configuration"
|
<menuitem id="resource_configuration_menu" name="Configuration"
|
||||||
parent="golem_resource_menu" groups="golem_base.group_golem_manager"
|
parent="golem_resource_menu" groups="golem_base.group_golem_manager"
|
||||||
sequence="90" />
|
sequence="90" />
|
||||||
<menuitem id="product_template_menu" name="Sellable Products"
|
|
||||||
parent="resource_configuration_menu"
|
|
||||||
action="product.product_template_action" sequence="20" />
|
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
@ -18,7 +18,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
-->
|
-->
|
||||||
<odoo>
|
<odoo>
|
||||||
<data>
|
<data>
|
||||||
<!-- search -->
|
|
||||||
|
<!-- Search -->
|
||||||
<record id="product_template_search_inherit_resource_view" model="ir.ui.view">
|
<record id="product_template_search_inherit_resource_view" model="ir.ui.view">
|
||||||
<field name="name">product.template.inherit.resource.search</field>
|
<field name="name">product.template.inherit.resource.search</field>
|
||||||
<field name="model">product.template</field>
|
<field name="model">product.template</field>
|
||||||
@ -29,5 +30,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
</filter>
|
</filter>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<!-- Actions -->
|
||||||
|
<act_window id="golem_resource_product_action" name="Products"
|
||||||
|
res_model="product.template" view_mode="kanban,tree,form"
|
||||||
|
context="{'search_default_filter_resource_linked': 1}" />
|
||||||
|
|
||||||
|
<!-- Menus -->
|
||||||
|
<menuitem id="product_template_menu" name="Resource Products"
|
||||||
|
parent="resource_configuration_menu"
|
||||||
|
action="golem_resource_product_action" sequence="20" />
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
Loading…
Reference in New Issue
Block a user