あなたはこのドキュメントフォームodooを使用することができます。Odoo documentation
One2manyフィールド。そのようなフィールドの値はcomodel_nameのすべてのレコードのレコードセットで、フィールドinverse_nameは現在のレコードと等しくなります。
field.One2many(comodel_name="model_name", inverse_name="inverse_field_name", string=None, domain=[('filed_name_in_comodel', 'operators', 'Value')])
:あなたはこのようにドメインを使用する必要がある場合は、TOA
comodel_name -- name of the target model (string)
inverse_name -- name of the inverse Many2one field in comodel_name (string)
domain -- an optional domain to set on candidate values on the client side (domain or string)
context -- an optional context to use on the client side when handling that field (dictionary)
auto_join -- whether JOINs are generated upon search through that field (boolean, by default False)
limit -- optional limit to use upon read (integer)
: あなたは、これらのパラメータを使用することができます