diff --git a/doc/topics/domain.rst b/doc/topics/domain.rst index fdc15976c0..e940b78db8 100644 --- a/doc/topics/domain.rst +++ b/doc/topics/domain.rst @@ -209,12 +209,12 @@ pattern, unless otherwise noted:: ``child_of`` ------------ - Is a parent child comparison operator. In case ```` is a - :class:`~trytond.model.fields.one2many` returns true, if - ```` is a child of ````. ```` - and ```` are represented each by an ``id``. - In case ```` is a :class:`~trytond.model.fields.many2many` - not linked to itself, the clause pattern extends to:: + Is a parent child comparison operator. Returns true for records that are + a child of ````. ```` is a list of ``ids`` and ```` must be a :class:`~trytond.model.fields.many2one` or a + :class:`~trytond.model.fields.many2many`. + In case ```` is not linked to itself, the clause pattern + extends to:: (, ['child_of'|'not_child_of'], , ) @@ -236,7 +236,7 @@ pattern, unless otherwise noted:: ``not parent_of`` ----------------- - Is a parent child comparison operator. it is the negation of this + Is a parent child comparison operator. It is the negation of this `parent_of`_ operator. ``where``