Skip to Content
Menú
This question has been flagged
1 Respondre
3543 Vistes

Has anyone successfully integrated this module in v7? I have it installed but it does not seem to add any kind of functional benefit. It will add a new tab to my products "Extra Categories." This tab will allow me to edit the form and add more categories to a product.

However, this does actually do anything.

When I sort by categories, the product only appears in the official OpenERP category. Example:

Product X has official category Widget Product X has extra category Gadget

When sorting by categories, Product X only appears under Widgets. It does not appear under Gadgets. This seems like an essential feature to successfully implement any kind of sales portal (like Magento) with OpenERP. Without filters and categories, a store will be a mess. I've looked at a few stores showcased on different Partner websites and they are all limited by this lack of feature.

Avatar
Descartar
Best Answer

Hi,

This field is not added in search view and that is why you cannot filter out the Product with those extra categories. If you want to do it, you can add the following code in product_view.xml file of productm2m_categories module:

<record id="product_search_form_view_m2m_categ" model="ir.ui.view">
    <field name="name">product.search.categ.form</field>
    <field name="model">product.product</field>
    <field name="inherit_id" ref="product.product_search_form_view"/>
    <field name="arch" type="xml">
        <field name="categ_id" position="after">
            <field name="categ_ids"/>
        </field>
    <xpath expr="//filter[@string='Category']" position="after">
           <filter string='Categories' icon="terp-stock_symbol-selection" domain="[]" context="{'group_by' : 'categ_ids'}"/>
        </xpath>
    </field>
</record>
Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de març 15
3814
1
de març 15
4441
2
de maig 24
1318
1
de març 15
5088
1
de març 15
4865