mirror of
https://github.com/NaN-tic/trytond-product_variant-old.git
synced 2023-12-14 06:43:02 +01:00
Move Action keyword variants to product search code module
This commit is contained in:
parent
83c327eec6
commit
e8fd39af0e
4 changed files with 2 additions and 21 deletions
|
@ -170,10 +170,6 @@ msgctxt "model:ir.action,name:act_product_attribute_form"
|
|||
msgid "Product Attributes"
|
||||
msgstr "Atributs del producte"
|
||||
|
||||
msgctxt "model:ir.action,name:act_relate_form"
|
||||
msgid "Product Variants"
|
||||
msgstr "Variants producte"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_product_attribute"
|
||||
msgid "Product Attributes"
|
||||
msgstr "Atributs del producte"
|
||||
|
|
|
@ -170,10 +170,6 @@ msgctxt "model:ir.action,name:act_product_attribute_form"
|
|||
msgid "Product Attributes"
|
||||
msgstr "Atributos producto"
|
||||
|
||||
msgctxt "model:ir.action,name:act_relate_form"
|
||||
msgid "Product Variants"
|
||||
msgstr "Variantes producto"
|
||||
|
||||
msgctxt "model:ir.ui.menu,name:menu_product_attribute"
|
||||
msgid "Product Attributes"
|
||||
msgstr "Atributos producto"
|
||||
|
|
11
product.xml
11
product.xml
|
@ -10,17 +10,6 @@ The COPYRIGHT file at the top level of this repository contains the full copyrig
|
|||
<field name="name">template_form</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.act_window" id="act_relate_form">
|
||||
<field name="name">Product Variants</field>
|
||||
<field name="res_model">product.product</field>
|
||||
<field name="domain">[('template', '=', Eval('active_id'))]</field>
|
||||
</record>
|
||||
<record model="ir.action.keyword" id="act_open_products">
|
||||
<field name="keyword">form_relate</field>
|
||||
<field name="model">product.template,-1</field>
|
||||
<field name="action" ref="act_relate_form" />
|
||||
</record>
|
||||
|
||||
<!-- product.attribute -->
|
||||
<record model="ir.ui.view" id="product_attribute_view_form">
|
||||
<field name="model">product.attribute</field>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
[tryton]
|
||||
version=3.2.0
|
||||
depends:
|
||||
ir
|
||||
res
|
||||
product
|
||||
product_configuration
|
||||
extras_depend:
|
||||
product_search_code
|
||||
xml:
|
||||
configuration.xml
|
||||
product.xml
|
||||
|
|
Loading…
Reference in a new issue