New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:ambulance: can't use child_of operator with many2many fields #670

Merged
merged 3 commits into from Oct 26, 2018

Conversation

Projects
None yet
3 participants
@trojikman
Member

trojikman commented Oct 24, 2018

No description provided.

Usage
=====
This module allows you to add tags in products like it's done for the partners.

This comment has been minimized.

@yelizariev

yelizariev Oct 24, 2018

Member

It's more for README than for Usage

@@ -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)]"/>

This comment has been minimized.

@yelizariev

yelizariev Oct 24, 2018

Member

I guess this doesn't work to search for parent of parent

trojikman added some commits Oct 25, 2018

@ufaks

ufaks approved these changes Oct 25, 2018

@yelizariev yelizariev merged commit cdd1bf6 into it-projects-llc:10.0 Oct 26, 2018

6 checks passed

Hound No violations found. Woof!
ci/branches Branch names are correct
Details
ci/runbot runbot build 22718-670-2cee65 (runtime 1435s)
Details
codecov/patch/backend Coverage not affected when comparing 4b60a2e...2cee65b
Details
codecov/patch/tests Coverage not affected when comparing 4b60a2e...2cee65b
Details
coverage/coveralls Coverage remained the same at 66.936%
Details

@trojikman trojikman deleted the trojikman:10.0-fix-filter-domain branch Oct 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment