Permalink
Browse files

🚑 can't use child_of operator with many2many fields

  • Loading branch information...
trojikman committed Oct 24, 2018
1 parent 10b2c95 commit 08908fde2aab6d1929dbf7dc7c2c41dbcdd59502
Showing with 24 additions and 2 deletions.
  1. +1 −1 product_tags/__openerp__.py
  2. +8 −0 product_tags/doc/changelog.rst
  3. +14 −0 product_tags/doc/index.rst
  4. +1 −1 product_tags/product_view.xml
@@ -22,7 +22,7 @@
{
"name": "Product Tags",
"version": "1.0",
"version": "10.0.1.0.1",
"author": "Julius Network Solutions",
"website": "http://julius.fr",
"category": "Sales Management",
@@ -0,0 +1,8 @@
`1.0.1`
- **Fix:** issue with search for non-existent tags
`1.0.0`
-------
- **Init version**
@@ -0,0 +1,14 @@
==============
Product Tags
==============
Installation
============
* `Install <https://odoo-development.readthedocs.io/en/latest/odoo/usage/install-module.html>`__ this module in a usual way
Usage
=====
This module allows you to add tags in products like it's done for the partners.
@@ -70,7 +70,7 @@
<field name="inherit_id" ref="product.product_template_search_view"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="tag_ids" string="Tags" filter_domain="['|',('tag_ids','ilike',self),('tag_ids','child_of',self)]"/>
<field name="tag_ids" string="Tags" filter_domain="['|',('tag_ids','ilike',self),('tag_ids.parent_id','ilike',self)]"/>
</field>
</field>
</record>

0 comments on commit 08908fd

Please sign in to comment.