diff --git a/base_m2m_custom_field/static/description/icon.png b/base_m2m_custom_field/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/base_m2m_custom_field/static/description/icon.png differ diff --git a/base_m2m_custom_field/static/description/index.html b/base_m2m_custom_field/static/description/index.html index 5e37801b9..68eec0fad 100644 --- a/base_m2m_custom_field/static/description/index.html +++ b/base_m2m_custom_field/static/description/index.html @@ -397,7 +397,7 @@ is needed, for example to be editable in a dedicated tree view.
'my_model_a_b_rel', 'my_model_a_id', 'my_model_b_id', - create_table=False, + create_table=False, ) @@ -410,7 +410,7 @@ is needed, for example to be editable in a dedicated tree view. 'my_model_a_b_rel', 'my_model_b_id', 'my_model_a_id', - create_table=False, + create_table=False, ) @@ -420,13 +420,13 @@ is needed, for example to be editable in a dedicated tree view. my_model_a_id = fields.Many2one( 'my.model.a', - required=True, - index=True, # Index is mandatory here + required=True, + index=True, # Index is mandatory here ) my_model_b_id = fields.Many2one( 'my.model.b', - required=True, - index=True, # Index is mandatory here + required=True, + index=True, # Index is mandatory here )By setting create_table=False on the Many2manyCustom field, and using the